Home
last modified time | relevance | path

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

/tools/metalava/src/main/java/com/android/tools/metalava/model/
DAnnotationTarget.kt20 enum class AnnotationTarget { class
39 val NO_ANNOTATION_TARGETS = setOf(AnnotationTarget.INTERNAL)
56 AnnotationTarget.SIGNATURE_FILE,
57 AnnotationTarget.SDK_STUBS_FILE,
58 AnnotationTarget.DOC_STUBS_FILE,
59 AnnotationTarget.INTERNAL
67 AnnotationTarget.SIGNATURE_FILE,
68 AnnotationTarget.SDK_STUBS_FILE,
69 AnnotationTarget.INTERNAL
79 AnnotationTarget.SIGNATURE_FILE,
[all …]
DAnnotationItem.kt72 target: AnnotationTarget = AnnotationTarget.SIGNATURE_FILE, in toSource()
77 val targets: Set<AnnotationTarget> in toSource()
181 target: AnnotationTarget = AnnotationTarget.SIGNATURE_FILE in mapName()
237 …RECENTLY_NULLABLE -> return if (target == AnnotationTarget.SDK_STUBS_FILE) qualifiedName else ANDR… in mapName()
238 …RECENTLY_NONNULL -> return if (target == AnnotationTarget.SDK_STUBS_FILE) qualifiedName else ANDRO… in mapName()
356 private fun nullableAnnotationName(target: AnnotationTarget) = in nullableAnnotationName()
357 if (target == AnnotationTarget.SDK_STUBS_FILE) ANDROID_NULLABLE else ANDROIDX_NULLABLE in nullableAnnotationName()
359 private fun nonNullAnnotationName(target: AnnotationTarget) = in nullableAnnotationName()
360 if (target == AnnotationTarget.SDK_STUBS_FILE) ANDROID_NONNULL else ANDROIDX_NONNULL in nullableAnnotationName()
374 ): Set<AnnotationTarget> { in nullableAnnotationName()
[all …]
DModifierList.kt269 target: AnnotationTarget, in <lambda>()
421 target: AnnotationTarget, in <lambda>()
457 target: AnnotationTarget in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiAnnotationItem.kt27 import com.android.tools.metalava.model.AnnotationTarget in <lambda>()
58 override fun toSource(target: AnnotationTarget, showDefaultAttrs: Boolean): String { in <lambda>()
86 override val targets: Set<AnnotationTarget> by lazy { in <lambda>()
137 target: AnnotationTarget, in <lambda>()
174 target: AnnotationTarget, in <lambda>()
DUAnnotationItem.kt26 import com.android.tools.metalava.model.AnnotationTarget in <lambda>()
58 override fun toSource(target: AnnotationTarget, showDefaultAttrs: Boolean): String { in <lambda>()
84 override val targets: Set<AnnotationTarget> by lazy { in <lambda>()
121 target: AnnotationTarget, in <lambda>()
158 target: AnnotationTarget, in <lambda>()
DPsiMethodItem.kt19 import com.android.tools.metalava.model.AnnotationTarget in <lambda>()
305 target = AnnotationTarget.INTERNAL, in <lambda>()
333 target = AnnotationTarget.INTERNAL in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextModifiers.kt22 import com.android.tools.metalava.model.AnnotationTarget in <lambda>()
74 … override fun toSource(target: AnnotationTarget, showDefaultAttrs: Boolean): String = source in <lambda>()
84 ModifierList.write(writer, this, item, target = AnnotationTarget.SDK_STUBS_FILE) in <lambda>()
DTextBackedAnnotationItem.kt21 import com.android.tools.metalava.model.AnnotationTarget
59 override fun toSource(target: AnnotationTarget, showDefaultAttrs: Boolean): String = full
/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DStubWriter.kt22 import com.android.tools.metalava.model.AnnotationTarget in <lambda>()
61 if (docStubs) AnnotationTarget.DOC_STUBS_FILE else AnnotationTarget.SDK_STUBS_FILE in <lambda>()
DKotlinStubWriter.kt19 import com.android.tools.metalava.model.AnnotationTarget in <lambda>()
42 …private val annotationTarget = if (docStubs) AnnotationTarget.DOC_STUBS_FILE else AnnotationTarget in <lambda>()
DJavaStubWriter.kt19 import com.android.tools.metalava.model.AnnotationTarget in <lambda>()
43 …private val annotationTarget = if (docStubs) AnnotationTarget.DOC_STUBS_FILE else AnnotationTarget in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/
DSignatureWriter.kt19 import com.android.tools.metalava.model.AnnotationTarget in <lambda>()
164 target = AnnotationTarget.SIGNATURE_FILE, in <lambda>()
DExtractAnnotations.kt22 import com.android.tools.metalava.model.AnnotationTarget in <lambda>()
196 … } else if (annotation.targets.contains(AnnotationTarget.EXTERNAL_ANNOTATIONS_FILE) && in <lambda>()
DAnnotationsMerger.kt50 import com.android.tools.metalava.model.AnnotationTarget in <lambda>()
812 override fun toSource(target: AnnotationTarget, showDefaultAttrs: Boolean): String { in toSource()
/tools/metalava/src/test/java/com/android/tools/metalava/model/
DAnnotationTargetTest.kt19 import com.android.tools.metalava.model.AnnotationTarget.INTERNAL in <lambda>()