public class CompletionVariant
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static TailType |
DEFAULT_TAIL_TYPE |
Constructor and Description |
---|
CompletionVariant() |
CompletionVariant(java.lang.Class scopeClass,
ElementFilter position) |
CompletionVariant(ElementFilter position) |
Modifier and Type | Method and Description |
---|---|
void |
addCompletion(java.lang.String keyword) |
void |
addCompletion(java.lang.String keyword,
TailType tailType) |
void |
addCompletionFilter(ElementFilter filter) |
void |
addCompletionFilter(ElementFilter filter,
TailType tailType) |
void |
includeScopeClass(java.lang.Class<?> aClass) |
void |
includeScopeClass(java.lang.Class<?> aClass,
boolean isFinalScope) |
void |
setCaseInsensitive(boolean caseInsensitive) |
void |
setInsertHandler(InsertHandler handler) |
java.lang.String |
toString() |
protected static final TailType DEFAULT_TAIL_TYPE
public CompletionVariant()
public CompletionVariant(java.lang.Class scopeClass, ElementFilter position)
public CompletionVariant(ElementFilter position)
public void setInsertHandler(InsertHandler handler)
public void includeScopeClass(java.lang.Class<?> aClass)
public void includeScopeClass(java.lang.Class<?> aClass, boolean isFinalScope)
public void addCompletionFilter(ElementFilter filter, TailType tailType)
public void addCompletionFilter(ElementFilter filter)
public void addCompletion(java.lang.String keyword)
public void addCompletion(java.lang.String keyword, TailType tailType)
public java.lang.String toString()
toString
in class java.lang.Object
public void setCaseInsensitive(boolean caseInsensitive)