void (@NotNull PresentationData presentation) { Object newElement = updateElement(); if (getElement() != newElement) { presentation.setChanged(true); } if (newElement == null) return; doUpdate(presentation); fillFallbackProperties(presentation); }