void (@NotNull final String values, Disposable disposable) { JDOMExternalizableStringList oldValue = myValues; myValues = reparseProperties(values); if (disposable != null) { Disposer.register(disposable, () -> { myValues = oldValue; }); } }