Home
last modified time | relevance | path

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

/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiMethodItem.kt147 private lateinit var throwsTypes: List<ClassItem> in <lambda>() variable
149 fun setThrowsTypes(throwsTypes: List<ClassItem>) { in <lambda>()
150 this.throwsTypes = throwsTypes in <lambda>()
153 override fun throwsTypes(): List<ClassItem> = throwsTypes in <lambda>() method
273 duplicated.throwsTypes = throwsTypes in <lambda>()
342 val throws = method.throwsTypes().asSequence().sortedWith(ClassItem.fullNameComparator) in <lambda>()
365 throwsTypes = throwsTypes(codebase, psiMethod) in <lambda>()
450 private fun throwsTypes(codebase: PsiBasedCodebase, psiMethod: PsiMethod): List<ClassItem> { in <lambda>() method
DPsiClassItem.kt364 if (template.throwsTypes().isEmpty()) { in <lambda>()
367 val throwsTypes = mutableListOf<ClassItem>() in <lambda>() constant
368 for (type in template.throwsTypes()) { in <lambda>()
370 throwsTypes.add(type) in <lambda>()
372 throwsTypes.add(codebase.findOrCreateClass(((type as PsiClassItem).psiClass))) in <lambda>()
375 newMethod.setThrowsTypes(throwsTypes) in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DMethodItem.kt93 fun throwsTypes(): List<ClassItem> in <lambda>() method
97 for (type in throwsTypes()) { in <lambda>()
103 for (type in throwsTypes()) { in <lambda>()
113 if (throwsTypes().isEmpty()) { in <lambda>()
124 for (cls in throwsTypes()) { in <lambda>()
226 for (exception in throwsTypes()) { in <lambda>()
329 val throwsList12 = method.throwsTypes() in <lambda>()
330 val throwsList2 = superMethod.throwsTypes() in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextMethodItem.kt162 duplicated.throwsTypes.addAll(throwsTypes) in duplicate()
174 private val throwsTypes = mutableListOf<String>() constant
179 return throwsTypes in throwsTypeNames()
182 …override fun throwsTypes(): List<ClassItem> = if (throwsClasses == null) emptyList() else throwsCl… in throwsTypes() method
191 throwsTypes += throwsType in parameters()
/tools/metalava/src/main/java/com/android/tools/metalava/
DApiAnalyzer.kt236 val currentThrowsCount = current.throwsTypes().size in <lambda>()
237 val nextThrowsCount = next.throwsTypes().size in <lambda>()
1247 for (thrown in method.throwsTypes()) { in <lambda>()
DSignatureWriter.kt300 preFiltered -> method.throwsTypes().asSequence() in <lambda>()
DJDiffXmlWriter.kt296 preFiltered -> method.throwsTypes().asSequence() in <lambda>()
DCompatibilityCheck.kt559 for (exception in old.throwsTypes()) { in compare()
/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DKotlinStubWriter.kt284 method.throwsTypes().asSequence() in <lambda>()
DJavaStubWriter.kt451 method.throwsTypes().asSequence() in <lambda>()