Home
last modified time | relevance | path

Searched refs:hasAnnotation (Results 1 – 10 of 10) sorted by relevance

/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DNullnessMigration.kt28 import com.android.tools.metalava.model.hasAnnotation
111 return item.modifiers.hasAnnotation(AnnotationItem::isNullable) in isNullable()
115 return item.modifiers.hasAnnotation(AnnotationItem::isNonNull) in isNonNull()
DDefaultAnnotationManager.kt48 import com.android.tools.metalava.model.hasAnnotation in <lambda>()
480 if (cls.modifiers.hasAnnotation(AnnotationItem::isTypeDefAnnotation)) { in <lambda>()
523 return modifiers.hasAnnotation(AnnotationItem::isHideAnnotation) in <lambda>()
530 return modifiers.hasAnnotation(AnnotationItem::isSuppressCompatibilityAnnotation) in <lambda>()
DApiAnalyzer.kt761 var hasAnnotation = false in <lambda>() variable
764 hasAnnotation = true in <lambda>()
820 hasAnnotation = false in <lambda>()
835 if (!hasAnnotation) { in <lambda>()
DAnnotationsMerger.kt62 import com.android.tools.metalava.model.hasAnnotation in <lambda>()
305 if (!newModifiers.hasAnnotation(AnnotationItem::isNullnessAnnotation)) { in <lambda>()
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineParameterItem.kt26 import com.android.tools.metalava.model.hasAnnotation
52 return modifiers.hasAnnotation(AnnotationItem::isDefaultValue) in containingMethod()
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DModifierList.kt109 fun hasJvmSyntheticAnnotation(): Boolean = hasAnnotation(AnnotationItem::isJvmSynthetic) in hasJvmSyntheticAnnotation()
183 inline fun ModifierList.hasAnnotation(predicate: (AnnotationItem) -> Boolean): Boolean { in hasAnnotation() method
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiParameterItem.kt27 import com.android.tools.metalava.model.hasAnnotation
125 modifiers.hasAnnotation(AnnotationItem::isDefaultValue) in hasDefaultValue()
DPsiClassItem.kt33 import com.android.tools.metalava.model.hasAnnotation in <lambda>()
268 if (modifiers.hasAnnotation(AnnotationItem::isRetention)) { in <lambda>()
DPsiModifierItem.kt52 import com.android.tools.metalava.model.hasAnnotation in <lambda>()
163 modifiers.hasAnnotation { in <lambda>()
DPsiMethodItem.kt270 psiMethod.hasAnnotation(JvmStandardClassIds.JVM_OVERLOADS_FQ_NAME.asString()) && in <lambda>()