Home
last modified time | relevance | path

Searched refs:throwsTypes (Results 1 – 17 of 17) sorted by relevance

/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/methoditem/
DSourceMethodItemTest.kt81 assertEquals(methodItem.throwsTypes(), duplicateMethod.throwsTypes()) in test duplicate() for methoditem()
98 assertEquals(methodItem1.throwsTypes(), duplicateMethod1.throwsTypes()) in test duplicate() for methoditem()
146 assertEquals(methodItem.throwsTypes(), inheritedMethod.throwsTypes()) in test inherited methods()
164 assertEquals(methodItem1.throwsTypes(), inheritedMethod1.throwsTypes()) in test inherited methods()
DCommonMethodItemTest.kt310 val throwsType = methodItem.throwsTypes().single() in <lambda>()
346 val throwsType = methodItem.throwsTypes().single() in <lambda>()
373 val throwsType = methodItem.throwsTypes().single() in <lambda>()
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTextMethodItem.kt136 duplicated.throwsTypes = this.throwsTypes in findMainDocumentation()
144 private var throwsTypes: List<ExceptionTypeItem> = emptyList() variable
146 override fun throwsTypes(): List<ExceptionTypeItem> = this.throwsTypes in throwsTypes() method
149 this.throwsTypes = throwsClasses in throwsTypes()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiConstructorItem.kt46 throwsTypes: List<ExceptionTypeItem>,
61 throwsTypes = throwsTypes,
107 throwsTypes = throwsTypes(psiMethod, constructorTypeItemFactory), in isImplicitConstructor()
139 throwsTypes = emptyList(), in isImplicitConstructor()
DPsiMethodItem.kt62 private val throwsTypes: List<ExceptionTypeItem> in <lambda>() constant
132 override fun throwsTypes() = throwsTypes in <lambda>() method
348 throwsTypes = throwsTypes(psiMethod, methodTypeItemFactory), in <lambda>()
403 throwsTypes = original.throwsTypes, in <lambda>()
427 internal fun throwsTypes( in <lambda>() method
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DMethodItem.kt80 fun throwsTypes(): List<ExceptionTypeItem> in <lambda>() method
84 for (type in throwsTypes()) { in <lambda>()
95 if (throwsTypes().isEmpty()) { in <lambda>()
103 throwsTypes: LinkedHashSet<ExceptionTypeItem> in <lambda>()
105 for (exceptionType in throwsTypes()) { in <lambda>()
107 throwsTypes.add(exceptionType) in <lambda>()
111 throwsTypes.add(exceptionType) in <lambda>()
118 ?.let { superClass -> throwsTypes.add(superClass.type()) } in <lambda>()
122 return throwsTypes in <lambda>()
316 val throwsList12 = method.throwsTypes() in <lambda>()
[all …]
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/
DApiFileTest.kt112 codebase.assertClass("test.pkg.Foo").assertMethod("foo", "").throwsTypes().first() in <lambda>()
147 codebase.assertClass("test.pkg.Foo").assertMethod("foo", "").throwsTypes().first() in <lambda>()
172 codebase.assertClass("test.pkg.Foo").assertMethod("foo", "").throwsTypes().first() in <lambda>()
194 codebase.assertClass("test.pkg.Foo").methods().single().throwsTypes().single() in <lambda>()
206 codebase.assertClass("test.pkg.Foo").assertMethod("foo", "").throwsTypes().first() in <lambda>()
238 codebase.assertClass("test.pkg.Foo").assertMethod("foo", "").throwsTypes().first() in <lambda>()
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineMethodItem.kt57 override fun throwsTypes(): List<ExceptionTypeItem> = throwableTypes in name() method
DTurbineCodebaseInitialiser.kt889 throwsTypes: List<Type>, in <lambda>()
892 return throwsTypes.map { type -> enclosingTypeItemFactory.getExceptionType(type) } in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/stub/
DKotlinStubWriter.kt224 method.throwsTypes().asSequence() in <lambda>()
DJavaStubWriter.kt377 method.throwsTypes().asSequence() in <lambda>()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
DSignatureInputOutputTest.kt208 assertThat(method.throwsTypes()).hasSize(1) in <lambda>()
209 assertThat(method.throwsTypes().single().toTypeString()) in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DApiAnalyzer.kt269 val currentThrowsCount = current.throwsTypes().size in <lambda>()
270 val nextThrowsCount = next.throwsTypes().size in <lambda>()
1225 for (thrown in method.throwsTypes()) { in <lambda>()
DSignatureWriter.kt391 preFiltered -> method.throwsTypes().asSequence() in <lambda>()
DJDiffXmlWriter.kt300 preFiltered -> method.throwsTypes().asSequence() in <lambda>()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/
DBootstrapSourceModelProviderTest.kt810 val throwableClasses = methodItem.throwsTypes().map { it.erasedClass } in 210 Test Method exception list()
867 assertEquals(emptyList(), ctorItem.throwsTypes()) in 220 test ClassItem createDefaultConstructor()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/compatibility/
DCompatibilityCheck.kt606 for (throwType in old.throwsTypes()) { in compare()