Searched refs:findAnnotation (Results 1 – 9 of 9) sorted by relevance
96 val annotation = method.modifiers.findAnnotation("kotlin.jvm.Throws") in ensureExceptionsDocumented()136 if (modifiers.findAnnotation("kotlin.jvm.JvmField") == null) { in ensureCompanionFieldJvmField()141 } else if (modifiers.findAnnotation("kotlin.jvm.JvmStatic") != null) { in ensureCompanionFieldJvmField()213 } else if (method.modifiers.findAnnotation("kotlin.jvm.JvmStatic") == null) { in ensureCompanionJvmStatic()253 if (haveDefault && method.modifiers.findAnnotation("kotlin.jvm.JvmOverloads") == null && in ensureDefaultParamsHaveJvmOverloads()
178 … 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()
93 if (newModifiers.findAnnotation(qualifiedName) == null) { in <lambda>()
273 if (newModifiers.findAnnotation(qualifiedName) == null) { in mergeQualifierAnnotationsFromCodebase()320 new.modifiers.findAnnotation(qualifiedName) == null in mergeInclusionAnnotationsFromCodebase()
166 val annotation = item.modifiers.findAnnotation("android.annotation.SuppressLint") in toString()
695 val annotation = method.modifiers.findAnnotation(ANDROID_REQUIRES_PERMISSION) in <lambda>()
135 return findAnnotation(qualifiedName) != null in isAnnotatedWith()139 fun findAnnotation(qualifiedName: String): AnnotationItem? { in findAnnotation() method
356 val annotation = modifiers.findAnnotation("java.lang.annotation.Retention") in <lambda>()357 ?: modifiers.findAnnotation("kotlin.annotation.Retention") in <lambda>()
381 if (modifiers.findAnnotation("java.lang.annotation.Retention") != null) { in <lambda>()384 if (modifiers.findAnnotation("kotlin.annotation.Retention") != null) { in <lambda>()