public class PsiEquivalenceUtil
extends java.lang.Object
Constructor and Description |
---|
PsiEquivalenceUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
areElementsEquivalent(PsiElement element1,
PsiElement element2) |
static boolean |
areElementsEquivalent(PsiElement element1,
PsiElement element2,
java.util.Comparator<? super PsiElement> resolvedElementsComparator,
boolean areCommentsSignificant) |
static boolean |
areElementsEquivalent(PsiElement element1,
PsiElement element2,
java.util.Comparator<? super PsiElement> resolvedElementsComparator,
java.util.Comparator<? super PsiElement> leafElementsComparator) |
static boolean |
areElementsEquivalent(PsiElement element1,
PsiElement element2,
java.util.Comparator<? super PsiReference> referenceComparator,
java.util.Comparator<? super PsiElement> leafElementsComparator,
Condition<? super PsiElement> isElementSignificantCondition,
boolean areCommentsSignificant) |
static void |
findChildRangeDuplicates(PsiElement first,
PsiElement last,
java.util.List<? super Couple<PsiElement>> result,
PsiElement scope) |
static void |
findChildRangeDuplicates(PsiElement first,
PsiElement last,
PsiElement scope,
PairConsumer<? super PsiElement,? super PsiElement> consumer) |
static PsiElement [] |
getFilteredChildren(PsiElement element,
Condition<? super PsiElement> isElementSignificantCondition,
boolean areCommentsSignificant) |
public static boolean areElementsEquivalent(PsiElement element1, PsiElement element2, java.util.Comparator<? super PsiElement> resolvedElementsComparator, boolean areCommentsSignificant)
public static boolean areElementsEquivalent(PsiElement element1, PsiElement element2, java.util.Comparator<? super PsiElement> resolvedElementsComparator, java.util.Comparator<? super PsiElement> leafElementsComparator)
public static boolean areElementsEquivalent(PsiElement element1, PsiElement element2, java.util.Comparator<? super PsiReference> referenceComparator, java.util.Comparator<? super PsiElement> leafElementsComparator, Condition<? super PsiElement> isElementSignificantCondition, boolean areCommentsSignificant)
public static boolean areElementsEquivalent(PsiElement element1, PsiElement element2)
public static PsiElement [] getFilteredChildren(PsiElement element, Condition<? super PsiElement> isElementSignificantCondition, boolean areCommentsSignificant)
public static void findChildRangeDuplicates(PsiElement first, PsiElement last, java.util.List<? super Couple<PsiElement>> result, PsiElement scope)
public static void findChildRangeDuplicates(PsiElement first, PsiElement last, PsiElement scope, PairConsumer<? super PsiElement,? super PsiElement> consumer)