Home
last modified time | relevance | path

Searched refs:ContextNullability (Results 1 – 5 of 5) sorted by relevance

/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/type/
DTypeItemFactory.kt183 class ContextNullability( class
247 forcedComponentNullability?.let { ContextNullability(forcedNullability = it) } ?: none in forComponentType()
250 val none = ContextNullability()
251 val forceNonNull = ContextNullability(TypeNullability.NONNULL)
252 val forceUndefined = ContextNullability(TypeNullability.UNDEFINED)
283 return getType(underlyingType, contextNullability = ContextNullability.forceNonNull) in getBoundsType()
298 if (isEnumConstant) ContextNullability.forceNonNull in getFieldType()
300 ContextNullability( in getFieldType()
321 ContextNullability( in getMethodParameterType()
346 ContextNullability( in getMethodReturnType()
[all …]
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypeItemFactory.kt32 import com.android.tools.metalava.model.type.ContextNullability in <lambda>()
84 contextNullability: ContextNullability, in <lambda>()
99 contextNullability: ContextNullability = ContextNullability.none, in <lambda>()
127 contextNullability = ContextNullability.forceNonNull, in <lambda>()
142 ContextNullability.forceUndefined, in <lambda>()
152 contextNullability: ContextNullability, in <lambda>()
165 contextNullability: ContextNullability = ContextNullability.none, in <lambda>()
204 ContextNullability.forceUndefined in <lambda>()
256 modifiers = createTypeModifiers(psiType, kotlinType, ContextNullability.forceNonNull), in <lambda>()
282 contextNullability: ContextNullability, in <lambda>()
[all …]
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineTypeItemFactory.kt27 import com.android.tools.metalava.model.type.ContextNullability in <lambda>()
56 contextNullability: ContextNullability, in <lambda>()
62 contextNullability: ContextNullability, in <lambda>()
74 contextNullability: ContextNullability = ContextNullability.none, in <lambda>()
80 val modifiers = createModifiers(type.annos(), ContextNullability.forceNonNull) in <lambda>()
122 ContextNullability.forceNonNull in <lambda>()
143 createModifiers(type.annotations(), ContextNullability.forceUndefined) in <lambda>()
167 createModifiers(emptyList(), ContextNullability.forceNonNull), in <lambda>()
196 contextNullability: ContextNullability, in <lambda>()
229 Pair(ContextNullability.none, false) in <lambda>()
[all …]
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTextTypeItemFactory.kt26 import com.android.tools.metalava.model.type.ContextNullability in <lambda>()
54 contextNullability: ContextNullability, in <lambda>()
DTextTypeParser.kt36 import com.android.tools.metalava.model.type.ContextNullability in <lambda>()
82 contextNullability: ContextNullability = ContextNullability.none, in <lambda>()
97 contextNullability: ContextNullability = ContextNullability.none, in <lambda>()