/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | ModifierTest.java | 314 assertEquals(Modifier.ABSTRACT, AbstractClazz.class.getModifiers()); in test_Class_Modifier() 315 assertEquals(Modifier.FINAL, FinalClazz.class.getModifiers()); in test_Class_Modifier() 316 assertEquals(Modifier.STATIC, StaticClazz.class.getModifiers()); in test_Class_Modifier() 318 InterfaceClazz.class.getModifiers()); in test_Class_Modifier() 320 assertEquals(Modifier.PUBLIC, PublicClazz.class.getModifiers()); in test_Class_Modifier() 321 assertEquals(Modifier.PROTECTED, ProtectedClazz.class.getModifiers()); in test_Class_Modifier() 322 assertEquals(Modifier.PRIVATE, PrivateClazz.class.getModifiers()); in test_Class_Modifier() 325 PublicAbstractClazz.class.getModifiers()); in test_Class_Modifier() 327 ProtectedAbstractClazz.class.getModifiers()); in test_Class_Modifier() 329 PrivateAbstractClazz.class.getModifiers()); in test_Class_Modifier() [all …]
|
D | MalformedParameterizedTypeExceptionTests.java | 17 .getModifiers())); in test_Constructor()
|
D | ConstructorTest.java | 225 mod = ctor.getModifiers(); in test_getModifiers() 236 mod = ctor.getModifiers(); in test_getModifiers() 247 mod = ctor.getModifiers(); in test_getModifiers()
|
D | MethodTest.java | 295 mods = mth.getModifiers(); in test_getModifiers() 303 mods = mth.getModifiers(); in test_getModifiers() 311 mods = mth.getModifiers(); in test_getModifiers() 319 mods = mth.getModifiers(); in test_getModifiers() 329 mods = mth.getModifiers(); in test_getModifiers()
|
D | InvocationTargetExceptionTest.java | 122 .getModifiers())); in test_Constructor()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | FieldTest.java | 57 assertEquals(Modifier.SYNTHETIC, valuesField.getModifiers() & Modifier.SYNTHETIC); in testSyntheticModifier() 66 assertEquals("public static final", Modifier.toString(blockedField.getModifiers())); in testEnumValueField() 82 assertEquals(Modifier.TRANSIENT, transientField.getModifiers() & Modifier.TRANSIENT); in testTransientModifier() 93 assertEquals(Modifier.TRANSIENT, transientField.getModifiers() & Modifier.TRANSIENT); in testToGenericString()
|
D | AnnotationsTest.java | 219 int modifiers = AnnotationsTest.class.getModifiers(); in testClassModifiers() 230 int modifiers = Foo.class.getModifiers(); in testInnerClassModifiers() 241 int modifiers = staticAnonymous.getClass().getModifiers(); in testAnonymousClassModifiers()
|
D | OldAndroidClassTest.java | 96 assertTrue(Modifier.isPublic(helloClass.getModifiers())); in testGetModifiers()
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Method.java | 116 public int getModifiers() { in getModifiers() method in Method 117 return super.getModifiers(); in getModifiers() 327 int mod = getModifiers() & Modifier.methodModifiers(); in toString() 397 int mod = getModifiers() & Modifier.methodModifiers(); in toGenericString() 521 return (getModifiers() & Modifier.BRIDGE) != 0; in isBridge() 534 return (getModifiers() & Modifier.VARARGS) != 0; in isVarArgs() 546 return Modifier.isSynthetic(getModifiers()); in isSynthetic()
|
D | Constructor.java | 104 public int getModifiers() { in getModifiers() method in Constructor 105 return super.getModifiers(); in getModifiers() 265 int mod = getModifiers() & Modifier.constructorModifiers(); in toString() 329 int mod = getModifiers() & Modifier.constructorModifiers(); in toGenericString() 452 return (getModifiers() & Modifier.VARARGS) != 0; in isVarArgs() 465 return Modifier.isSynthetic(getModifiers()); in isSynthetic()
|
D | Field.java | 100 public int getModifiers() { in getModifiers() method in Field 113 return (getModifiers() & Modifier.ENUM) != 0; in isEnumConstant() 125 return Modifier.isSynthetic(getModifiers()); in isSynthetic() 234 int mod = getModifiers(); in toString() 261 int mod = getModifiers(); in toGenericString()
|
D | Member.java | 82 public int getModifiers(); in getModifiers() method
|
D | Proxy.java | 530 int flags = interfaces[i].getModifiers(); in getProxyClass0()
|
/libcore/ojluni/src/lambda/java/java/lang/invoke/ |
D | MethodHandleInfo.java | 53 public int getModifiers(); in getModifiers() method
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Class.java | 619 return (getModifiers() & FINALIZABLE) != 0; in isFinalizable() 632 return (getModifiers() & ANNOTATION) != 0; in isAnnotation() 643 return (getModifiers() & SYNTHETIC) != 0; in isSynthetic() 1039 public int getModifiers() { in getModifiers() method in Class 1047 int componentModifiers = getComponentType().getModifiers(); in getModifiers() 1294 if (Modifier.isPublic(member.getModifiers())) { in getClasses() 2264 return (this.getModifiers() & ENUM) != 0 && in isEnum()
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectStreamClass.java | 1337 return ((cons.getModifiers() & Modifier.PUBLIC) != 0) ? in getExternalizableConstructor() 1358 int mods = cons.getModifiers(); in getSerializableConstructor() 1400 int mods = meth.getModifiers(); in getInheritableMethod() 1424 int mods = meth.getModifiers(); in getPrivateMethod() 1579 if ((f.getModifiers() & mask) == mask) { in getDeclaredSerialFields() 1608 ((f.getModifiers() & Modifier.STATIC) == 0)) in getDeclaredSerialFields() 1635 if ((clFields[i].getModifiers() & mask) == 0) { in getDefaultSerialFields() 1652 if ((f.getModifiers() & mask) == mask) { in getDeclaredSUID() 1676 int classMods = cl.getModifiers() & in computeDefaultSUID() 1721 int mods = sig.member.getModifiers() & in computeDefaultSUID() [all …]
|
/libcore/libart/src/main/java/java/lang/reflect/ |
D | AbstractMethod.java | 102 int getModifiers() { in getModifiers() method in AbstractMethod 331 int modifiers = ((Member)this).getModifiers(); in toGenericStringHelper()
|
/libcore/luni/src/main/java/libcore/util/ |
D | Objects.java | 48 if ((f.getModifiers() & (Modifier.STATIC | Modifier.TRANSIENT)) != 0) { in toString()
|
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicLongFieldUpdater.java | 357 modifiers = field.getModifiers(); in CASUpdater() 487 modifiers = field.getModifiers(); in LockedUpdater()
|
D | AtomicReferenceFieldUpdater.java | 292 modifiers = field.getModifiers(); in AtomicReferenceFieldUpdaterImpl()
|
D | AtomicIntegerFieldUpdater.java | 364 modifiers = field.getModifiers(); in AtomicIntegerFieldUpdaterImpl()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | AnnotatedElementBenchmark.java | 186 HasSmallAnnotation.class.getModifiers(); in timeGetModifiers()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ClassTest.java | 393 int dcm = PrivateClass.class.getModifiers(); in test_getModifiers() 398 int ocm = Object.class.getModifiers(); in test_getModifiers()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | Unsafe.java | 78 if (Modifier.isStatic(field.getModifiers())) { in objectFieldOffset()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | JSR166TestCase.java | 515 && Modifier.isPublic(method.getModifiers()) in testMethodNames()
|