void (@NotNull @NonNls String propertyName, @Nullable @NonNls String propertyValue) { if (propertyValue == null) return; @NlsSafe String exact = "-D" + propertyName; @NlsSafe String prefix = "-D" + propertyName + "="; int index = indexOfLocalParameter(o -> o.equals(exact) || o.startsWith(prefix)); if (index > -1) return; String value = propertyValue.isEmpty() ? exact : prefix + expandMacros(propertyValue); myParameters.add(new CompositeParameterTargetedValue(value)); }