Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodHandles.java784 if (!Modifier.isStatic(modifiers)) { in findStatic()
917 if (Modifier.isStatic(m.getModifiers())) { in findVirtual()
1150 if (Modifier.isStatic(method.getModifiers())) { in findSpecial()
1337 final boolean isStatic = false; in findVarHandle()
1339 commonFieldChecks(field, recv, type, isStatic, performAccessChecks); in findVarHandle()
1371 boolean isStatic, boolean performAccessChecks) in commonFieldChecks() argument
1377 if (Modifier.isStatic(modifiers) != isStatic) { in commonFieldChecks()
1379 (isStatic ? "not " : "") + "static"; in commonFieldChecks()
1505 final boolean isStatic = true; in findStaticVarHandle()
1507 commonFieldChecks(field, decl, type, isStatic, performAccessChecks); in findStaticVarHandle()
[all …]
/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/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/ojluni/src/main/java/sun/misc/
DUnsafe.java81 if (Modifier.isStatic(field.getModifiers())) { in objectFieldOffset()
/libcore/luni/src/test/java/libcore/libcore/io/
DBlockGuardOsTest.java328 if (Modifier.isStatic(method.getModifiers())) { in test_checkNewMethodsInPosix()
/libcore/ojluni/annotations/hiddenapi/java/lang/invoke/
DMethodHandles.java506 boolean isStatic, in commonFieldChecks() argument
/libcore/ojluni/src/main/java/java/lang/
DClass.java2133 if (result != null && !Modifier.isStatic(result.getModifiers())) { in getInstanceMethod()
/libcore/luni/src/test/java/libcore/java/net/
DURLTest.java192 assertTrue(Modifier.isStatic(factoryField.getModifiers())); in withCustomURLStreamHandlerFactory()
/libcore/api/
Dcurrent.txt4598 method public static boolean isStatic(int);