Home
last modified time | relevance | path

Searched refs:typeNullability (Results 1 – 4 of 4) sorted by relevance

/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTextTypeItemFactory.kt77 val typeNullability = typeItem.modifiers.nullability() in <lambda>() constant
79 contextNullability.compute(typeNullability, typeItem.modifiers.annotations()) in <lambda>()
80 return if (actualTypeNullability != typeNullability) { in <lambda>()
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DAnnotationItem.kt70 val typeNullability: TypeNullability? in toSource() constant
249 val List<AnnotationItem>.typeNullability constant
250 get() = mapNotNull { it.typeNullability }.firstOrNull() in <lambda>()
409 override val typeNullability: TypeNullability? constant
410 get() = info.typeNullability
413 return info.typeNullability != null in isNullnessAnnotation()
417 return info.typeNullability == TypeNullability.NULLABLE in isNullable()
421 return info.typeNullability == TypeNullability.NONNULL in isNonNull()
DAnnotationInfo.kt41 internal val typeNullability: TypeNullability? = constant in com.android.tools.metalava.model.AnnotationInfo
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/type/
DTypeItemFactory.kt30 import com.android.tools.metalava.model.typeNullability in <lambda>()
231 ?: typeAnnotations.typeNullability
233 ?: itemAnnotations?.typeNullability