Home
last modified time | relevance | path

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

/tools/metalava/metalava-model-psi/src/test/java/com/android/tools/metalava/model/psi/
DPsiModifierItemTest.kt132 assertFalse(it.isFinal()) in Kotlin class abstract and final modifiers()
138 assertFalse(it.isFinal()) in Kotlin class abstract and final modifiers()
143 assertFalse(it.isFinal()) in Kotlin class abstract and final modifiers()
148 assertTrue(it.isFinal()) in Kotlin class abstract and final modifiers()
153 assertTrue(it.isFinal()) in Kotlin class abstract and final modifiers()
158 assertFalse(it.isFinal()) in Kotlin class abstract and final modifiers()
163 assertFalse(it.isFinal()) in Kotlin class abstract and final modifiers()
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DMemberItem.kt44 return modifiers.isFinal() || in name()
45 containingClass().modifiers.isFinal() || in name()
54 return !modifiers.isFinal() && containingClass().isExtensible() in canBeExternallyOverridden()
DModifierList.kt38 fun isFinal(): Boolean in annotations() method
96 if (isFinal() != other.isFinal()) { in annotations()
DModifierListWriter.kt164 list.isFinal() && in <lambda>()
171 (!normalize || methodItem?.containingClass()?.modifiers?.isFinal() != true) in <lambda>()
177 if (!list.isFinal()) { in <lambda>()
DDefaultModifierList.kt82 override fun isFinal(): Boolean { in isFinal() method
315 isFinal() && in equivalentTo()
316 (owner as? MethodItem)?.containingClass()?.modifiers?.isFinal() == true in equivalentTo()
DClassItem.kt546 !fieldModifiers.isFinal() || in <lambda>()
793 !modifiers.isFinal() && in <lambda>()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/methoditem/
DCommonCopyMethodItemTest.kt258 assertFalse(sourceClassItem.modifiers.isFinal()) in test copy non-final method from non-final class to final class does not change final()
259 assertFalse(sourceMemberItem.modifiers.isFinal()) in test copy non-final method from non-final class to final class does not change final()
260 assertTrue(targetClassItem.modifiers.isFinal()) in test copy non-final method from non-final class to final class does not change final()
261 assertFalse(copiedMemberItem.modifiers.isFinal()) in test copy non-final method from non-final class to final class does not change final()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DJDiffXmlWriter.kt115 writer.print(modifiers.isFinal()) in <lambda>()
152 writer.print(modifiers.isFinal()) in <lambda>()
191 writer.print(modifiers.isFinal()) in <lambda>()
229 writer.print(modifiers.isFinal()) in <lambda>()
DKotlinInteropChecks.kt144 if (modifiers.isPublic() && modifiers.isFinal()) { in <lambda>()
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/type/
DTypeItemFactory.kt110 isFinal: Boolean, in <lambda>()
291 isFinal: Boolean, in getFieldType()
304 TypeNullability.NONNULL.takeIf { isFinal && isInitialValueNonNull() } in getFieldType()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/compatibility/
DCompatibilityCheck.kt288 if (!oldModifiers.isFinal() && newModifiers.isFinal()) { in compare()
694 if (prevValue == null && !old.modifiers.isFinal()) { in compare()
743 if (!oldModifiers.isFinal() && newModifiers.isFinal()) { in compare()
751 oldModifiers.isFinal() && in compare()
752 !newModifiers.isFinal() && in compare()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiFieldItem.kt129 isFinal = modifiers.isFinal(), in create()
DPsiMethodItem.kt350 if (modifiers.isFinal() && containingClass.modifiers.isFinal()) { in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/stub/
DJavaStubWriter.kt334 field.modifiers.isFinal() && in <lambda>()
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineCodebaseInitialiser.kt649 isFinal = fieldModifierItem.isFinal(), in <lambda>()
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DApiFile.kt1172 isFinal = modifiers.isFinal(), in parseField()