Home
last modified time | relevance | path

Searched refs:isAnnotation (Results 1 – 5 of 5) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextClassItem.kt40 private var isAnnotation: Boolean = false, variable
89 override fun isAnnotationType(): Boolean = isAnnotation in isInterface()
101 fun setIsAnnotationType(isAnnotation: Boolean) { in setIsAnnotationType()
102 this.isAnnotation = isAnnotation in setIsAnnotationType()
DApiFile.java240 boolean isAnnotation = false; in parseClass()
263 isAnnotation = true; in parseClass()
293 cl = new TextClassItem(api, tokenizer.pos(), modifiers, isInterface, isEnum, isAnnotation, in parseClass()
330 } else if (isAnnotation) { in parseClass()
/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DKotlinStubWriter.kt214 val isAnnotation = containingClass.isAnnotationType() in <lambda>() constant
224 val removeAbstract = modifiers.isAbstract() && (isEnum || isAnnotation) in <lambda>()
237 if (isAnnotation) { in <lambda>()
245 if (modifiers.isAbstract() && !isEnum || isAnnotation || modifiers.isNative()) { in <lambda>()
DJavaStubWriter.kt342 val isAnnotation = containingClass.isAnnotationType() in <lambda>() constant
356 … val removeAbstract = modifiers.isAbstract() && (isEnum || isAnnotation) || movedFromInterface in <lambda>()
375 if (isAnnotation) { in <lambda>()
383 …if (modifiers.isAbstract() && !removeAbstract && !isEnum || isAnnotation || modifiers.isNative()) { in <lambda>()
/tools/metalava/src/test/java/com/android/tools/metalava/
DRewriteAnnotationsTest.kt119 assertTrue(annotationClass.isAnnotation) in Test rewriting the bytecode for one of the public annotations()
156 assertTrue(annotationClass.isAnnotation) in Test rewriting the bytecode for one of the public annotations in a jar file()