Home
last modified time | relevance | path

Searched refs:annotationClass (Results 1 – 5 of 5) 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.kt81 val annotationClass: ClassItem?, in <lambda>() constant in com.android.tools.metalava.ExtractAnnotations.AnnotationHolder
327 private fun hasSourceRetention(annotationClass: ClassItem): Boolean { in <lambda>()
328 if (annotationClass is PsiClassItem) { in <lambda>()
329 return hasSourceRetention(annotationClass.psiClass) in <lambda>()
DNullnessMigration.kt100 val annotationClass = if (annotation.isNullable()) RECENTLY_NULLABLE else RECENTLY_NONNULL in markRecent() constant
106 … modifiers.addAnnotation(new.codebase.createAnnotation("@$annotationClass", new, mapName = false)) in markRecent()
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>()