Searched refs:svc (Results 1 – 1 of 1) sorted by relevance
405 private ServiceLoader(Class<?> caller, Class<S> svc, ClassLoader cl) { in ServiceLoader() argument406 Objects.requireNonNull(svc); in ServiceLoader()409 checkCaller(caller, svc); in ServiceLoader()432 this.service = svc; in ServiceLoader()475 private static void checkCaller(Class<?> caller, Class<?> svc) { in checkCaller() argument477 fail(svc, "no caller to check if it declares `uses`"); in checkCaller()482 int mods = svc.getModifiers(); in checkCaller()483 if (!Reflection.verifyMemberAccess(caller, svc, null, mods)) { in checkCaller()486 fail(svc, "service type not accessible to " + caller); in checkCaller()