/libcore/ojluni/src/test/java/lang/invoke/VarHandles/accessibility/ |
D | TestFieldLookupAccessibility.java | 63 return !Modifier.isStatic(f.getModifiers()); in MH_GETTER() 72 return !Modifier.isStatic(f.getModifiers()) && !Modifier.isFinal(f.getModifiers()); in MH_SETTER() 81 return Modifier.isStatic(f.getModifiers()); in MH_STATIC_GETTER() 90 return Modifier.isStatic(f.getModifiers()) && !Modifier.isFinal(f.getModifiers()); in MH_STATIC_SETTER() 123 return !Modifier.isStatic(f.getModifiers()); in VH() 132 return Modifier.isStatic(f.getModifiers()); in VH_STATIC()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ModifierTest.java | 82 assertTrue(Modifier.isStatic(Modifier.STATIC)); in test_isStaticI() 83 assertTrue(!Modifier.isStatic(-1 & ~Modifier.STATIC)); in test_isStaticI()
|
D | ReflectionTest.java | 560 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/ |
D | StaticFieldVarHandle.java | 35 assert Modifier.isStatic(staticField.getModifiers()); in create()
|
D | FieldVarHandle.java | 40 assert !Modifier.isStatic(field.getModifiers()); in create()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodHandles.java | 844 if (!Modifier.isStatic(modifiers)) { in findStatic() 977 if (Modifier.isStatic(m.getModifiers())) { in findVirtual() 1369 if (Modifier.isStatic(method.getModifiers())) { in findSpecial() 1555 final boolean isStatic = false; in findVarHandle() 1557 commonFieldChecks(field, recv, type, isStatic, performAccessChecks); in findVarHandle() 1589 boolean isStatic, boolean performAccessChecks) in commonFieldChecks() argument 1595 if (Modifier.isStatic(modifiers) != isStatic) { in commonFieldChecks() 1597 (isStatic ? "not " : "") + "static"; in commonFieldChecks() 1722 final boolean isStatic = true; in findStaticVarHandle() 1724 commonFieldChecks(field, decl, type, isStatic, performAccessChecks); in findStaticVarHandle() [all …]
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | AbstractTest.java | 91 if (Modifier.isStatic(field.getModifiers())) { in assertImmutable()
|
D | TestZoneId.java | 104 if (Modifier.isStatic(field.getModifiers()) == false) { in test_immutable()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | ModifierTest.java | 120 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/test/java/lang/invoke/ |
D | MethodHandlesGeneralTest.java | 491 …void testUnreflect(Class<?> defc, boolean isStatic, Class<?> ret, String name, Class<?>... params)… in testUnreflect() argument 493 …testUnreflectMaybeSpecial(null, (Boolean)ac[0], (Lookup)ac[1], defc, (isStatic ? null : defc), ret… in testUnreflect() 516 boolean isStatic = (rcvc == null); in testUnreflectMaybeSpecial() 534 +( isStatic ? "" : " receiver="+rcvc) in testUnreflectMaybeSpecial() 540 assertEquals(isStatic, Modifier.isStatic(rmethod.getModifiers())); in testUnreflectMaybeSpecial() 542 if (!isStatic) { in testUnreflectMaybeSpecial() 546 if (isStatic) { in testUnreflectMaybeSpecial() 641 boolean isStatic; in testAccessor() 647 isStatic = Modifier.isStatic(f.getModifiers()); in testAccessor() 653 isStatic = (Boolean) scnt[0]; in testAccessor() [all …]
|
D | MethodHandlesTest.java | 583 boolean isStatic = (kind != 0); 585 String name = (isStatic ? "s" : "f") + btc; 601 if (isStatic) v++; 606 assertTrue(isStatic == (Modifier.isStatic(field.getModifiers()))); 618 static boolean testModeMatches(int testMode, boolean isStatic) { 620 case TEST_FIND_STATIC: return isStatic; 621 case TEST_FIND_FIELD: return !isStatic;
|
D | PermuteArgsTest.java | 148 Modifier.isStatic(m.getModifiers())) { in test0() 221 Modifier.isStatic(m.getModifiers())) { in findTestMH()
|
/libcore/ojluni/src/test/java/util/Properties/ |
D | CheckOverrides.java | 70 return !Modifier.isStatic(mods) && in isMethodOfInterest()
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Modifier.java | 104 public static boolean isStatic(int mod) { in isStatic() method in Modifier
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | LambdaImplementationTest.java | 282 if ((!Modifier.isStatic(modifiers) && Modifier.isPublic(modifiers))) { in addNonStaticPublicMethods() 362 assertFalse(Modifier.isStatic(classModifiers)); in assertGeneralLambdaClassCharacteristics()
|
/libcore/ojluni/src/test/java/util/Arrays/ |
D | CopyMethods.java | 388 if (!Modifier.isStatic(m.getModifiers())) continue; 403 if (!Modifier.isStatic(m.getModifiers())) continue;
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | Unsafe.java | 82 if (Modifier.isStatic(field.getModifiers())) { in objectFieldOffset()
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | BlockGuardOsTest.java | 328 if (Modifier.isStatic(method.getModifiers())) { in test_checkNewMethodsInPosix()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | DefaultMethodStreams.java | 99 .filter(m -> !Modifier.isStatic(m.getModifiers())) in verify() 107 .filter(m -> !Modifier.isStatic(m.getModifiers())) in verify()
|
/libcore/ojluni/src/test/java/lang/String/concat/ |
D | ImplicitStringConcatMany.java | 138 if (Modifier.isStatic(f.getModifiers())) {
|
D | ImplicitStringConcatManyLongs.java | 138 if (Modifier.isStatic(f.getModifiers())) {
|
/libcore/ojluni/src/main/java/jdk/internal/misc/ |
D | Unsafe.java | 1216 if (Modifier.isStatic(f.getModifiers())) { in objectFieldOffset()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/invoke/ |
D | MethodHandles.java | 506 boolean isStatic, in commonFieldChecks() argument
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | URLTest.java | 192 assertTrue(Modifier.isStatic(factoryField.getModifiers())); in withCustomURLStreamHandlerFactory()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Class.java | 2980 if (result != null && !Modifier.isStatic(result.getModifiers())) { in getInstanceMethod()
|