Home
last modified time | relevance | path

Searched refs:psiClass (Results 1 – 13 of 13) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiClassItem.kt51 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 …]
DPsiBasedCodebase.kt182 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 …]
DPsiTypeParameterItem.kt28 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()
DPsiConstructorItem.kt127 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>()
DClassType.kt30 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()
DPsiMethodItem.kt148 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>()
DPsiPropertyItem.kt49 val psiClass = run { in type() constant
57 return psiMethod.containingClass != psiClass in type()
DPsiFieldItem.kt69 val psiClass = run { in isEnumConstant() constant
77 return psiField.containingClass != psiClass in isEnumConstant()
DPsiCompilationUnit.kt215 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/
DDocAnalyzer.kt735 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>()
DExtractAnnotations.kt244 typeDefClass.psiClass, in <lambda>()
329 return hasSourceRetention(annotationClass.psiClass) in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DKotlinStubWriter.kt155 (cls as PsiClassItem).psiClass.superClassType in <lambda>()
DJavaStubWriter.kt198 (cls as PsiClassItem).psiClass.superClassType in <lambda>()