Home
last modified time | relevance | path

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

/tools/metalava/src/main/java/com/android/tools/metalava/
DCompatibilityCheck.kt229 old.isAnnotationType() != new.isAnnotationType() in compare()
423 new.containingClass().isAnnotationType() && in compare()
424 old.containingClass().isAnnotationType() && in compare()
447 new.containingClass().isAnnotationType() && old.defaultValue().isEmpty() in compare()
481 if (new.containingClass().isInterface() || new.containingClass().isAnnotationType()) { in compare()
821 …if (new.containingClass().isAnnotationType() && oldCodebase is TextCodebase && oldCodebase.format … in added()
830 if (new.containingClass().isAnnotationType() && new.hasDefaultValue()) { in added()
DSignatureWriter.kt121 if (method.containingClass().isAnnotationType()) { in <lambda>()
137 if (cls.isAnnotationType()) { in <lambda>()
172 if (cls.isEnum() || cls.isAnnotationType()) { in <lambda>()
192 if (cls.isAnnotationType()) { in <lambda>()
DRewriteAnnotations.kt137 return cls.isAnnotationType() && cls.getRetention() == AnnotationRetention.SOURCE in <lambda>()
DJDiffXmlWriter.kt242 cls.isAnnotationType() -> JAVA_LANG_ANNOTATION in <lambda>()
DExtractAnnotations.kt213 if (typeDefClass.isAnnotationType()) { in <lambda>()
DApiLint.kt2611 if (cls.isAnnotationType()) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DKotlinStubWriter.kt71 val removeAbstract = cls.modifiers.isAbstract() && (cls.isEnum() || cls.isAnnotationType()) in <lambda>()
76 cls.isAnnotationType() -> writer.print("annotation class") in <lambda>()
129 if (cls.isEnum() || cls.isAnnotationType()) { in <lambda>()
163 if (cls.isAnnotationType()) { in <lambda>()
212 val isAnnotation = containingClass.isAnnotationType() in <lambda>()
DJavaStubWriter.kt82 val removeAbstract = cls.modifiers.isAbstract() && (cls.isEnum() || cls.isAnnotationType()) in <lambda>()
87 cls.isAnnotationType() -> writer.print("@interface") in <lambda>()
171 if (cls.isEnum() || cls.isAnnotationType()) { in <lambda>()
201 if (cls.isAnnotationType()) { in <lambda>()
337 val isAnnotation = containingClass.isAnnotationType() in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DAnnotationItem.kt158 if (cls.isAnnotationType()) {
504 if (cls.isAnnotationType()) { in nullableAnnotationName()
614 if (item is MemberItem && item.containingClass().isAnnotationType()) { in getImplicitNullness()
DClassItem.kt133 isAnnotationType() -> qualifiedName == JAVA_LANG_ANNOTATION in <lambda>()
195 fun isAnnotationType(): Boolean in <lambda>() method
201 fun isClass(): Boolean = !isInterface() && !isAnnotationType() && !isEnum() in <lambda>()
DModifierList.kt343 classItem?.isAnnotationType() != true && in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextClassItem.kt91 override fun isAnnotationType(): Boolean = isAnnotation in isInterface() method
241 if (!isAnnotationType()) { in getRetention()
DTextCodebase.kt134 cl.isAnnotationType() -> JAVA_LANG_ANNOTATION in resolveSuperclasses()
384 textClass.isAnnotationType(), in computeDelta()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiClassItem.kt81 override fun isAnnotationType(): Boolean = classType == ClassType.ANNOTATION_TYPE in <lambda>() method
390 if (!isAnnotationType()) { in <lambda>()
655 …if (constructors.isEmpty() && !psiClass.isInterface && !psiClass.isAnnotationType && !psiClass.isE… in <lambda>()
DClassType.kt32 psiClass.isAnnotationType -> ANNOTATION_TYPE in getClassType()
DPsiTypeItem.kt530 is MemberItem -> containingClass().isAnnotationType() && !modifiers.isStatic() in Item()
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DAddApisFromCodebase.kt97 } else if (cls.isAnnotationType()) { in addApisFromCodebase()