private static @Nullable PsiElement firstLeaf(PsiElement psi1) {
    LeafElement leaf = TreeUtil.findFirstLeaf(psi1.getNode());
    if (leaf != null) {
      return leaf.getPsi();
    }
    else {
      return null;
    }
  }
private static @Nullable PsiElement firstLeaf(PsiElement psi1)