DomExtension (@NotNull DomElement declaringElement) { DomAnchor<DomElement> anchor = DomAnchorImpl.createAnchor(declaringElement, true); return setDeclaringDomElement(() -> anchor.retrieveDomElement()); }