if (launchConfig.isDevelopment()) {
File classFile = ClassUtil.getClassFile(modulesAction);
if (classFile != null) {
Factory<Handler> factory = new ReloadableFileBackedFactory<>(classFile.toPath(), true, (file, bytes) -> doCreate(modulesAction, moduleTransformer, injectorTransformer));
return new FactoryHandler(factory);
}
}
return doCreate(modulesAction, moduleTransformer, injectorTransformer);
}