Home
last modified time | relevance | path

Searched refs:findClass (Results 1 – 25 of 25) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiBasedCodebase.kt355 val psiClass = facade.findClass(qualifiedName, scope) ?: continue in <lambda>()
530 override fun findClass(className: String): PsiClassItem? { in <lambda>() method
534 open fun findClass(psiClass: PsiClass): PsiClassItem? { in <lambda>() method
541 … val psiClass = finder.findClass(qualifiedName, GlobalSearchScope.allScope(project)) ?: return null in <lambda>()
546 val existing = findClass(psiClass) in <lambda>()
552 if (curr != null && findClass(curr) == null) { in <lambda>()
554 if (findClass(curr) == null) { in <lambda>()
565 val inner = findClass(psiClass) in <lambda>()
574 fun findClass(psiType: PsiType): PsiClassItem? { in <lambda>() method
DPsiCompilationUnit.kt100 val classItem = codebase.findClass(resolved) ?: continue in getImportStatements()
114 codebase.findClass(resolved.containingClass ?: continue) ?: continue in getImportStatements()
120 … val classItem = codebase.findClass(resolved.containingClass ?: continue) ?: continue in getImportStatements()
136 val classItem = codebase.findClass(resolved) ?: continue in getImportStatements()
216 val classItem = codebase.findClass(psiClass) ?: continue in classes()
DPsiTypeItem.kt218 asClass = codebase.findClass(psiType) in asClass()
255 codebase.findClass(classType)?.let { in typeArgumentClasses()
824 codebase.findClass(type ?: return)?.let { in addRealClass()
DPsiMethodItem.kt435 result.add(codebase.findClass(erased) ?: continue) in <lambda>()
439 result.add(codebase.findClass(cls) ?: continue) in <lambda>()
DUAnnotationItem.kt67 return codebase.findClass(originalName ?: return null) in <lambda>()
DPsiAnnotationItem.kt68 return codebase.findClass(originalName ?: return null) in <lambda>()
DCodePrinter.kt203 val cls = codebase.findClass(qualifiedName) in appendExpression()
DPsiTypePrinter.kt497 val item = codebase.findClass(mapped) in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DAnnotationItem.kt133 return codebase.findClass(qualifiedName() ?: return null) in resolve()
139 …return codebase.findClass(className)?.modifiers?.annotations()?.firstOrNull { it.isTypeDefAnnotati… in findTypedefAnnotation()
147 … val cls = codebase.findClass(name) ?: (codebase as? PsiBasedCodebase)?.findOrCreateClass(name)
316 val cls = codebase.findClass(qualifiedName) in mapName()
376 val cls = codebase.findClass(qualifiedName) in mapName()
663 codebase.findClass(className) in targets()
DCodebase.kt76 fun findClass(className: String): ClassItem? in <lambda>() method
177 val cls = findClass(className) in <lambda>()
185 fun findClass(node: ClassNode, apiFilter: Predicate<Item>): ClassItem? { in <lambda>() method
214 val cls = findClass(classNode, apiFilter) ?: return null in <lambda>()
238 val cls = findClass(classNode, apiFilter) ?: return null in <lambda>()
/tools/metalava/src/test/java/com/android/tools/metalava/model/text/
DTextTypeItemTest.kt81 val cls = codebase.findClass("androidx.navigation.NavDestinationBuilder") in check erasure()
117 val cls = codebase.findClass("test.pkg.TestClass") in check erasure from object()
149 val cls = codebase.findClass("test.pkg.EnumMap") in check erasure from enums()
DTextTypeParameterItemTest.kt51 val cls = codebase.findClass("androidx.navigation.NavDestinationBuilder") in testTypeParameterNames()
/tools/metalava/src/main/java/com/android/tools/metalava/
DCompatibilityCheck.kt720 is ClassItem -> base.findClass(item.qualifiedName()) in findBaseItem()
721 is MethodItem -> base.findClass(item.containingClass().qualifiedName())?.findMethod( in findBaseItem()
726 … is FieldItem -> base.findClass(item.containingClass().qualifiedName())?.findField(item.name()) in findBaseItem()
DAnnotationsMerger.kt390 val classItem = codebase.findClass(containingClass) in mergeDocument()
419 val classItem = codebase.findClass(containingClass) in mergeDocument()
629 … val fieldItem = codebase.findClass(clsName)?.findField(field.name) in createAnnotation()
DNullabilityAnnotationsValidator.kt83 val topLevelClass = codebase.findClass(topLevelClassName) in <lambda>()
DConvertJarsToSignatureFiles.kt201 val item = codebase.findClass(classNode, MATCH_ALL) in <lambda>()
DRewriteAnnotations.kt135 val cls = codebase.findClass(qualifiedName) ?: return true in <lambda>()
DDocAnalyzer.kt175 val permClass = codebase.findClass("android.Manifest.permission") in <lambda>()
DDriver.kt1007 codebase.findClass("org.chromium.mojo.bindings.Callbacks")?.hidden = true in createStubFiles()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextCodebase.kt84 override fun findClass(className: String): TextClassItem? { in findClass() method
377 val cls = delta.findClass(fullClass.qualifiedName()) in computeDelta()
DTextTypeParameterItem.kt46 val clz = codebase.findClass(it) in bounds()
DApiFile.java278 if (api.findClass(qualifiedName) != null) { in parseClass()
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DApi.java67 public ApiClass findClass(String name) { in findClass() method in Api
DAddApisFromCodebase.kt61 val superClassEntry = api.findClass(superInternalName) in addApisFromCodebase()
/tools/metalava/src/test/java/com/android/tools/metalava/model/
DTextBackedAnnotationItemTest.kt33 override fun findClass(className: String): ClassItem? = unsupported() in supportsDocumentation() method in com.android.tools.metalava.model.TextBackedAnnotationItemTest