String (@Nullable String workingDirectory) { String vmOptions = MavenWorkspaceSettingsComponent.getInstance(myProject) .getSettings().getImportingSettings().getVmOptionsForImporter(); if (workingDirectory == null || !StringUtil.isEmptyOrSpaces(vmOptions)) { return vmOptions; } String multiModuleDir = myWorkingDirToMultiModuleMap.computeIfAbsent(workingDirectory, this::resolveMultiModuleDirectory); return myVmSettingsMap.computeIfAbsent(multiModuleDir, MavenExternalParameters::readJvmConfigOptions); }