String (@Nullable Module module, @NotNull Project project) { if (module != null) { final String fromClasspath = getSdkHomeFromClasspath(module); if (fromClasspath != null) { return fromClasspath; } } final VirtualFile sdkHome = GantSettings.getInstance(project).getSdkHome(); return sdkHome != null ? sdkHome.getPath() : ""; }