protected PsiElement restoreElementAtCaret(PsiFile file, PsiElement origElement, RangeMarker marker){
    if (!origElement.isValid()) {
      LOG.warn("Please, override com.intellij.lang.SmartEnterProcessorWithFixers.restoreElementAtCaret for your language!");
    }
    return origElement;
  }
protected PsiElement restoreElementAtCaret(PsiFile file, PsiElement origElement, RangeMarker marker)