Home
last modified time | relevance | path

Searched refs:containingClass (Results 1 – 24 of 24) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/model/
DMemberItem.kt27 fun containingClass(): ClassItem in name() method
29 override fun containingClass(strict: Boolean): ClassItem = containingClass() in name() method
30 …override fun containingPackage(strict: Boolean): PackageItem = containingClass().containingPackage… in name()
31 override fun parent(): ClassItem? = containingClass() in name()
38 return modifiers.isFinal() || containingClass().modifiers.isFinal() in name()
DParameterItem.kt104 …override fun containingClass(strict: Boolean): ClassItem? = containingMethod().containingClass(fal… method
DDefaultModifierList.kt255 … isFinal() && (owner as? MethodItem)?.containingClass()?.modifiers?.isFinal() == true) { in equivalentTo()
259 … isDeprecated() && (owner as? MethodItem)?.containingClass()?.deprecated == true) { in equivalentTo()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiPropertyItem.kt31 private val containingClass: PsiClassItem, constant in com.android.tools.metalava.model.psi.PsiPropertyItem
46 override fun containingClass(): ClassItem = containingClass in type() method
50 val p = containingClass().psi() as? PsiClass ?: return false in type()
57 return psiMethod.containingClass != psiClass in type()
64 … return other is FieldItem && name == other.name() && containingClass == other.containingClass() in equals()
76 containingClass: PsiClassItem, in toString()
87 containingClass = containingClass, in toString()
DPsiFieldItem.kt31 private val containingClass: PsiClassItem, constant in com.android.tools.metalava.model.psi.PsiFieldItem
66 override fun containingClass(): ClassItem = containingClass in isEnumConstant() method
70 val p = containingClass().psi() as? PsiClass ?: return false in isEnumConstant()
77 return psiField.containingClass != psiClass in isEnumConstant()
82 duplicated.inheritedFrom = containingClass in duplicate()
106 … return other is FieldItem && name == other.name() && containingClass == other.containingClass() in equals()
116 …fun create(codebase: PsiBasedCodebase, containingClass: PsiClassItem, psiField: PsiField): PsiFiel… in toString()
128 containingClass = containingClass, in toString()
DPsiConstructorItem.kt34 containingClass: PsiClassItem, in <lambda>()
47 containingClass = containingClass, in <lambda>()
70 if (result.isEmpty() && isConstructor() && containingClass().superClass() != null) { in <lambda>()
99 return containingClass().psi() in <lambda>()
108 containingClass: PsiClassItem, in <lambda>()
122 containingClass = containingClass, in <lambda>()
127 returnType = codebase.getType(containingClass.psiClass), in <lambda>()
136 containingClass: PsiClassItem, in <lambda>()
144 modifiers.setVisibilityLevel(containingClass.modifiers.getVisibilityLevel()) in <lambda>()
149 containingClass = containingClass, in <lambda>()
DPsiCompilationUnit.kt96 codebase.findClass(resolved.containingClass ?: continue) ?: continue in getImportStatements()
102 … val classItem = codebase.findClass(resolved.containingClass ?: continue) ?: continue in getImportStatements()
DPsiPackageItem.kt44 override fun containingClass(strict: Boolean): ClassItem? = null in containingClass() method
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextMethodItem.kt35 containingClass: TextClassItem,
40 codebase, name, containingClass, position,
56 if (containingClass() != other.containingClass()) { in equals()
92 var curr = containingClass().superClass() in isConstructor()
103 for (itf in containingClass().allInterfaces()) { in isConstructor()
124 return containingClass() as TextClassItem? in typeParameterList()
134 return (containingClass() as TextClassItem).resolveParameter(variable) in resolveParameter()
142 duplicated.inheritedFrom = containingClass() in duplicate()
DTextFieldItem.kt28 containingClass: TextClassItem,
33 ) : TextMemberItem(codebase, name, containingClass, position, modifiers), FieldItem {
47 return containingClass() == other.containingClass() in equals()
63 duplicated.inheritedFrom = containingClass() in hashCode()
DTextPropertyItem.kt28 containingClass: TextClassItem,
32 ) : TextMemberItem(codebase, name, containingClass, position, modifiers), PropertyItem {
46 return containingClass() == other.containingClass() in equals()
DTextMemberItem.kt27 private val containingClass: TextClassItem, constant
33 override fun containingClass(): ClassItem = containingClass method
DTextConstructorItem.kt26 containingClass: TextClassItem,
30 ) : TextMethodItem(codebase, name, containingClass, modifiers, returnType, position),
DTextClassItem.kt96 var containingClass: TextClassItem? = null in isInterface() variable
97 override fun containingClass(): ClassItem? = containingClass in isInterface() method
114 containingClass?.containingPackage() ?: containingPackage ?: error(this) in containingPackage()
148 return containingClass in typeParameterListOwnerParent()
DTextPackageItem.kt58 override fun containingClass(strict: Boolean): ClassItem? = null in classList() method
DTextTypeParameterItem.kt96 …val parameters = (owner as? TextMemberItem)?.containingClass()?.typeParameterList()?.typeParameter… in bounds()
/tools/metalava/src/main/java/com/android/tools/metalava/
DSdkFileWriter.kt84 … val type = resolved.containingClass().qualifiedName() + "." + resolved.name() in generate()
157 val containingClass = clazz?.containingClass() in generate() constant
158 var remove = containingClass == null || layouts.indexOf(containingClass) == -1 in generate()
DJDiffXmlWriter.kt168 writer.print(constructor.containingClass().fullName()) in <lambda>()
170 writer.print(constructor.containingClass().qualifiedName()) in <lambda>()
242 if (method.containingClass().isAnnotationType() && compatibility.xmlSkipAnnotationMethods) { in <lambda>()
DSignatureWriter.kt78 writer.print(constructor.containingClass().fullName()) in <lambda>()
111 … if (compatibility.skipAnnotationInstanceMethods && method.containingClass().isAnnotationType() && in <lambda>()
132 if (method.containingClass().isAnnotationType()) { in <lambda>()
DKotlinInteropChecks.kt205 …if (method.containingClass().simpleName() == "Companion" && method.isKotlin() && method.modifiers.… in <lambda>()
264 if (method.containingClass().isInterface()) { in <lambda>()
DNullabilityAnnotationsValidator.kt227 containingClass().isEnum() && name() == "valueOf" && parameters().map { in MethodItem()
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/
DApiPredicate.kt76 is MemberItem -> member.containingClass() in test()
96 clazz = clazz.containingClass() in test()
DApiFile.java865 (TextClassItem) method.containingClass(), in parseParameterList()
/tools/metalava/
DREADME.md382 writer.print(constructor.containingClass().fullName())