DomExtension (@NotNull PsiElement declaringElement) { putUserData(DECLARING_ELEMENT_KEY, SmartPointerManager.getInstance(declaringElement.getProject()).createSmartPsiElementPointer(declaringElement)); return this; }