Home
last modified time | relevance | path

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

/tools/metalava/metalava/src/main/java/com/android/tools/metalava/compatibility/
DCompatibilityCheck.kt99 val oldNullability = old.modifiers.nullability() in compareTypeNullability() constant
102 (oldNullability == TypeNullability.NONNULL || in compareTypeNullability()
103 oldNullability == TypeNullability.NULLABLE) && in compareTypeNullability()
109 …"Attempted to remove nullability from ${new.toTypeString()} (was $oldNullability) in ${describe(co… in compareTypeNullability()
111 } else if (oldNullability != newNullability) { in compareTypeNullability()
119 (oldNullability == TypeNullability.NULLABLE && in compareTypeNullability()
122 (oldNullability == TypeNullability.NONNULL && in compareTypeNullability()
129 (oldNullability == TypeNullability.NULLABLE && context is MethodItem) || in compareTypeNullability()
130 ((oldNullability == TypeNullability.NONNULL && context is ParameterItem)) in compareTypeNullability()
140 …"Attempted to change nullability of ${new.toTypeString()} (from $oldNullability to $newNullability… in compareTypeNullability()