Home
last modified time | relevance | path

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

/tools/metalava/src/main/java/com/android/tools/metalava/
DSignatureWriter.kt108 … if (compatibility.skipAnnotationInstanceMethods && method.containingClass().isAnnotationType() && in <lambda>()
129 if (method.containingClass().isAnnotationType()) { in <lambda>()
146 if (cls.isAnnotationType()) { in <lambda>()
191 if (!compatibility.classForEnums && cls.isEnum() || cls.isAnnotationType()) { in <lambda>()
217 if (cls.isAnnotationType()) { in <lambda>()
DStubWriter.kt229 val removeAbstract = cls.modifiers.isAbstract() && (cls.isEnum() || cls.isAnnotationType()) in visitClass()
234 cls.isAnnotationType() -> writer.print("@interface") in visitClass()
342 if (cls.isEnum() || cls.isAnnotationType()) { in generateSuperClassStatement()
372 if (cls.isAnnotationType()) { in generateInterfaceList()
392 } else if (compatibility.classForAnnotations && cls.isAnnotationType()) { in generateInterfaceList()
515 val isAnnotation = containingClass.isAnnotationType() in writeMethod()
DJDiffXmlWriter.kt239 if (method.containingClass().isAnnotationType() && compatibility.xmlSkipAnnotationMethods) { in <lambda>()
285 cls.isAnnotationType() -> if (compatibility.xmlAnnotationAsObject) { in <lambda>()
DRewriteAnnotations.kt136 return cls.isAnnotationType() && cls.getRetention() == AnnotationRetention.SOURCE in <lambda>()
DExtractAnnotations.kt212 if (typeDefClass.isAnnotationType()) { in <lambda>()
DCompatibilityCheck.kt769 …if (new.containingClass().isAnnotationType() && oldCodebase is TextCodebase && oldCodebase.format … in added()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DAnnotationItem.kt140 if (cls.isAnnotationType()) {
488 if (cls.isAnnotationType()) { in computeTargets()
558 if (item is MemberItem && item.containingClass().isAnnotationType()) { in getImplicitNullness()
DMethodItem.kt413 if (!containingClass().isAnnotationType() || !other.containingClass().isAnnotationType()) { in <lambda>()
DClassItem.kt116 isAnnotationType() -> qualifiedName == JAVA_LANG_ANNOTATION in <lambda>()
178 fun isAnnotationType(): Boolean in <lambda>() method
184 fun isClass(): Boolean = !isInterface() && !isAnnotationType() && !isEnum() in <lambda>()
DModifierList.kt333 … (compatibility.abstractInAnnotations || classItem?.isAnnotationType() != true))) && in write()
377 … (compatibility.abstractInAnnotations || classItem?.isAnnotationType() != true))) && in write()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextClassItem.kt93 override fun isAnnotationType(): Boolean = isAnnotation in isInterface() method
243 if (!isAnnotationType()) { in getRetention()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiClassItem.kt68 override fun isAnnotationType(): Boolean = classType == ClassType.ANNOTATION_TYPE in <lambda>() method
367 if (!isAnnotationType()) { in <lambda>()
609 …if (constructors.isEmpty() && !psiClass.isInterface && !psiClass.isAnnotationType && !psiClass.isE… in <lambda>()
DClassType.kt32 psiClass.isAnnotationType -> ANNOTATION_TYPE in getClassType()
DPsiTypeItem.kt463 owner.containingClass().isAnnotationType() && in getCanonicalText()
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/
DTextCodebase.kt143 cl.isAnnotationType() -> JAVA_LANG_ANNOTATION in resolveSuperclasses()
395 textClass.isAnnotationType(), in computeDelta()
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DAddApisFromCodebase.kt97 } else if (cls.isAnnotationType()) { in addApisFromCodebase()