public abstract class LookupElementWeigher
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
LookupElementWeigher(java.lang.String id) |
protected |
LookupElementWeigher(java.lang.String id,
boolean negated,
boolean dependsOnPrefix) |
Modifier and Type | Method and Description |
---|---|
boolean |
isNegated() |
boolean |
isPrefixDependent() |
java.lang.String |
toString() |
java.lang.Comparable |
weigh(LookupElement element) |
java.lang.Comparable |
weigh(LookupElement element,
WeighingContext context) |
protected LookupElementWeigher(java.lang.String id, boolean negated, boolean dependsOnPrefix)
protected LookupElementWeigher(java.lang.String id)
public boolean isPrefixDependent()
public boolean isNegated()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Comparable weigh(LookupElement element, WeighingContext context)
public java.lang.Comparable weigh(LookupElement element)