Searched refs:findAnnotation (Results 1 – 8 of 8) sorted by relevance
177 … 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()
100 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>()
90 if (newModifiers.findAnnotation(qualifiedName) == null) { in <lambda>()
277 if (newModifiers.findAnnotation(qualifiedName) == null) { in mergeQualifierAnnotationsFromCodebase()326 new.modifiers.findAnnotation(qualifiedName) == null in mergeInclusionAnnotationsFromCodebase()
689 val annotation = method.modifiers.findAnnotation(ANDROID_REQUIRES_PERMISSION) in <lambda>()
175 return findAnnotation(qualifiedName) != null in <lambda>()179 fun findAnnotation(qualifiedName: String): AnnotationItem? { in <lambda>() method
359 val annotation = modifiers.findAnnotation("java.lang.annotation.Retention") in <lambda>()360 ?: modifiers.findAnnotation("kotlin.annotation.Retention") in <lambda>()
393 if (modifiers.findAnnotation("java.lang.annotation.Retention") != null) { in <lambda>()396 if (modifiers.findAnnotation("kotlin.annotation.Retention") != null) { in <lambda>()