Home
last modified time | relevance | path

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

/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/
DPsiModifierItemTest.kt94 assertFalse(it.isFinal()) in <lambda>()
100 assertFalse(it.isFinal()) in <lambda>()
105 assertFalse(it.isFinal()) in <lambda>()
110 assertTrue(it.isFinal()) in <lambda>()
115 assertTrue(it.isFinal()) in <lambda>()
120 assertFalse(it.isFinal()) in <lambda>()
125 assertFalse(it.isFinal()) in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DModifierList.kt40 fun isFinal(): Boolean in <lambda>() method
75 if (isFinal() != other.isFinal()) { return false } in <lambda>()
288 override fun isFinal(): Boolean { in <lambda>() method
289 return if (removeFinal) false else modifiers.isFinal() in <lambda>()
357 if (list.isFinal() && in <lambda>()
364 } else if (!list.isFinal() && language == Language.KOTLIN) { in <lambda>()
DMemberItem.kt38 return modifiers.isFinal() || in name()
39 containingClass().modifiers.isFinal() || in name()
DDefaultModifierList.kt81 override fun isFinal(): Boolean { in isFinal() method
278isFinal() && (owner as? MethodItem)?.containingClass()?.modifiers?.isFinal() == true in equivalentTo()
DAnnotationItem.kt573 … (item.isEnumConstant() || item.modifiers.isFinal() && item.initialValue(false) != null) in getImplicitNullness()
577 } else if (item is FieldItem && item.modifiers.isFinal()) { in getImplicitNullness()
DFieldItem.kt143 if (modifiers.isFinal() && initialValue(true) != null) { in <lambda>()
DClassItem.kt644 … if (!fieldModifiers.isStatic() || !fieldModifiers.isFinal() || !fieldModifiers.isPublic()) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/
DCompatibilityCheck.kt274 if (!oldModifiers.isFinal() && newModifiers.isFinal()) { in compare()
627 val prevString = if (prevValue == null && !old.modifiers.isFinal()) { in compare()
671 if (!oldModifiers.isFinal() && newModifiers.isFinal()) { in compare()
677 oldModifiers.isFinal() && !newModifiers.isFinal() && in compare()
DJDiffXmlWriter.kt110 writer.print(modifiers.isFinal()) in <lambda>()
147 writer.print(modifiers.isFinal()) in <lambda>()
185 writer.print(modifiers.isFinal()) in <lambda>()
223 writer.print(modifiers.isFinal()) in <lambda>()
DApiLint.kt324 if (modifiers.isStatic() && modifiers.isFinal()) { in <lambda>()
503 if (method.isConstructor() || method.modifiers.isStatic() || method.modifiers.isFinal()) { in <lambda>()
510 cls.modifiers.isFinal() -> return in <lambda>()
734 if (!cls.modifiers.isFinal()) { in <lambda>()
771 if (!modifiers.isFinal()) { in <lambda>()
797 if (!modifiers.isStatic() || !modifiers.isFinal()) { in <lambda>()
811 …if (modifiers.isFinal() && modifiers.isStatic() && type.isString() && className in settingsKeyClas… in <lambda>()
983 if (modifiers.isFinal() || modifiers.isStatic()) { in <lambda>()
1018 if (!cls.modifiers.isFinal()) { in <lambda>()
2429 if (!type.isString() || !field.modifiers.isFinal() || !field.modifiers.isStatic() || in <lambda>()
DKotlinInteropChecks.kt131 if (modifiers.isPublic() && modifiers.isFinal()) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiMethodItem.kt378 if (modifiers.isFinal() && containingClass.modifiers.isFinal()) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DJavaStubWriter.kt407 … field.modifiers.isFinal() && field.initialValue(true) == null && field.containingClass().isClass() in <lambda>()