mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-57771 - NCDFE: GrailsMavenDebuggerRunner.canRun
This commit is contained in:
+5
@@ -672,6 +672,11 @@ public class ExternalSystemApiUtil {
|
||||
return module != null && systemId.getId().equals(module.getOptionValue(ExternalSystemConstants.EXTERNAL_SYSTEM_ID_KEY));
|
||||
}
|
||||
|
||||
@Contract("_, null -> false")
|
||||
public static boolean isExternalSystemAwareModule(@NotNull String systemId, @Nullable Module module) {
|
||||
return module != null && systemId.equals(module.getOptionValue(ExternalSystemConstants.EXTERNAL_SYSTEM_ID_KEY));
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public static String getExternalProjectPath(@Nullable Module module) {
|
||||
return module != null ? module.getOptionValue(ExternalSystemConstants.LINKED_PROJECT_PATH_KEY) : null;
|
||||
|
||||
Reference in New Issue
Block a user