public static PsiElement getParentIfIdentifier(PsiElement element) {
    return isIdentifier(element) ? element.getParent() : element;
  }
public static PsiElement getParentIfIdentifier(PsiElement element)