void (JavaParameters javaParameters, GlobalSearchScope globalSearchScope, JavaPsiFacade psiFacade, String moduleName) { ReadAction.run(() -> DumbModeAccessType.RELIABLE_DATA_ONLY.ignoreDumbMode(() -> { PsiJavaModule launcherModule = psiFacade.findModule(moduleName, globalSearchScope); if (launcherModule != null) { JavaParametersUtil.putDependenciesOnModulePath(javaParameters, launcherModule, true); } })); }