public class PreferByKindWeigher extends LookupElementWeigher
Modifier and Type | Field and Description |
---|---|
static Key<java.lang.Boolean> |
INTRODUCED_VARIABLE |
Constructor and Description |
---|
PreferByKindWeigher(CompletionType completionType,
PsiElement position,
ExpectedTypeInfo[] expectedTypes) |
Modifier and Type | Method and Description |
---|---|
com.intellij.codeInsight.completion.PreferByKindWeigher.MyResult |
weigh(LookupElement item) |
isNegated, isPrefixDependent, toString, weigh
public static final Key<java.lang.Boolean> INTRODUCED_VARIABLE
public PreferByKindWeigher(CompletionType completionType, PsiElement position, ExpectedTypeInfo[] expectedTypes)
public com.intellij.codeInsight.completion.PreferByKindWeigher.MyResult weigh(LookupElement item)
weigh
in class LookupElementWeigher