void (JavaParameters javaParameters, Module module) { if (module != null) { JavaParameters parameters = myAdditionalJarsForModuleFork.get(module); if (parameters != null) { boolean toModulePath = parameters.getClassPath().isEmpty(); PathsList sourcePath = toModulePath ? parameters.getModulePath() : parameters.getClassPath(); PathsList targetPath = toModulePath ? javaParameters.getModulePath() : javaParameters.getClassPath(); for (String dependencyPath : sourcePath.getPathList()) { targetPath.addFirst(dependencyPath); } ParamsGroup group = getJigsawOptions(parameters); if (group != null) { getOrCreateJigsawOptions(javaParameters).addParameters(group.getParameters()); } } } }