boolean (@NotNull PsiElement root1, @NotNull PsiElement root2, int discardCost) { if (root1 == root2) { return true; } return new DuplicatesMatchingVisitor(this, myNodeFilter, discardCost).match(root1, root2); }