boolean (@NotNull PsiElement element1, @NotNull PsiElement element2, @Nullable BiPredicate<? super PsiElement, ? super PsiElement> resolvedElementsEqual, @Nullable BiPredicate<? super PsiElement, ? super PsiElement> leafsEqual) { return areEquivalent(element1, element2, new ReferenceComparator(resolvedElementsEqual), leafsEqual, null, false); }