Searched refs:throws (Results 1 – 14 of 14) sorted by relevance
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;
285 val throws = if (preFiltered) { in <lambda>() constant290 if (throws.any()) { in <lambda>()292 throws.asSequence().sortedWith(ClassItem.fullNameComparator).forEachIndexed { i, type -> in <lambda>()
455 val throws = if (preFiltered) { in <lambda>() constant460 if (throws.any()) { in <lambda>()462 throws.asSequence().sortedWith(ClassItem.fullNameComparator).forEachIndexed { i, type -> in <lambda>()
346 val throws = when { in <lambda>() constant351 if (throws.any()) { in <lambda>()353 throws.asSequence().sortedWith(ClassItem.fullNameComparator).forEachIndexed { i, type -> in <lambda>()
360 val throws = when { in <lambda>() constant365 if (throws.any()) { in <lambda>()366 throws.asSequence().sortedWith(ClassItem.fullNameComparator).forEach { type -> in <lambda>()
508 if (!new.throws(exception.qualifiedName())) { in compare()520 if (!old.throws(exec.qualifiedName())) { in compare()
2755 for (throws in method.filteredThrowsTypes(filterReference)) { in <lambda>() method2756 when (throws.qualifiedName()) { in <lambda>()
323 val throws = method.throwsTypes().asSequence().sortedWith(ClassItem.fullNameComparator) in <lambda>() constant324 if (throws.any()) { in <lambda>()326 throws.asSequence().sortedWith(ClassItem.fullNameComparator).forEachIndexed { i, type -> in <lambda>()
594 fun `Check erasure in throws list`() { in <lambda>()902 fun `Check throws list`() { in <lambda>()2209 fun `Rewriting type parameters in interfaces from hidden super classes and in throws lists`() { in <lambda>()
427 fun `Test throws`() { in Test throws()545 fun `Sort throws list by full name`() { in Sort throws list by full name()
2142 fun `Check erasure in throws-list`() { in Check erasure in throws-list()2717 fun `Override via different throws list should be included`() { in Override via different throws list should be included()
1300 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