Home
last modified time | relevance | path

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

/tools/metalava/src/main/java/com/android/tools/metalava/
DAndroidApiChecks.kt178 … val annotation = method.modifiers.findAnnotation("android.support.annotation.RequiresPermission") in checkRequiresPermission()
219 … val hasBehavior = field.modifiers.findAnnotation("android.annotation.BroadcastBehavior") != null in checkIntentAction()
220 … val hasSdkConstant = field.modifiers.findAnnotation("android.annotation.SdkConstant") != null in checkIntentAction()
263 if (modifiers.findAnnotation(SdkConstants.INT_DEF_ANNOTATION.oldName()) != null || in checkVariable()
264 modifiers.findAnnotation(SdkConstants.INT_DEF_ANNOTATION.newName()) != null in checkVariable()
DKotlinInteropChecks.kt101 val annotation = method.modifiers.findAnnotation("kotlin.jvm.Throws") in <lambda>()
142 if (modifiers.findAnnotation("kotlin.jvm.JvmField") == null) { in <lambda>()
147 } else if (modifiers.findAnnotation("kotlin.jvm.JvmStatic") != null) { in <lambda>()
247 } else if (method.modifiers.findAnnotation("kotlin.jvm.JvmStatic") == null) { in <lambda>()
292 if (haveDefault && method.modifiers.findAnnotation("kotlin.jvm.JvmOverloads") == null && in <lambda>()
DAnnotationsMerger.kt272 if (newModifiers.findAnnotation(qualifiedName) == null) { in mergeQualifierAnnotationsFromCodebase()
321 new.modifiers.findAnnotation(qualifiedName) == null in mergeInclusionAnnotationsFromCodebase()
DAnnotationsDiffer.kt93 if (newModifiers.findAnnotation(qualifiedName) == null) { in <lambda>()
DApiAnalyzer.kt691 val annotation = method.modifiers.findAnnotation(ANDROID_REQUIRES_PERMISSION) in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DModifierList.kt172 return findAnnotation(qualifiedName) != null in <lambda>()
176 fun findAnnotation(qualifiedName: String): AnnotationItem? { in <lambda>() method
DClassItem.kt359 val annotation = modifiers.findAnnotation("java.lang.annotation.Retention") in <lambda>()
360 ?: modifiers.findAnnotation("kotlin.annotation.Retention") in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiClassItem.kt390 if (modifiers.findAnnotation("java.lang.annotation.Retention") != null) { in <lambda>()
393 if (modifiers.findAnnotation("kotlin.annotation.Retention") != null) { in <lambda>()