cl.init(scope.getModules(classLoaderReference)); return cl;
cl.init(scope.getModules(classLoaderReference)); return cl;
@Override public IClassLoader getLoader(ClassLoaderReference classLoaderReference, IClassHierarchy cha, AnalysisScope scope) { if (THE_LOADER == null) { THE_LOADER = makeTheLoader(cha); try { THE_LOADER.init(scope.getModules(getTheReference())); } catch (java.io.IOException e) { Assertions.UNREACHABLE(); } } if (classLoaderReference.equals(scope.getSyntheticLoader())) { syntheticLoader = new BypassSyntheticClassLoader(scope.getSyntheticLoader(), THE_LOADER, scope.getExclusions(), cha); return syntheticLoader; } else { assert classLoaderReference.equals(getTheReference()); return THE_LOADER; } }
@Override public IClassLoader getLoader(ClassLoaderReference classLoaderReference, IClassHierarchy cha, AnalysisScope scope) { if (THE_LOADER == null) { THE_LOADER = makeTheLoader(cha); try { THE_LOADER.init(scope.getModules(getTheReference())); } catch (java.io.IOException e) { Assertions.UNREACHABLE(); } } if (classLoaderReference.equals(scope.getSyntheticLoader())) { syntheticLoader = new BypassSyntheticClassLoader(scope.getSyntheticLoader(), THE_LOADER, scope.getExclusions(), cha); return syntheticLoader; } else { assert classLoaderReference.equals(getTheReference()); return THE_LOADER; } }