Home
last modified time | relevance | path

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

/tools/metalava/src/main/java/com/android/tools/metalava/
DSignatureWriter.kt351 val throws = when { in <lambda>() constant
356 if (throws.any()) { in <lambda>()
358 throws.asSequence().sortedWith(ClassItem.fullNameComparator).forEachIndexed { i, type -> in <lambda>()
DJDiffXmlWriter.kt354 val throws = when { in <lambda>() constant
359 if (throws.any()) { in <lambda>()
360 throws.asSequence().sortedWith(ClassItem.fullNameComparator).forEach { type -> in <lambda>()
DStubWriter.kt635 val throws = if (preFiltered) { in generateThrowsList() constant
640 if (throws.any()) { in generateThrowsList()
642 throws.asSequence().sortedWith(ClassItem.fullNameComparator).forEachIndexed { i, type -> in generateThrowsList()
DCompatibilityCheck.kt495 if (!new.throws(exception.qualifiedName())) { in compare()
508 if (!old.throws(exec.qualifiedName())) { in compare()
DApiLint.kt2535 for (throws in method.filteredThrowsTypes(filterReference)) { in <lambda>() method
2536 when (throws.qualifiedName()) { in <lambda>()
/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/model/psi/
DPsiMethodItem.kt317 val throws = method.throwsTypes().asSequence().sortedWith(ClassItem.fullNameComparator) in <lambda>() constant
318 if (throws.any()) { in <lambda>()
320 throws.asSequence().sortedWith(ClassItem.fullNameComparator).forEachIndexed { i, type -> in <lambda>()
/tools/metalava/src/test/java/com/android/tools/metalava/
DApiFromTextTest.kt406 fun `Test throws`() { in Test throws()
524 fun `Sort throws list by full name`() { in Sort throws list by full name()
DStubsTest.kt584 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>()
DApiFileTest.kt1816 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()
DCompatibilityCheckTest.kt1301 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