Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/lang/reflect/
DModifierTest.java82 assertTrue(Modifier.isStatic(Modifier.STATIC)); in test_isStaticI()
83 assertTrue(!Modifier.isStatic(-1 & ~Modifier.STATIC)); in test_isStaticI()
DReflectionTest.java560 assertFalse(Modifier.isStatic(modifiers)); in testClassModifiers()
571 assertTrue(Modifier.isStatic(modifiers)); in testInnerClassModifiers()
587 Modifier.isStatic(modifiers); // return value is ignored in testAnonymousClassModifiers()
/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodHandles.java784 if (!Modifier.isStatic(modifiers)) { in findStatic()
917 if (Modifier.isStatic(m.getModifiers())) { in findVirtual()
1149 if (Modifier.isStatic(method.getModifiers())) { in findSpecial()
1336 final boolean isStatic = false; in findVarHandle()
1338 commonFieldChecks(field, recv, type, isStatic, performAccessChecks); in findVarHandle()
1370 boolean isStatic, boolean performAccessChecks) in commonFieldChecks() argument
1376 if (Modifier.isStatic(modifiers) != isStatic) { in commonFieldChecks()
1378 (isStatic ? "not " : "") + "static"; in commonFieldChecks()
1504 final boolean isStatic = true; in findStaticVarHandle()
1506 commonFieldChecks(field, decl, type, isStatic, performAccessChecks); in findStaticVarHandle()
[all …]
/libcore/libart/src/main/java/java/lang/invoke/
DFieldVarHandle.java40 if (Modifier.isStatic(field.getModifiers())) { in create()
/libcore/ojluni/src/test/java/time/test/java/time/
DAbstractTest.java91 if (Modifier.isStatic(field.getModifiers())) { in assertImmutable()
DTestZoneId.java104 if (Modifier.isStatic(field.getModifiers()) == false) { in test_immutable()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DModifierTest.java120 assertTrue("STATIC returned false", Modifier.isStatic(ALL_FLAGS)); in test_isStaticI()
121 assertTrue("STATIC returned false", Modifier.isStatic(Modifier.STATIC)); in test_isStaticI()
123 .isStatic(Modifier.TRANSIENT)); in test_isStaticI()
/libcore/ojluni/src/main/java/java/lang/reflect/
DModifier.java103 public static boolean isStatic(int mod) { in isStatic() method in Modifier
/libcore/luni/src/test/java/libcore/java/lang/
DLambdaImplementationTest.java282 if ((!Modifier.isStatic(modifiers) && Modifier.isPublic(modifiers))) { in addNonStaticPublicMethods()
362 assertFalse(Modifier.isStatic(classModifiers)); in assertGeneralLambdaClassCharacteristics()
/libcore/luni/src/test/java/libcore/libcore/io/
DBlockGuardOsTest.java279 if (Modifier.isStatic(method.getModifiers())) { in test_checkNewMethodsInPosix()
/libcore/ojluni/src/main/java/sun/misc/
DUnsafe.java81 if (Modifier.isStatic(field.getModifiers())) { in objectFieldOffset()
/libcore/ojluni/annotations/hiddenapi/java/lang/invoke/
DMethodHandles.java506 boolean isStatic, in commonFieldChecks() argument
/libcore/luni/src/test/java/libcore/java/net/
DURLTest.java192 assertTrue(Modifier.isStatic(factoryField.getModifiers())); in withCustomURLStreamHandlerFactory()
/libcore/support/src/test/java/tests/resources/
Djunit4-4.3.1.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...