Home
last modified time | relevance | path

Searched refs:NULLABLE (Results 1 – 18 of 18) sorted by relevance

/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DTypeModifiers.kt48 get() = nullability() == TypeNullability.NULLABLE in annotations()
70 NULLABLE("?"), in annotations()
84 NULLABLE in annotations()
DAnnotationInfo.kt43 isNullableAnnotation(qualifiedName) -> TypeNullability.NULLABLE
DAnnotationItem.kt417 return info.typeNullability == TypeNullability.NULLABLE in isNullable()
DTypeItem.kt1015 if (nullability == TypeNullability.NULLABLE) { in duplicate()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DKotlinTypeInfo.kt87 } else if (ktType.nullability == KtTypeNullability.NULLABLE) { in <lambda>()
88 TypeNullability.NULLABLE in <lambda>()
DPsiModifierItem.kt540 private val NULLABLE = Nullable::class.qualifiedName in <lambda>() constant
543 get() = qualifiedName == NOT_NULL || qualifiedName == NULLABLE in <lambda>()
DPsiParameterItem.kt330 KtTypeNullability.NULLABLE -> codebase.getNullableAnnotationProvider() in create()
DPsiTypeItemFactory.kt654 ContextNullability(TypeNullability.NULLABLE) in <lambda>()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/
DNullabilityTesting.kt104 assertThat(modifiers.nullability()).isEqualTo(TypeNullability.NULLABLE) in assertHasNullableNullability()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/compatibility/
DCompatibilityCheck.kt103 oldNullability == TypeNullability.NULLABLE) && in compareTypeNullability()
119 (oldNullability == TypeNullability.NULLABLE && in compareTypeNullability()
123 newNullability == TypeNullability.NULLABLE && in compareTypeNullability()
129 (oldNullability == TypeNullability.NULLABLE && context is MethodItem) || in compareTypeNullability()
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/type/
DTypeItemFactory.kt390 TypeNullability.NULLABLE.takeIf { parameterIndex == 0 } in self()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DAndroidApiChecks.kt319 Issues.NULLABLE, in checkVariable()
DAnnotationsMerger.kt837 item.type()?.modifiers?.setNullability(TypeNullability.NULLABLE) in <lambda>()
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/
DTextTypeParserTest.kt95 .isEqualTo(Pair("String", TypeNullability.NULLABLE)) in Test splitting Kotlin nullability suffix()
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTextTypeParser.kt584 Pair(type.dropLast(1), TypeNullability.NULLABLE) in <lambda>()
DApiFile.kt1787 } else if (nullability == TypeNullability.NULLABLE) { in synchronizeNullability()
/tools/metalava/metalava-reporter/src/main/java/com/android/tools/metalava/reporter/
DIssues.kt78 val NULLABLE by Issue(Severity.HIDDEN, Category.DOCUMENTATION) constant
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/classitem/
DCommonClassItemTest.kt1439 "nullableT" to Pair("java.lang.String?", TypeNullability.NULLABLE), in Test inheritMethodFromNonApiAncestor with type substitutions and not type use nullability annotations()