Home
last modified time | relevance | path

Searched refs:findAnnotation (Results 1 – 12 of 12) sorted by relevance

/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DModifierList.kt128 return findAnnotation(qualifiedName) != null in isAnnotatedWith()
135 fun findAnnotation(qualifiedName: String): AnnotationItem? { in findAnnotation() method
137 return findAnnotation { mappedName == it.qualifiedName } in findAnnotation()
176 inline fun ModifierList.findAnnotation(predicate: (AnnotationItem) -> Boolean): AnnotationItem? { in findAnnotation() method
DAnnotationItem.kt437 ?.findAnnotation(AnnotationItem::isTypeDefAnnotation) in findTypedefAnnotation()
DClassItem.kt250 val annotation = modifiers.findAnnotation(AnnotationItem::isRetention) in <lambda>()
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineParameterItem.kt25 import com.android.tools.metalava.model.findAnnotation
43 val annotation = modifiers.findAnnotation(AnnotationItem::isParameterName) in name()
56 val annotation = modifiers.findAnnotation(AnnotationItem::isDefaultValue) in defaultValue()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DKotlinInteropChecks.kt113 val annotation = method.modifiers.findAnnotation("kotlin.jvm.Throws") in <lambda>()
157 if (modifiers.findAnnotation("kotlin.jvm.JvmField") == null) { in <lambda>()
163 } else if (modifiers.findAnnotation("kotlin.jvm.JvmStatic") != null) { in <lambda>()
276 } else if (method.modifiers.findAnnotation("kotlin.jvm.JvmStatic") == null) { in <lambda>()
321 method.modifiers.findAnnotation("kotlin.jvm.JvmOverloads") == null && in <lambda>()
DAndroidApiChecks.kt193 val annotation = method.modifiers.findAnnotation("androidx.annotation.RequiresPermission") in checkRequiresPermission()
245 field.modifiers.findAnnotation("android.annotation.BroadcastBehavior") != null in checkIntentAction()
247 field.modifiers.findAnnotation("android.annotation.SdkConstant") != null in checkIntentAction()
295 if (modifiers.findAnnotation(ANDROIDX_INT_DEF) != null) { in checkVariable()
DNullnessMigration.kt27 import com.android.tools.metalava.model.findAnnotation
107 return item.modifiers.findAnnotation(AnnotationItem::isNullnessAnnotation) in findNullnessAnnotation()
DApiAnalyzer.kt44 import com.android.tools.metalava.model.findAnnotation in <lambda>()
739 item.modifiers.findAnnotation(AnnotationItem::isShowAnnotation)?.let { in <lambda>()
760 val annotation = method.modifiers.findAnnotation(ANDROID_REQUIRES_PERMISSION) in <lambda>()
899 item.modifiers.findAnnotation(ANDROID_DEPRECATED_FOR_SDK) in <lambda>()
992 val annotation = method.modifiers.findAnnotation(AnnotationItem::isNullable) in <lambda>()
DExtractAnnotations.kt35 import com.android.tools.metalava.model.findAnnotation in <lambda>()
236 typeDefClass.modifiers.findAnnotation(AnnotationItem::isTypeDefAnnotation) in <lambda>()
DAnnotationsMerger.kt311 if (newModifiers.findAnnotation(qualifiedName) == null) { in <lambda>()
377 if (modifiers.findAnnotation(annotation.qualifiedName!!) == null) { in <lambda>()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiParameterItem.kt26 import com.android.tools.metalava.model.findAnnotation
100 val annotation = modifiers.findAnnotation(AnnotationItem::isParameterName) in name()
226 val annotation = modifiers.findAnnotation(AnnotationItem::isDefaultValue) in computeDefaultValue()
/tools/metalava/metalava-model/src/testFixtures/java/com/android/tools/metalava/model/
DAssertions.kt77 val annoItem = modifiers.findAnnotation(qualifiedName) in Item()