Home
last modified time | relevance | path

Searched refs:throws (Results 1 – 14 of 14) sorted by relevance

/tools/metalava/
DFORMAT.md197 Similarly, v1 used erasure in throws clauses. For example, for this method:
201 public <X extends Throwable> T orElseThrow(Supplier<? extends X> exceptionSupplier) throws X
208 ….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;
/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DKotlinStubWriter.kt285 val throws = if (preFiltered) { in <lambda>() constant
290 if (throws.any()) { in <lambda>()
292 throws.asSequence().sortedWith(ClassItem.fullNameComparator).forEachIndexed { i, type -> in <lambda>()
DJavaStubWriter.kt455 val throws = if (preFiltered) { in <lambda>() constant
460 if (throws.any()) { in <lambda>()
462 throws.asSequence().sortedWith(ClassItem.fullNameComparator).forEachIndexed { i, type -> in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/
DSignatureWriter.kt346 val throws = when { in <lambda>() constant
351 if (throws.any()) { in <lambda>()
353 throws.asSequence().sortedWith(ClassItem.fullNameComparator).forEachIndexed { i, type -> in <lambda>()
DJDiffXmlWriter.kt360 val throws = when { in <lambda>() constant
365 if (throws.any()) { in <lambda>()
366 throws.asSequence().sortedWith(ClassItem.fullNameComparator).forEach { type -> in <lambda>()
DCompatibilityCheck.kt508 if (!new.throws(exception.qualifiedName())) { in compare()
520 if (!old.throws(exec.qualifiedName())) { in compare()
DApiLint.kt2755 for (throws in method.filteredThrowsTypes(filterReference)) { in <lambda>() method
2756 when (throws.qualifiedName()) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiMethodItem.kt323 val throws = method.throwsTypes().asSequence().sortedWith(ClassItem.fullNameComparator) in <lambda>() constant
324 if (throws.any()) { in <lambda>()
326 throws.asSequence().sortedWith(ClassItem.fullNameComparator).forEachIndexed { i, type -> in <lambda>()
/tools/metalava/src/test/java/com/android/tools/metalava/stub/
DStubsTest.kt594 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>()
/tools/metalava/src/test/java/com/android/tools/metalava/
DApiFromTextTest.kt427 fun `Test throws`() { in Test throws()
545 fun `Sort throws list by full name`() { in Sort throws list by full name()
DApiFileTest.kt2142 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()
DCompatibilityCheckTest.kt1300 fun `Incompatible method change -- throws list`() { in Incompatible method change -- throws list()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DMethodItem.kt88 fun throws(qualifiedName: String): Boolean { in <lambda>() method
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/google/protobuf/
Ddescriptor.proto301 // throws an exception whenever an attempt is made to assign a non-UTF-8