Searched refs:psiClass (Results 1 – 13 of 13) sorted by relevance
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiClassItem.kt | 51 val psiClass: PsiClass, in <lambda>() constant in com.android.tools.metalava.model.psi.PsiClassItem 64 element = psiClass in <lambda>() 113 var curr: PsiClass? = psiClass in <lambda>() 168 return PsiTypeItem.create(codebase, codebase.getClassType(psiClass)) in <lambda>() 171 override fun hasTypeVariables(): Boolean = psiClass.hasTypeParameters() in <lambda>() 174 if (psiClass.hasTypeParameters()) { in <lambda>() 176 codebase, psiClass.typeParameterList in <lambda>() 187 psiClass.typeParameterList in <lambda>() 192 get() = psiClass is PsiTypeParameter in <lambda>() 199 val containingFile = psiClass.containingFile ?: return null in <lambda>() [all …]
|
D | PsiBasedCodebase.kt | 182 for (psiClass in classes) { in <lambda>() constant 183 psiClass.accept(object : JavaRecursiveElementVisitor() { in <lambda>() 194 val classItem = createClass(psiClass) in <lambda>() 198 packageName = getPackageName(psiClass) in <lambda>() 355 val psiClass = facade.findClass(qualifiedName, scope) ?: continue in <lambda>() constant 357 val classItem = createClass(psiClass) in <lambda>() 360 val packageName = getPackageName(psiClass) in <lambda>() 534 open fun findClass(psiClass: PsiClass): PsiClassItem? { in <lambda>() 535 val qualifiedName: String = psiClass.qualifiedName ?: psiClass.name!! in <lambda>() 541 … val psiClass = finder.findClass(qualifiedName, GlobalSearchScope.allScope(project)) ?: return null in <lambda>() constant [all …]
|
D | PsiTypeParameterItem.kt | 28 psiClass: PsiTypeParameter, 34 psiClass = psiClass, 54 val refs = psiClass.extendsList?.referencedTypes in finishInitialization() 65 fun create(codebase: PsiBasedCodebase, psiClass: PsiTypeParameter): PsiTypeParameterItem { in create() 66 val simpleName = psiClass.name!! in create() 67 val modifiers = modifiers(codebase, psiClass, "") in create() 71 psiClass = psiClass, in create()
|
D | PsiConstructorItem.kt | 127 returnType = codebase.getType(containingClass.psiClass), in <lambda>() 137 psiClass: PsiClass in <lambda>() 139 val name = psiClass.name!! in <lambda>() 141 val factory = JavaPsiFacade.getInstance(psiClass.project).elementFactory in <lambda>() 142 val psiMethod = factory.createConstructor(name, psiClass) in <lambda>() 154 returnType = codebase.getType(psiClass), in <lambda>()
|
D | ClassType.kt | 30 fun getClassType(psiClass: PsiClass): ClassType { in getClassType() 32 psiClass.isAnnotationType -> ANNOTATION_TYPE in getClassType() 33 psiClass.isInterface -> INTERFACE in getClassType() 34 psiClass.isEnum -> ENUM in getClassType() 35 psiClass is PsiTypeParameter -> TYPE_PARAMETER in getClassType()
|
D | PsiMethodItem.kt | 148 val psiClass = run { in <lambda>() constant 156 return psiMethod.containingClass != psiClass in <lambda>() 382 psiReturnType = codebase.getClassType(containingClass.psiClass) in <lambda>() 384 psiReturnType = PsiArrayType(codebase.getClassType(containingClass.psiClass)) in <lambda>()
|
D | PsiPropertyItem.kt | 49 val psiClass = run { in type() constant 57 return psiMethod.containingClass != psiClass in type()
|
D | PsiFieldItem.kt | 69 val psiClass = run { in isEnumConstant() constant 77 return psiField.containingClass != psiClass in isEnumConstant()
|
D | PsiCompilationUnit.kt | 215 for (psiClass in file.classes) { in classes() constant 216 val classItem = codebase.findClass(psiClass) ?: continue in classes()
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | DocAnalyzer.kt | 735 val psiClass = cls.psi() as PsiClass in <lambda>() constant 736 val since = apiLookup.getClassVersion(psiClass) in <lambda>() 744 addDeprecatedDocumentation(apiLookup.getClassDeprecatedIn(psiClass), cls) in <lambda>()
|
D | ExtractAnnotations.kt | 244 typeDefClass.psiClass, in <lambda>() 329 return hasSourceRetention(annotationClass.psiClass) in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/stub/ |
D | KotlinStubWriter.kt | 155 (cls as PsiClassItem).psiClass.superClassType in <lambda>()
|
D | JavaStubWriter.kt | 198 (cls as PsiClassItem).psiClass.superClassType in <lambda>()
|