public class ReferenceListWeigher extends ProximityWeigher
Modifier and Type | Class and Description |
---|---|
protected static class |
ReferenceListWeigher.Preference |
static class |
ReferenceListWeigher.ReferenceListApplicability |
Modifier and Type | Field and Description |
---|---|
static ElementPattern<PsiElement> |
INSIDE_REFERENCE_LIST |
static ReferenceListWeigher |
INSTANCE |
Constructor and Description |
---|
ReferenceListWeigher() |
Modifier and Type | Method and Description |
---|---|
ReferenceListWeigher.ReferenceListApplicability |
getApplicability(PsiClass aClass,
PsiElement position) |
protected ReferenceListWeigher.Preference |
getPreferredCondition(PsiElement position) |
ReferenceListWeigher.ReferenceListApplicability |
weigh(PsiElement element,
ProximityLocation location) |
setDebugName, toString
public static final ReferenceListWeigher INSTANCE
public static final ElementPattern<PsiElement> INSIDE_REFERENCE_LIST
protected ReferenceListWeigher.Preference getPreferredCondition(PsiElement position)
public ReferenceListWeigher.ReferenceListApplicability weigh(PsiElement element, ProximityLocation location)
weigh
in class ProximityWeigher
public ReferenceListWeigher.ReferenceListApplicability getApplicability(PsiClass aClass, PsiElement position)