public boolean areTreesEqual(@NotNull PsiElement root1, @NotNull PsiElement root2, int discardCost) {
    return TreeComparator.areEqual(root1, root2, this, discardCost);
  }
public boolean areTreesEqual(@NotNull PsiElement root1, @NotNull PsiElement root2, int discardCost)