Searched refs:throws (Results 1 – 13 of 13) sorted by relevance
351 val throws = when { in <lambda>() constant356 if (throws.any()) { in <lambda>()358 throws.asSequence().sortedWith(ClassItem.fullNameComparator).forEachIndexed { i, type -> in <lambda>()
354 val throws = when { in <lambda>() constant359 if (throws.any()) { in <lambda>()360 throws.asSequence().sortedWith(ClassItem.fullNameComparator).forEach { type -> in <lambda>()
635 val throws = if (preFiltered) { in generateThrowsList() constant640 if (throws.any()) { in generateThrowsList()642 throws.asSequence().sortedWith(ClassItem.fullNameComparator).forEachIndexed { i, type -> in generateThrowsList()
495 if (!new.throws(exception.qualifiedName())) { in compare()508 if (!old.throws(exec.qualifiedName())) { in compare()
2535 for (throws in method.filteredThrowsTypes(filterReference)) { in <lambda>() method2536 when (throws.qualifiedName()) { in <lambda>()
197 Similarly, v1 used erasure in throws clauses. For example, for this method:201 public <X extends Throwable> T orElseThrow(Supplier<? extends X> exceptionSupplier) throws X208 ….lang.Throwable> T orElseThrow(java.util.function.Supplier<? extends X>) throws java.lang.Throwabl…211 Note how that's "throws Throwable" instead of "throws X". This results in b/110302703.213 In the v2 format we instead use the correct throws type:216 …c <X extends java.lang.Throwable> T orElseThrow(java.util.function.Supplier<? extends X>) throws X;
317 val throws = method.throwsTypes().asSequence().sortedWith(ClassItem.fullNameComparator) in <lambda>() constant318 if (throws.any()) { in <lambda>()320 throws.asSequence().sortedWith(ClassItem.fullNameComparator).forEachIndexed { i, type -> in <lambda>()
406 fun `Test throws`() { in Test throws()524 fun `Sort throws list by full name`() { in Sort throws list by full name()
584 fun `Check erasure in throws list`() { in <lambda>()892 fun `Check throws list`() { in <lambda>()2087 fun `Rewriting type parameters in interfaces from hidden super classes and in throws lists`() { in <lambda>()
1816 fun `Check erasure in throws-list`() { in Check erasure in throws-list()2329 fun `Override via different throws list should be included`() { in Override via different throws list should be included()
1301 fun `Incompatible method change -- throws list`() { in Incompatible method change -- throws list()
88 fun throws(qualifiedName: String): Boolean { in <lambda>() method
301 // throws an exception whenever an attempt is made to assign a non-UTF-8