Home
last modified time | relevance | path

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

/tools/metalava/src/main/java/com/android/tools/metalava/
DNullnessMigration.kt100 val annotationClass = if (annotation.isNullable()) RECENTLY_NULLABLE else RECENTLY_NONNULL in markRecent()
111 return isNullable(item) || isNonNull(item) in hasNullnessInformation()
118 fun isNullable(item: Item): Boolean { in isNullable() method
119 return item.modifiers.annotations().any { it.isNullable() } in isNullable()
DCompatibilityCheck.kt20 import com.android.tools.metalava.NullnessMigration.Companion.isNullable
110 if (implicitNullness == true && isNullable(old)) { in compare()
113 if (implicitNullness == false && !isNullable(old)) { in compare()
125 val oldNullable = isNullable(old) in compare()
126 val newNullable = isNullable(new) in compare()
DAnnotationsMerger.kt542 if (isNullable(name)) { in hasNullnessConflicts()
551 if (isNonNull(qualifiedName) && haveNullable || isNullable(qualifiedName) && haveNotNull) { in hasNullnessConflicts()
729 isNullable(name) -> return codebase.createAnnotation("@$ANDROIDX_NULLABLE") in createAnnotation()
757 private fun isNullable(name: String): Boolean { in isNullable() method
DConvertJarsToSignatureFiles.kt84 … val annotationClass = if (annotation.isNullable()) ANDROIDX_NULLABLE else ANDROIDX_NONNULL in <lambda>()
DApiAnalyzer.kt867 method.modifiers.isNullable() in <lambda>()
873 val annotation = method.modifiers.annotations().find { it.isNullable() } in <lambda>()
DDocAnalyzer.kt243 if (annotation.isNullable() || annotation.isNonNull()) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DModifierList.kt85 return annotations().any { it.isNonNull() || it.isNullable() } in hasNullnessInfo()
89 fun isNullable(): Boolean { in isNullable() method
90 return annotations().any { it.isNullable() } in isNullable()
DAnnotationItem.kt73 return isNullable() || isNonNull() in qualifiedName()
77 fun isNullable(): Boolean { in isNullable() method
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypePrinter.kt378 if (annotation.isNullable()) { in <lambda>()
403 if (annotation.isNullable()) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextTypeItem.kt67 if (annotation.isNullable()) { in toTypeString()