String (@NotNull JpsGlobal global, @NotNull String name) { String value = PathMacroUtil.getGlobalSystemMacroValue(name, false); if (value != null) { return value; } JpsPathVariablesConfiguration configuration = getPathVariablesConfiguration(global); return configuration != null ? configuration.getUserVariableValue(name) : null; }