Home
last modified time | relevance | path

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

/tools/metalava/metalava-model-psi/src/test/java/com/android/tools/metalava/model/psi/
DPsiModifierItemTest.kt210 assertFalse(codebase.assertClass("TopLevel").modifiers.isStatic()) in Kotlin class static modifiers()
211 assertFalse(codebase.assertClass("TopLevel.Inner").modifiers.isStatic()) in Kotlin class static modifiers()
212 assertFalse(codebase.assertClass("Object").modifiers.isStatic()) in Kotlin class static modifiers()
214 assertTrue(codebase.assertClass("TopLevel.Nested").modifiers.isStatic()) in Kotlin class static modifiers()
215 assertTrue(codebase.assertClass("TopLevel.Interface").modifiers.isStatic()) in Kotlin class static modifiers()
216 assertTrue(codebase.assertClass("TopLevel.Annotation").modifiers.isStatic()) in Kotlin class static modifiers()
217 assertTrue(codebase.assertClass("TopLevel.Object").modifiers.isStatic()) in Kotlin class static modifiers()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/fielditem/
DCommonCopyFieldItemTest.kt119 assertTrue(sourceMemberItem.modifiers.isStatic()) in test copy field from interface to class does copy static modifier()
120 assertTrue(copiedMemberItem.modifiers.isStatic()) in test copy field from interface to class does copy static modifier()
149 assertTrue(sourceMemberItem.modifiers.isStatic()) in test copy field from interface to class does set implicit static modifier()
150 assertTrue(copiedMemberItem.modifiers.isStatic()) in test copy field from interface to class does set implicit static modifier()
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DModifierList.kt34 @MetalavaApi fun isStatic(): Boolean in annotations() method
94 if (isStatic() != other.isStatic()) return false in annotations()
DModifierListWriter.kt157 if (list.isStatic() && (classItem == null || !classItem.isEnum())) { in <lambda>()
DDefaultModifierList.kt74 override fun isStatic(): Boolean { in isStatic() method
DMethodItem.kt584 private fun MethodItem.isOverrideable(): Boolean = !modifiers.isPrivate() && !modifiers.isStatic() in MethodItem()
DClassItem.kt545 !fieldModifiers.isStatic() || in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/compatibility/
DCompatibilityCheck.kt311 if (oldModifiers.isStatic() != newModifiers.isStatic()) { in compare()
523 if (!new.containingClass().isEnum() && !oldModifiers.isStatic()) { in compare()
560 if (oldModifiers.isStatic() != newModifiers.isStatic()) { in compare()
735 if (oldModifiers.isStatic() != newModifiers.isStatic()) { in compare()
753 oldModifiers.isStatic() && in compare()
888 new.modifiers.isStatic() -> Issues.ADDED_METHOD in added()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DJDiffXmlWriter.kt113 writer.print(modifiers.isStatic()) in <lambda>()
150 writer.print(modifiers.isStatic()) in <lambda>()
189 writer.print(modifiers.isStatic()) in <lambda>()
227 writer.print(modifiers.isStatic()) in <lambda>()
DProguardWriter.kt72 if (modifiers.isStatic()) { in visitMethod()
113 if (modifiers.isStatic()) { in visitField()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/methoditem/
DCommonCopyMethodItemTest.kt213 assertTrue(sourceMemberItem.modifiers.isStatic()) in test copy method from interface to class does copy static modifier()
214 assertTrue(copiedMemberItem.modifiers.isStatic()) in test copy method from interface to class does copy static modifier()
/tools/tradefederation/core/lite/com/android/tradefed/lite/
DHostUtils.java171 && !Modifier.isStatic(modifiers) in testLoadClass()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/apilevels/
DAddApisFromCodebase.kt243 !containingClass().modifiers.isStatic() in MethodItem()
/tools/metalava/metalava-model/src/testFixtures/java/com/android/tools/metalava/model/junit4/
DCustomizableParameterizedRunner.kt144 it.isPublic && it.isStatic in getAdditionalArguments()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/stub/
DJavaStubWriter.kt345 if (field.modifiers.isStatic()) { in <lambda>()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiMethodItem.kt328 val isAnnotationElement = containingClass.isAnnotationType() && !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/metalava/src/test/java/com/android/tools/metalava/
DSignatureInputOutputTest.kt158 assertThat(field.modifiers.isStatic()).isTrue() in <lambda>()
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineCodebaseInitialiser.kt708 classItem.isAnnotationType() && !methodModifierItem.isStatic() in <lambda>()
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DApiFile.kt1084 if (cl.isInterface() && !modifiers.isDefault() && !modifiers.isStatic()) { in parseMethod()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DHostTest.java1041 && !Modifier.isStatic(modifiers) in getClasses()
/tools/apksig/src/test/java/com/android/apksig/
DApkVerifierTest.java1691 if (Modifier.isStatic(field.getModifiers()) && field.getType() == int.class) { in apkVerificationIssueAdapter_verifyAllBaseIssuesMapped()