Home
last modified time | relevance | path

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

/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DAnnotationTarget.kt20 enum class AnnotationTarget { class
38 val NO_ANNOTATION_TARGETS = emptySet<AnnotationTarget>()
55 AnnotationTarget.SIGNATURE_FILE,
56 AnnotationTarget.SDK_STUBS_FILE,
57 AnnotationTarget.DOC_STUBS_FILE,
68 AnnotationTarget.SIGNATURE_FILE,
69 AnnotationTarget.DOC_STUBS_FILE,
70 AnnotationTarget.EXTERNAL_ANNOTATIONS_FILE,
79 AnnotationTarget.SIGNATURE_FILE,
80 AnnotationTarget.EXTERNAL_ANNOTATIONS_FILE,
[all …]
DMetalavaApi.kt19 import kotlin.annotation.AnnotationTarget
23 AnnotationTarget.CLASS,
24 AnnotationTarget.CONSTRUCTOR,
25 AnnotationTarget.FIELD,
26 AnnotationTarget.FUNCTION,
27 AnnotationTarget.PROPERTY,
DModifierListWriter.kt28 private val target: AnnotationTarget, in <lambda>()
40 target = AnnotationTarget.SIGNATURE_FILE, in <lambda>()
53 if (docStubs) AnnotationTarget.DOC_STUBS_FILE in <lambda>()
54 else AnnotationTarget.SDK_STUBS_FILE, in <lambda>()
106 (target != AnnotationTarget.SIGNATURE_FILE && in <lambda>()
140 target != AnnotationTarget.SIGNATURE_FILE && in <lambda>()
238 target != AnnotationTarget.SIGNATURE_FILE && in <lambda>()
285 val omitCommonPackages = target == AnnotationTarget.SIGNATURE_FILE in <lambda>()
DAnnotationManager.kt38 target: AnnotationTarget = AnnotationTarget.SIGNATURE_FILE in getAnnotationInfo()
45 ): Set<AnnotationTarget> in getAnnotationInfo()
170 override fun normalizeOutputName(qualifiedName: String?, target: AnnotationTarget): String? { in normalizeOutputName()
177 ): Set<AnnotationTarget> = ANNOTATION_IN_ALL_STUBS
DAnnotationItem.kt57 target: AnnotationTarget = AnnotationTarget.SIGNATURE_FILE, in toSource()
62 val targets: Set<AnnotationTarget> in toSource()
400 override val targets: Set<AnnotationTarget> by lazy { in <lambda>()
461 override fun toSource(target: AnnotationTarget, showDefaultAttrs: Boolean): String { in toSource()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DDefaultAnnotationManager.kt35 import com.android.tools.metalava.model.AnnotationTarget in <lambda>()
296 override fun normalizeOutputName(qualifiedName: String?, target: AnnotationTarget): String? { in <lambda>()
304 return if (target == AnnotationTarget.SDK_STUBS_FILE) ANDROID_NULLABLE in <lambda>()
307 return if (target == AnnotationTarget.SDK_STUBS_FILE) ANDROID_NONNULL in <lambda>()
310 return if (target == AnnotationTarget.SDK_STUBS_FILE) qualifiedName in <lambda>()
313 return if (target == AnnotationTarget.SDK_STUBS_FILE) qualifiedName in <lambda>()
336 ): Set<AnnotationTarget> { in <lambda>()
DExtractAnnotations.kt25 import com.android.tools.metalava.model.AnnotationTarget in <lambda>()
211 annotation.targets.contains(AnnotationTarget.EXTERNAL_ANNOTATIONS_FILE) in <lambda>()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DUAnnotationItem.kt24 import com.android.tools.metalava.model.AnnotationTarget in <lambda>()
62 override fun toSource(target: AnnotationTarget, showDefaultAttrs: Boolean): String { in toSource()
80 override val targets: Set<AnnotationTarget> by lazy { in <lambda>()
132 target: AnnotationTarget, in appendAnnotation()
173 target: AnnotationTarget, in appendValue()
DPsiAnnotationItem.kt24 import com.android.tools.metalava.model.AnnotationTarget in <lambda>()
60 override fun toSource(target: AnnotationTarget, showDefaultAttrs: Boolean): String { in toSource()
78 override val targets: Set<AnnotationTarget> by lazy { in <lambda>()
132 target: AnnotationTarget, in appendAnnotation()
188 target: AnnotationTarget, in appendValue()
/tools/metalava/metalava-model/src/testFixtures/java/com/android/tools/metalava/model/testing/
DRequiresCapabilities.kt27 @Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
DFilterByProvider.kt31 @Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)