Home
last modified time | relevance | path

Searched refs:retention (Results 1 – 11 of 11) sorted by relevance

/tools/metalava/stub-annotations/
DREADME.md20 (3) Only class retention annotations are interesting for
24 (4) We've tweaked the retention of some of the support
26 source retention, and here they are class retention.
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTextClassItem.kt176 private var retention: AnnotationRetention? = null variable
179 retention?.let { in getRetention()
187 retention = ClassItem.findRetention(this) in getRetention()
188 return retention!! in getRetention()
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineClassItem.kt80 private var retention: AnnotationRetention? = null in <lambda>() variable
118 retention?.let { in <lambda>()
126 retention = ClassItem.findRetention(this) in <lambda>()
127 return retention!! in <lambda>()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
DExtractAnnotationsTest.kt82 fun `Check java typedef extraction and warning about non-source retention of typedefs`() { in Check java typedef extraction and warning about non-source retention of typedefs()
202 fun `Check including only class retention annotations other than typedefs`() { in Check including only class retention annotations other than typedefs()
424 fun `Only including class retention annotations in stubs`() { in Only including class retention annotations in stubs()
DApiFileTest.kt1823 fun `Annotation retention`() { in Annotation retention()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DDefaultAnnotationManager.kt489 val retention = cls.getRetention() in <lambda>() constant
491 retention == AnnotationRetention.RUNTIME || in <lambda>()
492 retention == AnnotationRetention.CLASS || in <lambda>()
493 retention == AnnotationRetention.BINARY in <lambda>()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiClassItem.kt245 private var retention: AnnotationRetention? = null in <lambda>() variable
248 retention?.let { in <lambda>()
256 retention = ClassItem.findRetention(this) in <lambda>()
257 return retention!! in <lambda>()
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DModifierListWriter.kt290 if (runtimeAnnotationsOnly && annotation.retention != AnnotationRetention.RUNTIME) { in <lambda>()
DAnnotationItem.kt179 val retention: AnnotationRetention in resolve() constant
/tools/metalava/metalava/src/test/resources/
Dsource-model-provider-baseline.txt39 Check java typedef extraction and warning about non-source retention of typedefs[turbine]
44 Only including class retention annotations in stubs[turbine]
/tools/metalava/
DFORMAT.md94 hidden, and have class file or runtime retention.