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.kt177 … val annotation = method.modifiers.findAnnotation("android.support.annotation.RequiresPermission") in checkRequiresPermission()
218 … val hasBehavior = field.modifiers.findAnnotation("android.annotation.BroadcastBehavior") != null in checkIntentAction()
219 … val hasSdkConstant = field.modifiers.findAnnotation("android.annotation.SdkConstant") != null in checkIntentAction()
262 if (modifiers.findAnnotation(SdkConstants.INT_DEF_ANNOTATION.oldName()) != null || in checkVariable()
263 modifiers.findAnnotation(SdkConstants.INT_DEF_ANNOTATION.newName()) != null in checkVariable()
DKotlinInteropChecks.kt100 val annotation = method.modifiers.findAnnotation("kotlin.jvm.Throws") in <lambda>()
141 if (modifiers.findAnnotation("kotlin.jvm.JvmField") == null) { in <lambda>()
146 } else if (modifiers.findAnnotation("kotlin.jvm.JvmStatic") != null) { in <lambda>()
246 } else if (method.modifiers.findAnnotation("kotlin.jvm.JvmStatic") == null) { in <lambda>()
288 if (haveDefault && method.modifiers.findAnnotation("kotlin.jvm.JvmOverloads") == null && in <lambda>()
DAnnotationsDiffer.kt90 if (newModifiers.findAnnotation(qualifiedName) == null) { in <lambda>()
DAnnotationsMerger.kt277 if (newModifiers.findAnnotation(qualifiedName) == null) { in mergeQualifierAnnotationsFromCodebase()
326 new.modifiers.findAnnotation(qualifiedName) == null in mergeInclusionAnnotationsFromCodebase()
DApiAnalyzer.kt689 val annotation = method.modifiers.findAnnotation(ANDROID_REQUIRES_PERMISSION) in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DModifierList.kt175 return findAnnotation(qualifiedName) != null in <lambda>()
179 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.kt393 if (modifiers.findAnnotation("java.lang.annotation.Retention") != null) { in <lambda>()
396 if (modifiers.findAnnotation("kotlin.annotation.Retention") != null) { in <lambda>()