/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/libart/src/main/java/java/lang/invoke/ |
D | FieldVarHandle.java | 30 super(field.getType(), Modifier.isFinal(field.getModifiers()), declaringClass); in FieldVarHandle() 35 super(field.getType(), Modifier.isFinal(field.getModifiers())); in FieldVarHandle() 40 if (Modifier.isStatic(field.getModifiers())) { in create()
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Field.java | 87 if ((getModifiers() & Modifier.STATIC) == 0) { in getName() 88 throw new AssertionError("Invalid modifiers for proxy field: " + getModifiers()); in getName() 112 public int getModifiers() { in getModifiers() method in Field 126 return (getModifiers() & Modifier.ENUM) != 0; in isEnumConstant() 138 return Modifier.isSynthetic(getModifiers()); in isSynthetic() 254 int mod = getModifiers(); in toString() 282 int mod = getModifiers(); in toGenericString()
|
D | Parameter.java | 131 sb.append(Modifier.toString(getModifiers())); in toString() 162 public int getModifiers() { in getModifiers() method in Parameter 241 return Modifier.isMandated(getModifiers()); in isImplicit() 255 return Modifier.isSynthetic(getModifiers()); in isSynthetic()
|
D | Member.java | 80 public int getModifiers(); in getModifiers() method
|
D | Constructor.java | 113 public int getModifiers() { in getModifiers() method in Constructor
|
D | Method.java | 122 public int getModifiers() { in getModifiers() method in Method
|
/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()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodHandleImpl.java | 163 member.getModifiers(), member.getName()); in reflectAs() 172 public int getModifiers() { in getModifiers() method in MethodHandleImpl.HandleInfo 173 return member.getModifiers(); in getModifiers()
|
D | MethodHandles.java | 783 final int modifiers = method.getModifiers(); in findStatic() 917 if (Modifier.isStatic(m.getModifiers())) { in findVirtual() 928 checkAccess(refc, method.getDeclaringClass(), method.getModifiers(), method.getName()); in findVirtual() 990 checkAccess(refc, constructor.getDeclaringClass(), constructor.getModifiers(), in findConstructor() 1150 if (Modifier.isStatic(method.getModifiers())) { in findSpecial() 1154 if (Modifier.isPrivate(method.getModifiers())) { in findSpecial() 1218 final int modifiers = field.getModifiers(); in findAccessor() 1373 final int modifiers = field.getModifiers(); in commonFieldChecks() 1608 checkAccess(m.getDeclaringClass(), m.getDeclaringClass(), m.getModifiers(), in unreflect() 1612 if (Modifier.isStatic(m.getModifiers())) { in unreflect() [all …]
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/ |
D | Member.annotated.java | 37 public int getModifiers(); in getModifiers() method
|
D | Executable.annotated.java | 40 public abstract int getModifiers(); in getModifiers() method in Executable
|
D | Method.annotated.java | 40 public int getModifiers() { throw new RuntimeException("Stub!"); } in getModifiers() method in Method
|
/libcore/luni/src/test/java/libcore/sun/util/logging/ |
D | PlatformLoggerTest.java | 57 assertEquals(requiredModifiers, field.getModifiers() & requiredModifiers); 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 | 1400 return ((cons.getModifiers() & Modifier.PUBLIC) != 0) ? in getExternalizableConstructor() 1421 int mods = cons.getModifiers(); in getSerializableConstructor() 1466 int mods = meth.getModifiers(); in getInheritableMethod() 1490 int mods = meth.getModifiers(); in getPrivateMethod() 1645 if ((f.getModifiers() & mask) == mask) { in getDeclaredSerialFields() 1674 ((f.getModifiers() & Modifier.STATIC) == 0)) in getDeclaredSerialFields() 1701 if ((clFields[i].getModifiers() & mask) == 0) { in getDefaultSerialFields() 1718 if ((f.getModifiers() & mask) == mask) { in getDeclaredSUID() 1742 int classMods = cl.getModifiers() & in computeDefaultSUID() 1787 int mods = sig.member.getModifiers() & in computeDefaultSUID() [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/ |
D | Parameter.java | 62 public int getModifiers() { in getModifiers() method in Parameter
|
D | Constructor.java | 61 public int getModifiers() { in getModifiers() method in Constructor
|
/libcore/ojluni/src/main/java/sun/invoke/util/ |
D | VerifyAccess.java | 180 if (Modifier.isPublic(refc.getModifiers())) in isClassAccessible()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | LambdaImplementationTest.java | 281 int modifiers = interfaceMethod.getModifiers(); in addNonStaticPublicMethods() 353 int classModifiers = lambdaClass.getModifiers(); in assertGeneralLambdaClassCharacteristics() 388 if (Modifier.isAbstract(method.getModifiers())) { in assertLambdaMethodCharacteristics()
|
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicLongFieldUpdater.java | 394 modifiers = field.getModifiers(); in CASUpdater() 535 modifiers = field.getModifiers(); in LockedUpdater()
|