Lines Matching refs:defc

306      * is being sought, and {@code defc} as the class in which the
319 * smgr.checkMemberAccess(defc, Member.DECLARED)} is called.
320 * (Note that {@code defc} might be the same as {@code refc}.)
325 * class loader of {@code defc} differs from the class
328 * and if {@code defc} and {@code refc} are in different class loaders,
330 * the same as or an ancestor of the class loader of {@code defc},
333 * where {@code defcPkg} is the package of {@code defc}.
819 * The receiver must have a supertype {@code defc} in which a method
840 MethodHandle mh0 = lookup().{@link #findVirtual findVirtual}(defc, name, type);
847 * where {@code defc} is either {@code receiver.getClass()} or a super
1096 Class<?> defc = m.getDeclaringClass();
1100 final Class<?> clazz = defc;
1113 if (defc != refc) {
1114 ReflectUtil.checkPackageAccess(defc);
1169 Class<?> defc = m.getDeclaringClass();
1172 boolean classOK = (Modifier.isPublic(defc.getModifiers()) &&
1173 (defc == refc ||
1176 classOK = (VerifyAccess.isClassAccessible(defc, lookupClass(), ALL_MODES) &&
1177 (defc == refc ||
1307 MethodHandle linkMethodHandleConstant(byte refKind, Class<?> defc, String name, Object type) throws ReflectiveOperationException {
1316 : resolveOrFail(refKind, defc, name, (Class<?>) type);
1317 return getDirectField(refKind, defc, field);
1320 : resolveOrFail(refKind, defc, name, (MethodType) type);
1321 return getDirectMethod(refKind, defc, method, lookupClass);
1325 : resolveOrFail(REF_newInvokeSpecial, defc, name, (MethodType) type);
1326 return getDirectConstructor(defc, ctor);