Searched refs:STATIC (Results 1 – 16 of 16) 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 | 104 return (mod & STATIC) != 0; in isStatic() 253 if ((mod & STATIC) != 0) sb.append("static "); in toString() 294 public static final int STATIC = 0x00000008; field in Modifier 400 Modifier.ABSTRACT | Modifier.STATIC | Modifier.FINAL | 409 Modifier.ABSTRACT | Modifier.STATIC | Modifier.STRICT; 425 Modifier.ABSTRACT | Modifier.STATIC | Modifier.FINAL | 434 Modifier.STATIC | Modifier.FINAL | Modifier.TRANSIENT |
|
D | Field.java | 87 if ((getModifiers() & Modifier.STATIC) == 0) { in getName()
|
/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 | 37 if ((f.getModifiers() & (Modifier.STATIC | Modifier.TRANSIENT)) != 0) { in toString()
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectStreamClass.java | 1467 if ((mods & (Modifier.STATIC | Modifier.ABSTRACT)) != 0) { in getInheritableMethod() 1492 ((mods & Modifier.STATIC) == 0) && in getPrivateMethod() 1644 int mask = Modifier.PRIVATE | Modifier.STATIC | Modifier.FINAL; in getDeclaredSerialFields() 1674 ((f.getModifiers() & Modifier.STATIC) == 0)) in getDeclaredSerialFields() 1698 int mask = Modifier.STATIC | Modifier.TRANSIENT; in getDefaultSerialFields() 1717 int mask = Modifier.STATIC | Modifier.FINAL; in getDeclaredSUID() 1789 Modifier.STATIC | Modifier.FINAL | Modifier.VOLATILE | in computeDefaultSUID() 1792 ((mods & (Modifier.STATIC | Modifier.TRANSIENT)) == 0)) in computeDefaultSUID() 1822 dout.writeInt(Modifier.STATIC); in computeDefaultSUID() 1840 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 | 1130 componentModifiers &= ~(Modifier.INTERFACE | Modifier.STATIC); in getModifiers()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodHandles.java | 540 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()
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | CompletableFutureTest.java | 3996 method -> (method.getModifiers() & Modifier.STATIC) == 0; in testMinimalCompletionStage_minimality()
|
/libcore/api/ |
D | current.txt | 4613 field public static final int STATIC = 8; // 0x8
|