@Deprecated
public class CompletionData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected CompletionVariant |
myGenericVariant
Deprecated.
|
static ObjectPattern.Capture<java.lang.Character> |
NOT_JAVA_ID
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
CompletionData()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addKeywordVariants(java.util.Set<? super CompletionVariant> set,
PsiElement position,
PsiFile file)
Deprecated.
|
protected void |
addLookupItem(java.util.Set<? super LookupElement> set,
TailType tailType,
java.lang.Object completion,
CompletionVariant variant)
Deprecated.
|
protected void |
completeReference(PsiReference reference,
PsiElement position,
java.util.Set<? super LookupElement> set,
TailType tailType,
ElementFilter filter,
CompletionVariant variant)
Deprecated.
|
void |
completeReference(PsiReference reference,
java.util.Set<? super LookupElement> set,
PsiElement position,
PsiFile file)
Deprecated.
|
java.lang.String |
findPrefix(PsiElement insertedElement,
int offsetInFile)
Deprecated.
|
static java.lang.String |
findPrefixDefault(PsiElement insertedElement,
int offset,
ElementPattern trimStart)
Deprecated.
|
static java.lang.String |
findPrefixStatic(PsiElement insertedElement,
int offsetInFile)
Deprecated.
|
static java.lang.String |
findPrefixStatic(PsiElement insertedElement,
int offsetInFile,
ElementPattern<java.lang.Character> prefixStartTrim)
Deprecated.
|
CompletionVariant[] |
findVariants(PsiElement position,
PsiFile file)
Deprecated.
|
static java.lang.String |
getReferencePrefix(PsiElement insertedElement,
int offsetInFile)
Deprecated.
|
protected static PsiReference[] |
getReferences(PsiMultiReference multiReference)
Deprecated.
|
static LookupElement |
objectToLookupItem(java.lang.Object object)
Deprecated.
|
protected void |
registerVariant(CompletionVariant variant)
Deprecated.
|
public static final ObjectPattern.Capture<java.lang.Character> NOT_JAVA_ID
protected final CompletionVariant myGenericVariant
@Deprecated protected void registerVariant(CompletionVariant variant)
CompletionContributor
public void completeReference(PsiReference reference, java.util.Set<? super LookupElement> set, PsiElement position, PsiFile file)
public void addKeywordVariants(java.util.Set<? super CompletionVariant> set, PsiElement position, PsiFile file)
public java.lang.String findPrefix(PsiElement insertedElement, int offsetInFile)
public CompletionVariant[] findVariants(PsiElement position, PsiFile file)
public static java.lang.String getReferencePrefix(PsiElement insertedElement, int offsetInFile)
public static java.lang.String findPrefixStatic(PsiElement insertedElement, int offsetInFile, ElementPattern<java.lang.Character> prefixStartTrim)
public static java.lang.String findPrefixStatic(PsiElement insertedElement, int offsetInFile)
public static java.lang.String findPrefixDefault(PsiElement insertedElement, int offset, ElementPattern trimStart)
public static LookupElement objectToLookupItem(java.lang.Object object)
protected void addLookupItem(java.util.Set<? super LookupElement> set, TailType tailType, java.lang.Object completion, CompletionVariant variant)
protected void completeReference(PsiReference reference, PsiElement position, java.util.Set<? super LookupElement> set, TailType tailType, ElementFilter filter, CompletionVariant variant)
protected static PsiReference[] getReferences(PsiMultiReference multiReference)