public class JavaGlobalMemberLookupElement extends LookupElement implements StaticallyImportable
EMPTY_ARRAY
CLASS_CONDITION_KEY
Constructor and Description |
---|
JavaGlobalMemberLookupElement(java.util.List<? extends PsiMethod> overloads,
PsiClass containingClass,
InsertHandler<JavaGlobalMemberLookupElement> qualifiedInsertion,
InsertHandler<JavaGlobalMemberLookupElement> importInsertion,
boolean shouldImport) |
JavaGlobalMemberLookupElement(PsiMember member,
PsiClass containingClass,
InsertHandler<JavaGlobalMemberLookupElement> qualifiedInsertion,
InsertHandler<JavaGlobalMemberLookupElement> importInsertion,
boolean shouldImport) |
Modifier and Type | Method and Description |
---|---|
boolean |
canBeImported() |
java.util.Set<java.lang.String> |
getAllLookupStrings() |
PsiClass |
getContainingClass() |
java.lang.String |
getLookupString() |
PsiMember |
getObject() |
void |
handleInsert(InsertionContext context) |
void |
renderElement(LookupElementPresentation presentation) |
void |
setShouldBeImported(boolean shouldImportStatic) |
boolean |
willBeImported() |
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 JavaGlobalMemberLookupElement(java.util.List<? extends PsiMethod> overloads, PsiClass containingClass, InsertHandler<JavaGlobalMemberLookupElement> qualifiedInsertion, InsertHandler<JavaGlobalMemberLookupElement> importInsertion, boolean shouldImport)
public JavaGlobalMemberLookupElement(PsiMember member, PsiClass containingClass, InsertHandler<JavaGlobalMemberLookupElement> qualifiedInsertion, InsertHandler<JavaGlobalMemberLookupElement> importInsertion, boolean shouldImport)
public PsiMember getObject()
getObject
in class LookupElement
public PsiClass getContainingClass()
public java.lang.String getLookupString()
getLookupString
in class LookupElement
public java.util.Set<java.lang.String> getAllLookupStrings()
getAllLookupStrings
in class LookupElement
public void renderElement(LookupElementPresentation presentation)
renderElement
in class LookupElement
public void setShouldBeImported(boolean shouldImportStatic)
setShouldBeImported
in interface StaticallyImportable
public boolean canBeImported()
canBeImported
in interface StaticallyImportable
public boolean willBeImported()
willBeImported
in interface StaticallyImportable
public void handleInsert(InsertionContext context)
handleInsert
in class LookupElement