Home
last modified time | relevance | path

Searched refs:exceptionClass (Results 1 – 2 of 2) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiMethodItem.kt186 val exceptionClass = codebase.getType(type).asClass() in <lambda>() constant
187 if (exceptionClass != null && !isCaught(exceptionClass, node)) { in <lambda>()
188 exceptions.add(exceptionClass) in <lambda>()
194 private fun isCaught(exceptionClass: ClassItem, node: UThrowExpression): Boolean { in <lambda>()
204 if (exceptionClass.extends(qualifiedName)) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextCodebase.kt166 var exceptionClass: TextClassItem? = mAllClasses[exception] in resolveThrowsClasses() variable
167 if (exceptionClass == null) { in resolveThrowsClasses()
169 exceptionClass = getOrCreateClass(exception) in resolveThrowsClasses()
172 exceptionClass.setSuperClass( in resolveThrowsClasses()
178 result.add(exceptionClass) in resolveThrowsClasses()