ModuleDefinition moduleDefinition,
ClassRetriever moduleClassResourceRetriever,
ClassRetriever moduleLibraryResourceRetriever,
List<GraphClassLoader> classLoaders, ClassLoader parentClassLoader) {
return new LibraryAwareGraphClassLoader(
parentClassLoader,
new DelegateClassLoader(classLoaders),
moduleClassResourceRetriever,
moduleLibraryResourceRetriever,
moduleDefinition,