void (@NotNull @NonNls String propertyName) { @NlsSafe String exact = "-D" + propertyName; @NlsSafe String prefix = "-D" + propertyName + "="; replaceOrAddAt(new CompositeParameterTargetedValue(exact), myParameters.size(), o -> o.equals(exact) || o.startsWith(prefix)); }