Home
last modified time | relevance | path

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

/tools/metalava/src/main/java/com/android/tools/metalava/
DNullnessMigration.kt100 return isNullable(item) || isNonNull(item) in hasNullnessInformation()
111 private fun isNonNull(item: Item): Boolean { in isNonNull() method
112 return item.modifiers.annotations().any { it.isNonNull() } in isNonNull()
DAnnotationsMerger.kt540 if (isNonNull(name)) { in hasNullnessConflicts()
552 if (isNonNull(qualifiedName) && haveNullable || isNullable(qualifiedName) && haveNotNull) { in hasNullnessConflicts()
728 isNonNull(name) -> return codebase.createAnnotation("@$ANDROIDX_NONNULL") in createAnnotation()
751 private fun isNonNull(name: String): Boolean { in isNonNull() method
DDocAnalyzer.kt248 if (annotation.isNullable() || annotation.isNonNull()) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DUAnnotationItem.kt70 override fun isNonNull(): Boolean { in <lambda>() method in com.android.tools.metalava.model.psi.UAnnotationItem
77 return super.isNonNull() in <lambda>()
DPsiAnnotationItem.kt71 override fun isNonNull(): Boolean { in <lambda>() method in com.android.tools.metalava.model.psi.PsiAnnotationItem
78 return super.isNonNull() in <lambda>()
DPsiTypePrinter.kt377 } else if (annotation.isNonNull()) { in <lambda>()
402 } else if (annotation.isNonNull()) { in <lambda>()
DPsiTypeItem.kt493 val provider = if (nullness.isNonNull()) { in getCanonicalText()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DAnnotationItem.kt82 return isNullable() || isNonNull() in qualifiedName()
91 fun isNonNull(): Boolean { in isNonNull() method
DModifierList.kt86 return annotations().any { it.isNonNull() || it.isNullable() } in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextTypeItem.kt69 } else if (annotation.isNonNull()) { in toTypeString()