Home
last modified time | relevance | path

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

/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypeItemFactory.kt84 contextNullability: ContextNullability, in <lambda>()
89 return getType(underlyingType.psiType, underlyingType.context, contextNullability) in <lambda>()
99 contextNullability: ContextNullability = ContextNullability.none, in <lambda>()
113 return createTypeItem(psiType, kotlinTypeInfo, contextNullability) in <lambda>()
127 contextNullability = ContextNullability.forceNonNull, in <lambda>()
152 contextNullability: ContextNullability, in <lambda>()
157 val nullability = contextNullability.compute(kotlinType?.nullability(), typeAnnotations) in <lambda>()
165 contextNullability: ContextNullability = ContextNullability.none, in <lambda>()
178 contextNullability = contextNullability, in <lambda>()
206 contextNullability in <lambda>()
[all …]
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/type/
DTypeItemFactory.kt283 return getType(underlyingType, contextNullability = ContextNullability.forceNonNull) in getBoundsType()
297 val contextNullability = in getFieldType() constant
310 return getType(underlyingType, contextNullability = contextNullability) in getFieldType()
320 val contextNullability = in getMethodParameterType() constant
331 contextNullability = contextNullability, in getMethodParameterType()
345 val contextNullability = in getMethodReturnType() constant
357 return getType(underlyingReturnType, contextNullability = contextNullability) in getMethodReturnType()
374 contextNullability: ContextNullability = ContextNullability.none, in self()
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineTypeItemFactory.kt56 contextNullability: ContextNullability, in <lambda>()
58 ) = createType(underlyingType, isVarArg, contextNullability) in <lambda>()
62 contextNullability: ContextNullability, in <lambda>()
67 val nullability = contextNullability.compute(null, typeAnnotations) in <lambda>()
74 contextNullability: ContextNullability = ContextNullability.none, in <lambda>()
103 createArrayType(type as Type.ArrayTy, isVarArg, contextNullability) in <lambda>()
125 contextNullability in <lambda>()
135 val modifiers = createModifiers(type.annos(), contextNullability) in <lambda>()
196 contextNullability: ContextNullability, in <lambda>()
215 val componentType = getType(curr, contextNullability.forComponentType()) in <lambda>()
[all …]
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTextTypeItemFactory.kt54 contextNullability: ContextNullability, in <lambda>()
61 contextNullability, in <lambda>()
66 val forcedComponentNullability = contextNullability.forcedComponentNullability in <lambda>()
79 contextNullability.compute(typeNullability, typeItem.modifiers.annotations()) in <lambda>()
DTextTypeParser.kt82 contextNullability: ContextNullability = ContextNullability.none, in <lambda>()
83 ): TypeItem = cachedParseType(type, typeParameterScope, emptyList(), contextNullability) in <lambda>()
97 contextNullability: ContextNullability = ContextNullability.none, in <lambda>()
105 contextNullability.forcedNullability == TypeNullability.NONNULL || kotlinStyleNulls in <lambda>()