public class ExpressionLookupItem extends LookupElement implements TypedLookupItem
EMPTY_ARRAY
CLASS_CONDITION_KEY
Constructor and Description |
---|
ExpressionLookupItem(PsiExpression expression) |
ExpressionLookupItem(PsiExpression expression,
javax.swing.Icon icon,
java.lang.String presentableText,
java.lang.String... lookupStrings) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.Set<java.lang.String> |
getAllLookupStrings() |
java.lang.String |
getLookupString() |
PsiExpression |
getObject() |
PsiType |
getType() |
void |
handleInsert(InsertionContext context) |
int |
hashCode() |
void |
renderElement(LookupElementPresentation presentation) |
as, as, getAutoCompletionPolicy, getPsiElement, isCaseSensitive, isValid, isWorthShowingInAutoPopup, requiresCommittedDocuments, toString
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
public ExpressionLookupItem(PsiExpression expression)
public ExpressionLookupItem(PsiExpression expression, javax.swing.Icon icon, java.lang.String presentableText, java.lang.String... lookupStrings)
public PsiExpression getObject()
getObject
in class LookupElement
public void renderElement(LookupElementPresentation presentation)
renderElement
in class LookupElement
public void handleInsert(InsertionContext context)
handleInsert
in class LookupElement
public PsiType getType()
getType
in interface TypedLookupItem
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getLookupString()
getLookupString
in class LookupElement
public java.util.Set<java.lang.String> getAllLookupStrings()
getAllLookupStrings
in class LookupElement