Searched refs:STATIC (Results 1 – 13 of 13) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | ModifierTest.java | 121 assertTrue("STATIC returned false", Modifier.isStatic(Modifier.STATIC)); in test_isStaticI() 201 assertEquals(8, Modifier.STATIC); in test_Constants_Value() 316 assertEquals(Modifier.STATIC, StaticClazz.class.getModifiers()); in test_Class_Modifier() 317 assertEquals(Modifier.INTERFACE + Modifier.STATIC + Modifier.ABSTRACT, in test_Class_Modifier() 338 assertEquals(Modifier.PUBLIC + Modifier.STATIC, PublicStaticClazz.class in test_Class_Modifier() 340 assertEquals(Modifier.PROTECTED + Modifier.STATIC, in test_Class_Modifier() 342 assertEquals(Modifier.PRIVATE + Modifier.STATIC, in test_Class_Modifier() 345 assertEquals(Modifier.PUBLIC + Modifier.INTERFACE + Modifier.STATIC in test_Class_Modifier() 347 assertEquals(Modifier.STATIC + Modifier.FINAL, StaticFinalClazz.class in test_Class_Modifier() 349 assertEquals(Modifier.PRIVATE + Modifier.INTERFACE + Modifier.STATIC in test_Class_Modifier() [all …]
|
D | MethodTest.java | 299 mask = Modifier.PUBLIC | Modifier.STATIC; in test_getModifiers() 307 mask = Modifier.PRIVATE | Modifier.STATIC; in test_getModifiers() 315 mask = (Modifier.PUBLIC | Modifier.STATIC) | Modifier.SYNCHRONIZED; in test_getModifiers() 323 mask = ((Modifier.PUBLIC | Modifier.STATIC) | Modifier.SYNCHRONIZED) in test_getModifiers()
|
D | FieldTest.java | 966 int mask = (Modifier.PROTECTED | Modifier.STATIC) in test_getModifiers()
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Modifier.java | 90 return (mod & STATIC) != 0; in isStatic() 238 if ((mod & STATIC) != 0) sb.append("static "); in toString() 279 public static final int STATIC = 0x00000008; field in Modifier 382 Modifier.ABSTRACT | Modifier.STATIC | Modifier.FINAL | 391 Modifier.ABSTRACT | Modifier.STATIC | Modifier.STRICT; 407 Modifier.ABSTRACT | Modifier.STATIC | Modifier.FINAL | 416 Modifier.STATIC | Modifier.FINAL | Modifier.TRANSIENT |
|
/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 | MethodTest.java | 359 assertEquals(Modifier.PUBLIC | Modifier.STATIC, method.getModifiers()); in testStaticInterfaceMethod_getMethod() 366 assertEquals(Modifier.PUBLIC | Modifier.STATIC, declaredMethod.getModifiers()); in testStaticInterfaceMethod_getDeclaredMethod()
|
/libcore/luni/src/test/java/libcore/sun/util/logging/ |
D | PlatformLoggerTest.java | 56 int requiredModifiers = Modifier.STATIC | Modifier.FINAL; in assertLogLevel()
|
/libcore/luni/src/main/java/libcore/util/ |
D | Objects.java | 48 if ((f.getModifiers() & (Modifier.STATIC | Modifier.TRANSIENT)) != 0) { in toString()
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectStreamClass.java | 1401 if ((mods & (Modifier.STATIC | Modifier.ABSTRACT)) != 0) { in getInheritableMethod() 1426 ((mods & Modifier.STATIC) == 0) && in getPrivateMethod() 1578 int mask = Modifier.PRIVATE | Modifier.STATIC | Modifier.FINAL; in getDeclaredSerialFields() 1608 ((f.getModifiers() & Modifier.STATIC) == 0)) in getDeclaredSerialFields() 1632 int mask = Modifier.STATIC | Modifier.TRANSIENT; in getDefaultSerialFields() 1651 int mask = Modifier.STATIC | Modifier.FINAL; in getDeclaredSUID() 1723 Modifier.STATIC | Modifier.FINAL | Modifier.VOLATILE | in computeDefaultSUID() 1726 ((mods & (Modifier.STATIC | Modifier.TRANSIENT)) == 0)) in computeDefaultSUID() 1738 dout.writeInt(Modifier.STATIC); in computeDefaultSUID() 1756 Modifier.STATIC | Modifier.FINAL | in computeDefaultSUID() [all …]
|
/libcore/ojluni/src/main/java/sun/invoke/util/ |
D | VerifyAccess.java | 114 if ((mods & STATIC) != 0 && in isMemberAccessible()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Class.java | 1096 componentModifiers &= ~(Modifier.INTERFACE | Modifier.STATIC); in getModifiers()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodHandles.java | 539 public static final int PACKAGE = Modifier.STATIC;
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | CompletableFutureTest.java | 3732 (method) -> (method.getModifiers() & Modifier.STATIC) == 0; in testMinimalCompletionStage_minimality()
|