PsiElement (PsiElement element) { SmartPsiElementPointer<?> originalElementPointer = element != null ? element.getUserData(ORIGINAL_ELEMENT_KEY) : null; return originalElementPointer != null ? originalElementPointer.getElement() : null; }