public class SmartCompletionDecorator extends LookupElementDecorator<LookupElement>
EMPTY_ARRAY
Modifier and Type | Method and Description |
---|---|
static PsiSubstitutor |
calculateMethodReturnTypeSubstitutor(PsiMethod method,
PsiType expected) |
static PsiElement |
getPosition(InsertionContext context,
LookupElement element) |
void |
handleInsert(InsertionContext context) |
static boolean |
hasUnboundTypeParams(PsiMethod method,
PsiType expectedType) |
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 void handleInsert(InsertionContext context)
handleInsert
in class LookupElementDecorator<LookupElement>
public static boolean hasUnboundTypeParams(PsiMethod method, PsiType expectedType)
public static PsiSubstitutor calculateMethodReturnTypeSubstitutor(PsiMethod method, PsiType expected)
public static PsiElement getPosition(InsertionContext context, LookupElement element)