Home
last modified time | relevance | path

Searched refs:STATIC (Results 1 – 16 of 16) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DModifierTest.java121 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 …]
DMethodTest.java299 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()
DFieldTest.java966 int mask = (Modifier.PROTECTED | Modifier.STATIC) in test_getModifiers()
/libcore/ojluni/src/main/java/java/lang/reflect/
DModifier.java104 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 |
DField.java87 if ((getModifiers() & Modifier.STATIC) == 0) { in getName()
/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()
DMethodTest.java359 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/
DPlatformLoggerTest.java56 int requiredModifiers = Modifier.STATIC | Modifier.FINAL; in assertLogLevel()
/libcore/luni/src/main/java/libcore/util/
DObjects.java37 if ((f.getModifiers() & (Modifier.STATIC | Modifier.TRANSIENT)) != 0) { in toString()
/libcore/ojluni/src/main/java/java/io/
DObjectStreamClass.java1467 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/
DVerifyAccess.java114 if ((mods & STATIC) != 0 && in isMemberAccessible()
/libcore/ojluni/src/main/java/java/lang/
DClass.java1130 componentModifiers &= ~(Modifier.INTERFACE | Modifier.STATIC); in getModifiers()
/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodHandles.java540 public static final int PACKAGE = Modifier.STATIC;
/libcore/jsr166-tests/src/test/java/jsr166/
DCompletableFutureTest.java3732 (method) -> (method.getModifiers() & Modifier.STATIC) == 0; in testMinimalCompletionStage_minimality()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DCompletableFutureTest.java3996 method -> (method.getModifiers() & Modifier.STATIC) == 0; in testMinimalCompletionStage_minimality()
/libcore/api/
Dcurrent.txt4613 field public static final int STATIC = 8; // 0x8