/libcore/ojluni/src/main/java/sun/reflect/ |
D | Reflection.java | 113 int modifiers) in ensureMemberAccess() argument 120 if (!verifyMemberAccess(currentClass, memberClass, target, modifiers)) { in ensureMemberAccess() 125 Modifier.toString(modifiers) + in ensureMemberAccess() 136 int modifiers) in verifyMemberAccess() argument 165 if (Modifier.isPublic(modifiers)) { in verifyMemberAccess() 171 if (Modifier.isProtected(modifiers)) { in verifyMemberAccess() 178 if (!successSoFar && !Modifier.isPrivate(modifiers)) { in verifyMemberAccess() 194 if (Modifier.isProtected(modifiers)) { in verifyMemberAccess()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ReflectionTest.java | 555 int modifiers = ReflectionTest.class.getModifiers(); in testClassModifiers() local 556 assertTrue(Modifier.isPublic(modifiers)); in testClassModifiers() 557 assertFalse(Modifier.isProtected(modifiers)); in testClassModifiers() 558 assertFalse(Modifier.isPrivate(modifiers)); in testClassModifiers() 559 assertFalse(Modifier.isAbstract(modifiers)); in testClassModifiers() 560 assertFalse(Modifier.isStatic(modifiers)); in testClassModifiers() 561 assertTrue(Modifier.isFinal(modifiers)); in testClassModifiers() 562 assertFalse(Modifier.isStrict(modifiers)); in testClassModifiers() 566 int modifiers = Foo.class.getModifiers(); in testInnerClassModifiers() local 567 assertFalse(Modifier.isPublic(modifiers)); in testInnerClassModifiers() [all …]
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Parameter.java | 49 private final int modifiers; field in Parameter 67 int modifiers, in Parameter() argument 71 this.modifiers = modifiers; in Parameter() 133 if(0 != modifiers) in toString() 163 return modifiers; in getModifiers()
|
D | Modifier.java | 148 public static boolean isConstructor(int modifiers) { in isConstructor() argument 149 return ((modifiers & Modifier.CONSTRUCTOR) != 0); in isConstructor()
|
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicLongFieldUpdater.java | 382 final int modifiers; in CASUpdater() local 394 modifiers = field.getModifiers(); in CASUpdater() 396 caller, tclass, null, modifiers); in CASUpdater() 418 if (!Modifier.isVolatile(modifiers)) in CASUpdater() 421 this.cclass = (Modifier.isProtected(modifiers)) ? caller : tclass; in CASUpdater() 523 int modifiers = 0; in LockedUpdater() local 535 modifiers = field.getModifiers(); in LockedUpdater() 537 caller, tclass, null, modifiers); in LockedUpdater() 559 if (!Modifier.isVolatile(modifiers)) in LockedUpdater() 562 this.cclass = (Modifier.isProtected(modifiers)) ? caller : tclass; in LockedUpdater()
|
D | AtomicReferenceFieldUpdater.java | 317 final int modifiers; in AtomicReferenceFieldUpdaterImpl() local 329 modifiers = field.getModifiers(); in AtomicReferenceFieldUpdaterImpl() 331 caller, tclass, null, modifiers); in AtomicReferenceFieldUpdaterImpl() 356 if (!Modifier.isVolatile(modifiers)) in AtomicReferenceFieldUpdaterImpl() 359 this.cclass = (Modifier.isProtected(modifiers)) ? caller : tclass; in AtomicReferenceFieldUpdaterImpl()
|
D | AtomicIntegerFieldUpdater.java | 384 final int modifiers; in AtomicIntegerFieldUpdaterImpl() local 397 modifiers = field.getModifiers(); in AtomicIntegerFieldUpdaterImpl() 399 caller, tclass, null, modifiers); in AtomicIntegerFieldUpdaterImpl() 423 if (!Modifier.isVolatile(modifiers)) in AtomicIntegerFieldUpdaterImpl() 426 this.cclass = (Modifier.isProtected(modifiers)) ? caller : tclass; in AtomicIntegerFieldUpdaterImpl()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | AbstractPoller.java | 80 WatchEvent.Modifier... modifiers); in implRegister() argument 97 WatchEvent.Modifier... modifiers) in register() argument 125 return (WatchKey)invoke(RequestType.REGISTER, dir, eventSet, modifiers); in register() 258 WatchEvent.Modifier[] modifiers = in processRequests() local 260 req.release(implRegister(path, events, modifiers)); in processRequests()
|
D | LinuxWatchService.java | 89 WatchEvent.Modifier... modifiers) in register() argument 93 return poller.register(dir, events, modifiers); in register() 219 WatchEvent.Modifier... modifiers) in implRegister() argument 240 if (modifiers.length > 0) { in implRegister() 241 for (WatchEvent.Modifier modifier: modifiers) { in implRegister()
|
D | PollingWatchService.java | 73 WatchEvent.Modifier... modifiers) in register() argument 104 if (modifiers.length > 0) { in register() 105 for (WatchEvent.Modifier modifier: modifiers) { in register()
|
D | UnixPath.java | 889 WatchEvent.Modifier... modifiers) in register() argument 897 return ((AbstractWatchService)watcher).register(this, events, modifiers); in register()
|
/libcore/ojluni/src/main/java/sun/reflect/misc/ |
D | ReflectUtil.java | 58 int modifiers) in ensureMemberAccess() argument 61 if (target == null && Modifier.isProtected(modifiers)) { in ensureMemberAccess() 62 int mods = modifiers; in ensureMemberAccess() 103 modifiers); in ensureMemberAccess()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/ |
D | Parameter.java | 36 int modifiers, in Parameter() argument 139 private final int modifiers; field in Parameter 142 modifiers = 0;
|
/libcore/ojluni/annotations/hiddenapi/sun/reflect/ |
D | Reflection.java | 46 int modifiers) in ensureMemberAccess() argument 55 int modifiers) { in verifyMemberAccess() argument
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | Watchable.java | 91 WatchEvent.Modifier... modifiers) in register() argument
|
D | Path.java | 663 WatchEvent.Modifier... modifiers) in register() argument
|
/libcore/ojluni/annotations/hiddenapi/sun/reflect/misc/ |
D | ReflectUtil.java | 51 int modifiers) in ensureMemberAccess() argument
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/ |
D | Parameter.annotated.java | 33 Parameter(java.lang.String name, int modifiers, java.lang.reflect.Executable executable, int index)… in Parameter() argument
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodHandles.java | 783 final int modifiers = method.getModifiers(); in findStatic() local 784 if (!Modifier.isStatic(modifiers)) { in findStatic() 788 checkAccess(refc, method.getDeclaringClass(), modifiers, method.getName()); in findStatic() 1218 final int modifiers = field.getModifiers(); in findAccessor() local 1219 if (isSetterKind && Modifier.isFinal(modifiers)) { in findAccessor() 1373 final int modifiers = field.getModifiers(); in commonFieldChecks() local 1375 checkAccess(refc, field.getDeclaringClass(), modifiers, field.getName()); in commonFieldChecks() 1377 if (Modifier.isStatic(modifiers) != isStatic) { in commonFieldChecks()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Class.java | 307 int modifiers = getModifiers() & Modifier.classModifiers(); in toGenericString() local 308 if (modifiers != 0) { in toGenericString() 309 sb.append(Modifier.toString(modifiers)); in toGenericString() 1104 int modifiers = this.getInnerClassFlags(accessFlags & JAVA_FLAGS_MASK); in getModifiers() local 1105 return modifiers & JAVA_FLAGS_MASK; in getModifiers()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | LambdaImplementationTest.java | 281 int modifiers = interfaceMethod.getModifiers(); in addNonStaticPublicMethods() local 282 if ((!Modifier.isStatic(modifiers) && Modifier.isPublic(modifiers))) { in addNonStaticPublicMethods()
|