@NotNull
  public static PsiElement ignoreWhiteSpaces(@NotNull PsiElement element) {
    PsiElement result = PsiTreeUtil.skipSiblingsForward(element, PsiWhiteSpace.class);
    if (result == null) {
      result = PsiTreeUtil.skipSiblingsBackward(element, PsiWhiteSpace.class);
      if (result == null) {
        result = element;
      }
    }

    return result;
  }
@NotNull
  public static PsiElement ignoreWhiteSpaces(@NotNull PsiElement element)