void (@NotNull final DomElement domElement, final Runnable valueSetter) { if (domElement.isValid()) { WriteCommandAction.writeCommandAction(getProject(), DomUtil.getFile(domElement)).run(() -> valueSetter.run()); fireChanged(); } }