Home
last modified time | relevance | path

Searched refs:isNullnessAnnotation (Results 1 – 13 of 13) sorted by relevance

/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/
DNullabilityTesting.kt88 val nullabilityAnnotations = modifiers.annotations().filter { it.isNullnessAnnotation() } in assertHasNonNullNullability()
105 val nullabilityAnnotations = modifiers.annotations().filter { it.isNullnessAnnotation() } in assertHasNullableNullability()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiModifierItem.kt53 import com.android.tools.metalava.model.isNullnessAnnotation in <lambda>()
111 modifiers.removeAnnotations { it.isNullnessAnnotation() } in <lambda>()
406 isNullnessAnnotation(annotation.qualifiedName.orEmpty()) in <lambda>()
506 if (psiAnnotations.isNotEmpty() && annotations.none { it.isNullnessAnnotation() }) { in <lambda>()
509 psiAnnotation.qualifiedName?.let { isNullnessAnnotation(it) } == true in <lambda>()
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/type/
DDefaultTypeModifiers.kt85 .firstOrNull { it.isNullnessAnnotation() } in <lambda>()
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DAnnotationItem.kt21 fun isNullnessAnnotation(qualifiedName: String): Boolean = in <lambda>() method
73 fun isNullnessAnnotation(): Boolean in toSource() method
412 override fun isNullnessAnnotation(): Boolean { in isNullnessAnnotation() method
DModifierListWriter.kt297 } else if ((annotation.isNullnessAnnotation())) { in <lambda>()
DTypeItem.kt600 if (configuration.kotlinStyleNulls && annotation.isNullnessAnnotation()) { in hashCode()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/typeitem/
DCommonTypeStringTest.kt23 import com.android.tools.metalava.model.isNullnessAnnotation in <lambda>()
709 isNullnessAnnotation(name) in <lambda>()
726 isNullnessAnnotation(name) in <lambda>()
DCommonTypeModifiersTest.kt24 import com.android.tools.metalava.model.isNullnessAnnotation in <lambda>()
176 stringMethod.annotationNames().filter { !isNullnessAnnotation(it.orEmpty()) } in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DNullnessMigration.kt107 return item.modifiers.findAnnotation(AnnotationItem::isNullnessAnnotation) in findNullnessAnnotation()
DNullabilityAnnotationsValidator.kt157 it.isNullnessAnnotation() || isNullFromTypeParam(it) in <lambda>()
DAnnotationsMerger.kt304 if (annotation.isNullnessAnnotation()) { in <lambda>()
305 if (!newModifiers.hasAnnotation(AnnotationItem::isNullnessAnnotation)) { in <lambda>()
DApiAnalyzer.kt998 it.isNullnessAnnotation() in <lambda>()
/tools/metalava/metalava-model-psi/src/test/java/com/android/tools/metalava/model/psi/
DPsiPropertyItemTest.kt143 fun List<AnnotationItem>.exceptNullness() = filterNot { it.isNullnessAnnotation() } in annotation on properties()