Home
last modified time | relevance | path

Searched refs:annotationClass (Results 1 – 7 of 7) sorted by relevance

/tools/metalava/src/test/java/com/android/tools/metalava/
DRewriteAnnotationsTest.kt116 val annotationClass = loader.loadClass("androidx.annotation.CallSuper") in Test rewriting the bytecode for one of the public annotations() constant
117 val modifiers = annotationClass.modifiers in Test rewriting the bytecode for one of the public annotations()
119 assertTrue(annotationClass.isAnnotation) in Test rewriting the bytecode for one of the public annotations()
153 val annotationClass = loader.loadClass("androidx.annotation.CallSuper") in Test rewriting the bytecode for one of the public annotations in a jar file() constant
154 val modifiers = annotationClass.modifiers in Test rewriting the bytecode for one of the public annotations in a jar file()
156 assertTrue(annotationClass.isAnnotation) in Test rewriting the bytecode for one of the public annotations in a jar file()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextBackedAnnotationItem.kt38 val annotationClass = if (index == -1) constant
42 originalName = annotationClass
43 …qualifiedName = if (mapName) AnnotationItem.mapName(codebase, annotationClass) else annotationClass
/tools/metalava/src/main/java/com/android/tools/metalava/
DExtractAnnotations.kt80 val annotationClass: ClassItem?, in <lambda>() constant in com.android.tools.metalava.ExtractAnnotations.AnnotationHolder
326 private fun hasSourceRetention(annotationClass: ClassItem): Boolean { in <lambda>()
327 if (annotationClass is PsiClassItem) { in <lambda>()
328 return hasSourceRetention(annotationClass.psiClass) in <lambda>()
DConvertJarsToSignatureFiles.kt84 … val annotationClass = if (annotation.isNullable()) ANDROIDX_NULLABLE else ANDROIDX_NONNULL in <lambda>() constant
90 … modifiers.addAnnotation(new.codebase.createAnnotation("@$annotationClass", new, mapName = false)) in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DUAnnotationItem.kt124 val annotationClass = annotation.javaPsi?.nameReferenceElement?.resolve() as? PsiClass in <lambda>() constant
126 if (annotationClass != null && showDefaultAttrs) { in <lambda>()
127 for (method in annotationClass.methods) { in <lambda>()
DPsiAnnotationItem.kt139 val annotationClass = annotation.nameReferenceElement?.resolve() as? PsiClass in <lambda>() constant
141 if (annotationClass != null && showDefaultAttrs) { in <lambda>()
142 for (method in annotationClass.methods) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DItem.kt252 val annotationClass = if (annotation.isNullable()) RECENTLY_NULLABLE else RECENTLY_NONNULL in psi() constant
258 … modifiers.addAnnotation(codebase.createAnnotation("@$annotationClass", this, mapName = false)) in psi()