public class DuplocatorUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static DuplocatorState |
getDuplocatorState(PsiFragment frag) |
static PsiElement |
getOnlyChild(PsiElement element,
NodeFilter filter) |
static boolean |
isIgnoredNode(PsiElement element) |
static boolean |
match(EquivalenceDescriptor descriptor1,
EquivalenceDescriptor descriptor2,
AbstractMatchingVisitor g,
java.util.Set<PsiElementRole> skippedRoles,
DuplicatesProfile profile) |
static ExternalizableDuplocatorState |
registerAndGetState(Language language) |
static boolean |
shouldSkip(PsiElement element,
PsiElement elementToMatchWith) |
static PsiElement |
skipNodeIfNecessary(PsiElement element,
EquivalenceDescriptor descriptor,
NodeFilter filter) |
public static boolean isIgnoredNode(PsiElement element)
public static PsiElement getOnlyChild(PsiElement element, NodeFilter filter)
public static boolean shouldSkip(PsiElement element, PsiElement elementToMatchWith)
public static PsiElement skipNodeIfNecessary(PsiElement element, EquivalenceDescriptor descriptor, NodeFilter filter)
public static boolean match(EquivalenceDescriptor descriptor1, EquivalenceDescriptor descriptor2, AbstractMatchingVisitor g, java.util.Set<PsiElementRole> skippedRoles, DuplicatesProfile profile)
public static DuplocatorState getDuplocatorState(PsiFragment frag)
public static ExternalizableDuplocatorState registerAndGetState(Language language)