Home
last modified time | relevance | path

Searched refs:isNullable (Results 1 – 12 of 12) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/
DCompatibilityCheck.kt20 import com.android.tools.metalava.NullnessMigration.Companion.isNullable
111 if (implicitNullness == true && isNullable(old)) { in compare()
114 if (implicitNullness == false && !isNullable(old)) { in compare()
126 val oldNullable = isNullable(old) in compare()
127 val newNullable = isNullable(new) in compare()
DNullnessMigration.kt100 return isNullable(item) || isNonNull(item) in hasNullnessInformation()
107 fun isNullable(item: Item): Boolean { in isNullable() method
108 return item.modifiers.annotations().any { it.isNullable() } in isNullable()
DAnnotationsMerger.kt543 if (isNullable(name)) { in hasNullnessConflicts()
552 if (isNonNull(qualifiedName) && haveNullable || isNullable(qualifiedName) && haveNotNull) { in hasNullnessConflicts()
730 isNullable(name) -> return codebase.createAnnotation("@$ANDROIDX_NULLABLE") in createAnnotation()
758 private fun isNullable(name: String): Boolean { in isNullable() method in com.android.tools.metalava.AnnotationsMerger
DApiAnalyzer.kt863 method.modifiers.isNullable() in <lambda>()
869 val annotation = method.modifiers.annotations().find { it.isNullable() } in <lambda>()
DApiLint.kt1373 if (arg.modifiers.isNullable()) { in <lambda>()
1407 if (method.modifiers.isNullable()) { in <lambda>()
DConvertJarsToSignatureFiles.kt84 … val annotationClass = if (annotation.isNullable()) ANDROIDX_NULLABLE else ANDROIDX_NONNULL in <lambda>()
DDocAnalyzer.kt248 if (annotation.isNullable() || annotation.isNonNull()) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DModifierList.kt86 return annotations().any { it.isNonNull() || it.isNullable() } in <lambda>()
90 fun isNullable(): Boolean { in <lambda>() method
91 return annotations().any { it.isNullable() } in <lambda>()
DAnnotationItem.kt82 return isNullable() || isNonNull() in qualifiedName()
86 fun isNullable(): Boolean { in isNullable() method
DItem.kt252 val annotationClass = if (annotation.isNullable()) RECENTLY_NULLABLE else RECENTLY_NONNULL in psi()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypePrinter.kt375 if (annotation.isNullable()) { in <lambda>()
400 if (annotation.isNullable()) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextTypeItem.kt67 if (annotation.isNullable()) { in toTypeString()