Searched refs:findAnnotation (Results 1 – 12 of 12) sorted by relevance
128 return findAnnotation(qualifiedName) != null in isAnnotatedWith()135 fun findAnnotation(qualifiedName: String): AnnotationItem? { in findAnnotation() method137 return findAnnotation { mappedName == it.qualifiedName } in findAnnotation()176 inline fun ModifierList.findAnnotation(predicate: (AnnotationItem) -> Boolean): AnnotationItem? { in findAnnotation() method
437 ?.findAnnotation(AnnotationItem::isTypeDefAnnotation) in findTypedefAnnotation()
250 val annotation = modifiers.findAnnotation(AnnotationItem::isRetention) in <lambda>()
25 import com.android.tools.metalava.model.findAnnotation43 val annotation = modifiers.findAnnotation(AnnotationItem::isParameterName) in name()56 val annotation = modifiers.findAnnotation(AnnotationItem::isDefaultValue) in defaultValue()
113 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>()
193 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()
27 import com.android.tools.metalava.model.findAnnotation107 return item.modifiers.findAnnotation(AnnotationItem::isNullnessAnnotation) in findNullnessAnnotation()
44 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>()
35 import com.android.tools.metalava.model.findAnnotation in <lambda>()236 typeDefClass.modifiers.findAnnotation(AnnotationItem::isTypeDefAnnotation) in <lambda>()
311 if (newModifiers.findAnnotation(qualifiedName) == null) { in <lambda>()377 if (modifiers.findAnnotation(annotation.qualifiedName!!) == null) { in <lambda>()
26 import com.android.tools.metalava.model.findAnnotation100 val annotation = modifiers.findAnnotation(AnnotationItem::isParameterName) in name()226 val annotation = modifiers.findAnnotation(AnnotationItem::isDefaultValue) in computeDefaultValue()
77 val annoItem = modifiers.findAnnotation(qualifiedName) in Item()