Home
last modified time | relevance | path

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

/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypeParameterItem.kt27 psiClass: PsiTypeParameter,
33 psiClass = psiClass,
53 val refs = psiClass.extendsList?.referencedTypes in finishInitialization()
64 fun create(codebase: PsiBasedCodebase, psiClass: PsiTypeParameter): PsiTypeParameterItem { in create()
65 val simpleName = psiClass.name!! in create()
66 val modifiers = modifiers(codebase, psiClass, "") in create()
70 psiClass = psiClass, in create()
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()
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>()
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.kt193 for (psiClass in file.classes) { in classes() constant
194 val classItem = codebase.findClass(psiClass) ?: continue in classes()