Home
last modified time | relevance | path

Searched refs:retention (Results 1 – 9 of 9) 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.kt236 private var retention: AnnotationRetention? = null variable
239 retention?.let { return it } in getRetention()
245 retention = ClassItem.findRetention(this) in getRetention()
246 return retention!! in getRetention()
/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()
398 fun `Only including class retention annotations in stubs`() { in Only including class retention annotations in stubs()
DApiFileTest.kt1587 fun `Annotation retention`() { in Annotation retention()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DAnnotationItem.kt152 val retention: AnnotationRetention constant
505 val retention = cls.getRetention() in nullableAnnotationName() constant
506 … if (retention == AnnotationRetention.RUNTIME || retention == AnnotationRetention.CLASS) { in nullableAnnotationName()
DModifierList.kt471 … if (runtimeAnnotationsOnly && annotation.retention != AnnotationRetention.RUNTIME) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiClassItem.kt385 private var retention: AnnotationRetention? = null in <lambda>() variable
388 retention?.let { return it } in <lambda>()
394 retention = ClassItem.findRetention(this) in <lambda>()
395 return retention!! in <lambda>()
/tools/metalava/
DUSAGE.md30 `--copy-annotations`, `--include-source-retention`) for generating SDK
DFORMAT.md90 hidden, and have class file or runtime retention.