Home
last modified time | relevance | path

Searched refs:refc (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/sun/invoke/util/
DVerifyAccess.java85 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()
157 public static boolean isClassAccessible(Class<?> refc, Class<?> lookupClass, in isClassAccessible() argument
162 if (Modifier.isPublic(refc.getModifiers())) in isClassAccessible()
165 isSamePackage(lookupClass, refc)) in isClassAccessible()
[all …]
/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodHandles.java780 …MethodHandle findStatic(Class<?> refc, String name, MethodType type) throws NoSuchMethodException,… in findStatic() argument
781 Method method = refc.getDeclaredMethod(name, type.ptypes()); in findStatic()
787 checkAccess(refc, method.getDeclaringClass(), modifiers, method.getName()); in findStatic()
881 …public MethodHandle findVirtual(Class<?> refc, String name, MethodType type) throws NoSuchMethodEx… in findVirtual() argument
884 if (refc == MethodHandle.class) { in findVirtual()
891 Method method = refc.getInstanceMethod(name, type.ptypes()); in findVirtual()
899 Method m = refc.getDeclaredMethod(name, type.ptypes()); in findVirtual()
911 checkAccess(refc, method.getDeclaringClass(), method.getModifiers(), method.getName()); in findVirtual()
914 MethodType handleType = type.insertParameterTypes(0, refc); in findVirtual()
963 …public MethodHandle findConstructor(Class<?> refc, MethodType type) throws NoSuchMethodException, … in findConstructor() argument
[all …]
/libcore/ojluni/src/lambda/java/java/lang/invoke/
DMethodHandles.java60 …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