Home
last modified time | relevance | path

Searched refs:retention (Results 1 – 8 of 8) 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/src/main/java/com/android/tools/metalava/model/text/
DTextClassItem.kt234 private var retention: AnnotationRetention? = null variable
237 retention?.let { return it } in getRetention()
243 retention = ClassItem.findRetention(this) in getRetention()
244 return retention!! in getRetention()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DAnnotationItem.kt143 val retention: AnnotationRetention constant
527 val retention = cls.getRetention() in nullableAnnotationName() constant
528 … if (retention == AnnotationRetention.RUNTIME || retention == AnnotationRetention.CLASS) { in nullableAnnotationName()
DModifierList.kt522 … if (runtimeAnnotationsOnly && annotation.retention != AnnotationRetention.RUNTIME) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiClassItem.kt371 private var retention: AnnotationRetention? = null in <lambda>() variable
374 retention?.let { return it } in <lambda>()
380 retention = ClassItem.findRetention(this) in <lambda>()
381 return retention!! in <lambda>()
/tools/metalava/src/test/java/com/android/tools/metalava/
DExtractAnnotationsTest.kt75 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()
187 fun `Check including only class retention annotations other than typedefs`() { in Check including only class retention annotations other than typedefs()
388 fun `Only including class retention annotations in stubs`() { in Only including class retention annotations in stubs()
DApiFileTest.kt1692 fun `Annotation retention`() { in Annotation retention()
/tools/metalava/
DFORMAT.md90 hidden, and have class file or runtime retention.