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.kt139 private lateinit var throwsTypes: List<ClassItem> in <lambda>() variable
141 fun setThrowsTypes(throwsTypes: List<ClassItem>) { in <lambda>()
142 this.throwsTypes = throwsTypes in <lambda>()
145 override fun throwsTypes(): List<ClassItem> = throwsTypes in <lambda>() method
262 duplicated.throwsTypes = throwsTypes in <lambda>()
323 val throws = method.throwsTypes().asSequence().sortedWith(ClassItem.fullNameComparator) in <lambda>()
346 throwsTypes = throwsTypes(codebase, psiMethod) in <lambda>()
425 private fun throwsTypes(codebase: PsiBasedCodebase, psiMethod: PsiMethod): List<ClassItem> { in <lambda>() method
DPsiClassItem.kt350 if (template.throwsTypes().isEmpty()) { in <lambda>()
353 val throwsTypes = mutableListOf<ClassItem>() in <lambda>() constant
354 for (type in template.throwsTypes()) { in <lambda>()
356 throwsTypes.add(type) in <lambda>()
358 throwsTypes.add(codebase.findOrCreateClass(((type as PsiClassItem).psiClass))) in <lambda>()
361 newMethod.setThrowsTypes(throwsTypes) in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DMethodItem.kt85 fun throwsTypes(): List<ClassItem> in <lambda>() method
89 for (type in throwsTypes()) { in <lambda>()
95 for (type in throwsTypes()) { in <lambda>()
105 if (throwsTypes().isEmpty()) { in <lambda>()
116 for (cls in throwsTypes()) { in <lambda>()
218 for (exception in throwsTypes()) { in <lambda>()
322 val throwsList12 = method.throwsTypes() in <lambda>()
323 val throwsList2 = superMethod.throwsTypes() in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextMethodItem.kt159 duplicated.throwsTypes.addAll(throwsTypes) in duplicate()
171 private val throwsTypes = mutableListOf<String>() constant
176 return throwsTypes in throwsTypeNames()
179 …override fun throwsTypes(): List<ClassItem> = if (throwsClasses == null) emptyList() else throwsCl… in throwsTypes() method
188 throwsTypes += throwsType in parameters()
/tools/metalava/src/main/java/com/android/tools/metalava/
DApiAnalyzer.kt237 val currentThrowsCount = current.throwsTypes().size in <lambda>()
238 val nextThrowsCount = next.throwsTypes().size in <lambda>()
1206 for (thrown in method.throwsTypes()) { in <lambda>()
DSignatureWriter.kt347 preFiltered -> method.throwsTypes().asSequence() in <lambda>()
349 else -> method.throwsTypes().asSequence() in <lambda>()
DJDiffXmlWriter.kt361 preFiltered -> method.throwsTypes().asSequence() in <lambda>()
363 else -> method.throwsTypes().asSequence() in <lambda>()
DCompatibilityCheck.kt507 for (exception in old.throwsTypes()) { in compare()
/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DKotlinStubWriter.kt286 method.throwsTypes().asSequence() in <lambda>()
DJavaStubWriter.kt456 method.throwsTypes().asSequence() in <lambda>()