Home
last modified time | relevance | path

Searched refs:STATIC (Results 1 – 9 of 9) 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.java91 return (mod & STATIC) != 0; in isStatic()
239 if ((mod & STATIC) != 0) sb.append("static "); in toString()
280 public static final int STATIC = 0x00000008; field in Modifier
367 Modifier.ABSTRACT | Modifier.STATIC | Modifier.FINAL |
375 Modifier.ABSTRACT | Modifier.STATIC | Modifier.STRICT;
389 Modifier.ABSTRACT | Modifier.STATIC | Modifier.FINAL |
397 Modifier.STATIC | Modifier.FINAL | Modifier.TRANSIENT |
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DModifierTest.java78 assertTrue(Modifier.isStatic(Modifier.STATIC)); in test_isStaticI()
79 assertTrue(!Modifier.isStatic(-1 & ~Modifier.STATIC)); in test_isStaticI()
/libcore/luni/src/main/java/libcore/util/
DObjects.java48 if ((f.getModifiers() & (Modifier.STATIC | Modifier.TRANSIENT)) != 0) { in toString()
/libcore/ojluni/src/main/java/java/io/
DObjectStreamClass.java1401 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/java/lang/
DClass.java1049 componentModifiers &= ~(Modifier.INTERFACE | Modifier.STATIC); in getModifiers()
/libcore/jsr166-tests/src/test/java/jsr166/
DCompletableFutureTest.java3732 (method) -> (method.getModifiers() & Modifier.STATIC) == 0; in testMinimalCompletionStage_minimality()