Home
last modified time | relevance | path

Searched refs:isAnnotationType (Results 1 – 18 of 18) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DJavaStubWriter.kt84 val removeAbstract = cls.modifiers.isAbstract() && (cls.isEnum() || cls.isAnnotationType()) in <lambda>()
89 cls.isAnnotationType() -> writer.print("@interface") in <lambda>()
174 if (cls.isEnum() || cls.isAnnotationType()) { in <lambda>()
204 if (cls.isAnnotationType()) { in <lambda>()
224 } else if (compatibility.classForAnnotations && cls.isAnnotationType()) { in <lambda>()
342 val isAnnotation = containingClass.isAnnotationType() in <lambda>()
DKotlinStubWriter.kt72 val removeAbstract = cls.modifiers.isAbstract() && (cls.isEnum() || cls.isAnnotationType()) in <lambda>()
77 cls.isAnnotationType() -> writer.print("annotation class") in <lambda>()
131 if (cls.isEnum() || cls.isAnnotationType()) { in <lambda>()
165 if (cls.isAnnotationType()) { in <lambda>()
214 val isAnnotation = containingClass.isAnnotationType() in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/
DSignatureWriter.kt104 … if (compatibility.skipAnnotationInstanceMethods && method.containingClass().isAnnotationType() && in <lambda>()
125 if (method.containingClass().isAnnotationType()) { in <lambda>()
142 if (cls.isAnnotationType()) { in <lambda>()
187 if (!compatibility.classForEnums && cls.isEnum() || cls.isAnnotationType()) { in <lambda>()
213 if (cls.isAnnotationType()) { in <lambda>()
DJDiffXmlWriter.kt245 if (method.containingClass().isAnnotationType() && compatibility.xmlSkipAnnotationMethods) { in <lambda>()
291 cls.isAnnotationType() -> if (compatibility.xmlAnnotationAsObject) { in <lambda>()
DCompatibilityCheck.kt783 …if (new.containingClass().isAnnotationType() && oldCodebase is TextCodebase && oldCodebase.format … in added()
792 if (new.containingClass().isAnnotationType() && new.hasDefaultValue()) { in added()
DRewriteAnnotations.kt136 return cls.isAnnotationType() && cls.getRetention() == AnnotationRetention.SOURCE in <lambda>()
DExtractAnnotations.kt212 if (typeDefClass.isAnnotationType()) { in <lambda>()
DApiLint.kt3539 if (cls.isAnnotationType()) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DAnnotationItem.kt149 if (cls.isAnnotationType()) {
526 if (cls.isAnnotationType()) { in nullableAnnotationName()
638 if (item is MemberItem && item.containingClass().isAnnotationType()) { in getImplicitNullness()
DClassItem.kt124 isAnnotationType() -> qualifiedName == JAVA_LANG_ANNOTATION in <lambda>()
186 fun isAnnotationType(): Boolean in <lambda>() method
192 fun isClass(): Boolean = !isInterface() && !isAnnotationType() && !isEnum() in <lambda>()
DMethodItem.kt417 if (!containingClass().isAnnotationType() || !other.containingClass().isAnnotationType()) { in <lambda>()
DModifierList.kt357 … (compatibility.abstractInAnnotations || classItem?.isAnnotationType() != true))) && in <lambda>()
404 … (compatibility.abstractInAnnotations || classItem?.isAnnotationType() != true))) && in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiClassItem.kt75 override fun isAnnotationType(): Boolean = classType == ClassType.ANNOTATION_TYPE in <lambda>() method
376 if (!isAnnotationType()) { in <lambda>()
591 …if (constructors.isEmpty() && !psiClass.isInterface && !psiClass.isAnnotationType && !psiClass.isE… in <lambda>()
DClassType.kt32 psiClass.isAnnotationType -> ANNOTATION_TYPE in getClassType()
DPsiTypeItem.kt470 (owner.containingClass().isAnnotationType() || in getCanonicalText()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextClassItem.kt89 override fun isAnnotationType(): Boolean = isAnnotation in isInterface() method
239 if (!isAnnotationType()) { in getRetention()
DTextCodebase.kt135 cl.isAnnotationType() -> JAVA_LANG_ANNOTATION in resolveSuperclasses()
388 textClass.isAnnotationType(), in computeDelta()
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DAddApisFromCodebase.kt97 } else if (cls.isAnnotationType()) { in addApisFromCodebase()