public abstract class DuplicatesProfile
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<DuplicatesProfile> |
EP_NAME |
Constructor and Description |
---|
DuplicatesProfile() |
public static final ExtensionPointName<DuplicatesProfile> EP_NAME
public abstract DuplocateVisitor createVisitor(FragmentsCollector collector)
public DuplocateVisitor createVisitor(FragmentsCollector collector, boolean forIndexing)
public abstract boolean isMyLanguage(Language language)
public abstract DuplocatorState getDuplocatorState(Language language)
public java.lang.String getComment(DupInfo info, int index)
public abstract boolean isMyDuplicate(DupInfo info, int index)
public boolean supportIndex()
public boolean supportDuplicatesIndex()
public boolean acceptsContentForIndexing(FileContent fileContent)
public boolean shouldPutInIndex(PsiFragment fragment, int cost, DuplocatorState state)
public static DuplicatesProfile findProfileForLanguage(Language language)
public static java.util.List<DuplicatesProfile> getAllProfiles()
public static DuplicatesProfile findProfileForLanguage(java.util.List<? extends DuplicatesProfile> profiles, Language language)
public Language getLanguage(PsiElement element)
public PsiElementRole getRole(PsiElement element)