public abstract class StaticMemberProcessor
extends java.lang.Object
Constructor and Description |
---|
StaticMemberProcessor(PsiElement position) |
Modifier and Type | Method and Description |
---|---|
protected abstract LookupElement |
createLookupElement(java.util.List<? extends PsiMethod> overloads,
PsiClass containingClass,
boolean shouldImport) |
protected abstract LookupElement |
createLookupElement(PsiMember member,
PsiClass containingClass,
boolean shouldImport) |
PsiElement |
getPosition() |
void |
importMembersOf(PsiClass psiClass) |
protected boolean |
isAccessible(PsiMember member) |
java.util.List<PsiMember> |
processMembersOfRegisteredClasses(PrefixMatcher matcher,
PairConsumer<? super PsiMember,? super PsiClass> consumer) |
void |
processStaticMethodsGlobally(PrefixMatcher matcher,
Consumer<? super LookupElement> consumer) |
public StaticMemberProcessor(PsiElement position)
public void importMembersOf(PsiClass psiClass)
public void processStaticMethodsGlobally(PrefixMatcher matcher, Consumer<? super LookupElement> consumer)
public java.util.List<PsiMember> processMembersOfRegisteredClasses(PrefixMatcher matcher, PairConsumer<? super PsiMember,? super PsiClass> consumer)
public PsiElement getPosition()
protected boolean isAccessible(PsiMember member)
protected abstract LookupElement createLookupElement(PsiMember member, PsiClass containingClass, boolean shouldImport)
protected abstract LookupElement createLookupElement(java.util.List<? extends PsiMethod> overloads, PsiClass containingClass, boolean shouldImport)