/libcore/ojluni/src/main/java/sun/invoke/util/ |
D | VerifyAccess.java | 85 public static boolean isMemberAccessible(Class<?> refc, // symbolic ref class in isMemberAccessible() argument 94 if (!isClassAccessible(refc, lookupClass, allowedModes)) { in isMemberAccessible() 115 !isRelatedClass(refc, lookupClass)) in isMemberAccessible() 135 static boolean isRelatedClass(Class<?> refc, Class<?> lookupClass) { in isRelatedClass() argument 136 return (refc == lookupClass || in isRelatedClass() 137 isSubClass(refc, lookupClass) || in isRelatedClass() 138 isSubClass(lookupClass, refc)); in isRelatedClass() 170 public static boolean isClassAccessible(Class<?> refc, Class<?> lookupClass, in isClassAccessible() argument 180 if (Modifier.isPublic(refc.getModifiers())) in isClassAccessible() 183 isSamePackage(lookupClass, refc)) in isClassAccessible()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodHandles.java | 781 …MethodHandle findStatic(Class<?> refc, String name, MethodType type) throws NoSuchMethodException,… in findStatic() argument 782 Method method = refc.getDeclaredMethod(name, type.ptypes()); in findStatic() 788 checkAccess(refc, method.getDeclaringClass(), modifiers, method.getName()); in findStatic() 892 …public MethodHandle findVirtual(Class<?> refc, String name, MethodType type) throws NoSuchMethodEx… in findVirtual() argument 895 if (refc == MethodHandle.class) { in findVirtual() 900 } else if (refc == VarHandle.class) { in findVirtual() 908 Method method = refc.getInstanceMethod(name, type.ptypes()); in findVirtual() 916 Method m = refc.getDeclaredMethod(name, type.ptypes()); in findVirtual() 928 checkAccess(refc, method.getDeclaringClass(), method.getModifiers(), method.getName()); in findVirtual() 931 MethodType handleType = type.insertParameterTypes(0, refc); in findVirtual() [all …]
|
/libcore/ojluni/src/lambda/java/java/lang/invoke/ |
D | MethodHandles.java | 60 …MethodHandle findStatic(Class<?> refc, String name, MethodType type) throws NoSuchMethodException,… in findStatic() argument 62 …public MethodHandle findVirtual(Class<?> refc, String name, MethodType type) throws NoSuchMethodEx… in findVirtual() argument 64 …public MethodHandle findConstructor(Class<?> refc, MethodType type) throws NoSuchMethodException, … in findConstructor() argument 66 public MethodHandle findSpecial(Class<?> refc, String name, MethodType type, in findSpecial() argument 69 …public MethodHandle findGetter(Class<?> refc, String name, Class<?> type) throws NoSuchFieldExcept… in findGetter() argument 71 …public MethodHandle findSetter(Class<?> refc, String name, Class<?> type) throws NoSuchFieldExcept… in findSetter() argument 73 …public MethodHandle findStaticGetter(Class<?> refc, String name, Class<?> type) throws NoSuchField… in findStaticGetter() argument 75 …public MethodHandle findStaticSetter(Class<?> refc, String name, Class<?> type) throws NoSuchField… in findStaticSetter() argument
|
/libcore/ojluni/annotations/hiddenapi/java/lang/invoke/ |
D | MethodHandles.java | 400 java.lang.Class<?> refc, java.lang.String name, java.lang.invoke.MethodType type) in findStatic() argument 423 java.lang.Class<?> refc, java.lang.String name, java.lang.invoke.MethodType type) in findVirtual() argument 429 java.lang.Class<?> refc, java.lang.invoke.MethodType type) in findConstructor() argument 445 java.lang.Class<?> refc, in findSpecial() argument 456 java.lang.Class<?> refc, in findSpecial() argument 463 java.lang.Class<?> refc, java.lang.String name, java.lang.Class<?> type) in findGetter() argument 469 java.lang.Class<?> refc, java.lang.String name, java.lang.Class<?> type, int kind) in findAccessor() argument 476 java.lang.Class<?> refc, in findAccessor() argument 485 java.lang.Class<?> refc, java.lang.String name, java.lang.Class<?> type) in findSetter() argument 497 java.lang.Class<?> refc, java.lang.String name, java.lang.Class<?> type) in findFieldOfType() argument [all …]
|