Home
last modified time | relevance | path

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

/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/
DPsiModifierItemTest.kt173 assertFalse(codebase.assertClass("TopLevel").modifiers.isStatic()) in <lambda>()
174 assertFalse(codebase.assertClass("TopLevel.Inner").modifiers.isStatic()) in <lambda>()
175 assertFalse(codebase.assertClass("Object").modifiers.isStatic()) in <lambda>()
177 assertTrue(codebase.assertClass("TopLevel.Nested").modifiers.isStatic()) in <lambda>()
178 assertTrue(codebase.assertClass("TopLevel.Interface").modifiers.isStatic()) in <lambda>()
179 assertTrue(codebase.assertClass("TopLevel.Annotation").modifiers.isStatic()) in <lambda>()
180 assertTrue(codebase.assertClass("TopLevel.Object").modifiers.isStatic()) in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/
DCompatibilityCheck.kt292 if (oldModifiers.isStatic() != newModifiers.isStatic()) { in compare()
497 if (!new.containingClass().isEnum() && !oldModifiers.isStatic()) { in compare()
517 if (oldModifiers.isStatic() != newModifiers.isStatic()) { in compare()
665 if (oldModifiers.isStatic() != newModifiers.isStatic()) { in compare()
678 oldModifiers.isStatic() && old.initialValue() != null in compare()
838 new.modifiers.isStatic() -> Issues.ADDED_METHOD in added()
DJDiffXmlWriter.kt108 writer.print(modifiers.isStatic()) in <lambda>()
145 writer.print(modifiers.isStatic()) in <lambda>()
183 writer.print(modifiers.isStatic()) in <lambda>()
221 writer.print(modifiers.isStatic()) in <lambda>()
DApiLint.kt324 if (modifiers.isStatic() && modifiers.isFinal()) { in <lambda>()
503 if (method.isConstructor() || method.modifiers.isStatic() || method.modifiers.isFinal()) { in <lambda>()
697 !method.modifiers.isStatic() in <lambda>()
702 !method.modifiers.isStatic() in <lambda>()
782 if (!modifiers.isStatic()) { 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>()
1024 if (!cls.modifiers.isStatic() && !cls.isTopLevelClass()) { in <lambda>()
1741 if (methods.none { !it.modifiers.isStatic() } && in <lambda>()
[all …]
DProguardWriter.kt69 if (modifiers.isStatic()) { in visitMethod()
110 if (modifiers.isStatic()) { in visitField()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DModifierList.kt38 fun isStatic(): Boolean in <lambda>() method
73 if (isStatic() != other.isStatic()) return false in <lambda>()
338 !list.isDefault() && !list.isStatic() in <lambda>()
353 if (list.isStatic() && (classItem == null || !classItem.isEnum())) { in <lambda>()
DDefaultModifierList.kt73 override fun isStatic(): Boolean { in isStatic() method
DMethodItem.kt64 !containingClass().modifiers.isStatic() in <lambda>()
DClassItem.kt644 … if (!fieldModifiers.isStatic() || !fieldModifiers.isFinal() || !fieldModifiers.isPublic()) { in <lambda>()
/tools/metalava/src/test/java/com/android/tools/metalava/model/
DAnnotationTargetTest.kt40 .filter { Modifier.isStatic(it.modifiers) } in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypeItem.kt530 is MemberItem -> containingClass().isAnnotationType() && !modifiers.isStatic() in Item()
531 is MethodItem -> containingClass().isEnum() && modifiers.isStatic() && in Item()
/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DJavaStubWriter.kt416 if (field.modifiers.isStatic()) { in <lambda>()
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/
DAsn1DerEncoder.java223 if (Modifier.isStatic(field.getModifiers())) { in getAnnotatedFields()
DAsn1BerParser.java537 if (Modifier.isStatic(field.getModifiers())) { in getAnnotatedFields()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DApiFile.kt532 if (cl.isInterface() && !modifiers.isDefault() && !modifiers.isStatic()) { in parseMethod()
/tools/apksig/src/test/java/com/android/apksig/
DApkVerifierTest.java1471 if (Modifier.isStatic(field.getModifiers()) && field.getType() == int.class) { in apkVerificationIssueAdapter_verifyAllBaseIssuesMapped()