public abstract class TailTypeDecorator<T extends LookupElement> extends LookupElementDecorator<T>
InsertHandler
insteadEMPTY_ARRAY
Constructor and Description |
---|
TailTypeDecorator(T delegate) |
Modifier and Type | Method and Description |
---|---|
protected abstract TailType |
computeTailType(InsertionContext context) |
void |
handleInsert(InsertionContext context) |
static <T extends LookupElement> |
withTail(T element,
TailType type) |
as, as, equals, getAllLookupStrings, getAutoCompletionPolicy, getDelegate, getLookupString, getObject, getPsiElement, hashCode, isCaseSensitive, isValid, isWorthShowingInAutoPopup, renderElement, toString, withInsertHandler, withRenderer
requiresCommittedDocuments
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
public TailTypeDecorator(T delegate)
public static <T extends LookupElement> TailTypeDecorator<T> withTail(T element, TailType type)
protected abstract TailType computeTailType(InsertionContext context)
public void handleInsert(InsertionContext context)
handleInsert
in class LookupElementDecorator<T extends LookupElement>