private @NotNull String extractDaemonVmOptions() {
        String additionalOptions = getAdditionalArgsOptionsField().getText();
        if (additionalOptions.contains("-XdaemonVmOptions")) {
            Pattern pattern = Pattern.compile("-XdaemonVmOptions=(?:\"([^\"]*)\"|([^\\s]*))");
            Matcher matcher = pattern.matcher(additionalOptions);

            if (matcher.find()) {
                String daemonArguments = matcher.group(1) != null ? matcher.group(1) : matcher.group(2);
                if (daemonArguments != null) {
                    return daemonArguments;
                }
            }
        }
        return "";
    }
private @NotNull String extractDaemonVmOptions()