public class JavaChainLookupElement extends LookupElementDecorator<LookupElement> implements TypedLookupItem
Modifier and Type | Field and Description |
---|---|
static Key<java.lang.Boolean> |
CHAIN_QUALIFIER |
static ClassConditionKey<JavaChainLookupElement> |
CLASS_CONDITION_KEY |
EMPTY_ARRAY
Constructor and Description |
---|
JavaChainLookupElement(LookupElement qualifier,
LookupElement main) |
JavaChainLookupElement(LookupElement qualifier,
LookupElement main,
java.lang.String separator) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.Set<java.lang.String> |
getAllLookupStrings() |
java.lang.String |
getLookupString() |
LookupElement |
getQualifier() |
PsiType |
getType() |
void |
handleInsert(InsertionContext context) |
int |
hashCode() |
boolean |
isValid() |
void |
renderElement(LookupElementPresentation presentation) |
protected boolean |
shouldParenthesizeQualifier(PsiFile file,
int startOffset,
int endOffset) |
java.lang.String |
toString() |
as, as, getAutoCompletionPolicy, getDelegate, getObject, getPsiElement, isCaseSensitive, isWorthShowingInAutoPopup, withInsertHandler, withRenderer
requiresCommittedDocuments
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
public static final Key<java.lang.Boolean> CHAIN_QUALIFIER
public static final ClassConditionKey<JavaChainLookupElement> CLASS_CONDITION_KEY
public JavaChainLookupElement(LookupElement qualifier, LookupElement main)
public JavaChainLookupElement(LookupElement qualifier, LookupElement main, java.lang.String separator)
public java.lang.String getLookupString()
getLookupString
in class LookupElementDecorator<LookupElement>
public LookupElement getQualifier()
public java.util.Set<java.lang.String> getAllLookupStrings()
getAllLookupStrings
in class LookupElementDecorator<LookupElement>
public java.lang.String toString()
toString
in class LookupElementDecorator<LookupElement>
public boolean isValid()
isValid
in class LookupElementDecorator<LookupElement>
public void renderElement(LookupElementPresentation presentation)
renderElement
in class LookupElementDecorator<LookupElement>
public void handleInsert(InsertionContext context)
handleInsert
in class LookupElementDecorator<LookupElement>
protected boolean shouldParenthesizeQualifier(PsiFile file, int startOffset, int endOffset)
public boolean equals(java.lang.Object o)
equals
in class LookupElementDecorator<LookupElement>
public int hashCode()
hashCode
in class LookupElementDecorator<LookupElement>
public PsiType getType()
getType
in interface TypedLookupItem