Home
last modified time | relevance | path

Searched refs:AnnotationRetention (Results 1 – 7 of 7) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/model/
DClassItem.kt354 fun findRetention(cls: ClassItem): AnnotationRetention { in <lambda>()
361 source == null -> AnnotationRetention.CLASS // default in <lambda>()
362 source.contains("RUNTIME") -> AnnotationRetention.RUNTIME in <lambda>()
363 source.contains("SOURCE") -> AnnotationRetention.SOURCE in <lambda>()
364 else -> AnnotationRetention.CLASS // default in <lambda>()
518 fun getRetention(): AnnotationRetention in <lambda>()
DAnnotationItem.kt134 val retention: AnnotationRetention
146 return AnnotationRetention.CLASS
490 … if (retention == AnnotationRetention.RUNTIME || retention == AnnotationRetention.CLASS) { in computeTargets()
DAnnotationRetention.kt20 enum class AnnotationRetention { class
DModifierList.kt492 … if (runtimeAnnotationsOnly && annotation.retention != AnnotationRetention.RUNTIME) { in writeAnnotations()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextClassItem.kt21 import com.android.tools.metalava.model.AnnotationRetention
238 private var retention: AnnotationRetention? = null
240 override fun getRetention(): AnnotationRetention { in getRetention()
/tools/metalava/src/main/java/com/android/tools/metalava/
DRewriteAnnotations.kt22 import com.android.tools.metalava.model.AnnotationRetention in <lambda>()
136 return cls.isAnnotationType() && cls.getRetention() == AnnotationRetention.SOURCE in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiClassItem.kt20 import com.android.tools.metalava.model.AnnotationRetention in <lambda>()
362 private var retention: AnnotationRetention? = null in <lambda>()
364 override fun getRetention(): AnnotationRetention { in <lambda>()