public class LightReferenceListBuilder extends LightElement implements PsiReferenceList
PsiReferenceList.Role
Iconable.IconFlags, Iconable.LastComputedIcon
myManager
FLAGS_LOCKED, ICON_PLACEHOLDER
EMPTY_ARRAY
ARRAY_FACTORY
ICON_FLAG_IGNORE_MASK, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY
EMPTY_NAVIGATABLE_ELEMENT_ARRAY
EMPTY_NAVIGATION_ITEM_ARRAY
Constructor and Description |
---|
LightReferenceListBuilder(PsiManager manager,
Language language,
PsiReferenceList.Role role) |
LightReferenceListBuilder(PsiManager manager,
PsiReferenceList.Role role) |
Modifier and Type | Method and Description |
---|---|
void |
addReference(PsiClass aClass) |
void |
addReference(PsiClassType type) |
void |
addReference(java.lang.String qualifiedName) |
PsiClassType [] |
getReferencedTypes()
Returns the array of classes referenced by elements in the list.
|
PsiJavaCodeReferenceElement [] |
getReferenceElements()
Returns the array of reference elements contained in the list.
|
PsiReferenceList.Role |
getRole() |
java.lang.String |
toString()
toString() should never be presented to the user.
|
accept, add, addAfter, addBefore, checkAdd, checkDelete, copy, delete, findElementAt, getChildren, getContainingFile, getLanguage, getManager, getNavigationElement, getNextSibling, getNode, getParent, getPrevSibling, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, isPhysical, isValid, isWritable, replace, setNavigationElement, textMatches, textMatches, textToCharArray
acceptChildren, addRange, addRangeAfter, addRangeBefore, canNavigate, canNavigateToSource, deleteChildRange, findChildByClass, findChildrenByClass, findNotNullChildByClass, findReferenceAt, getContext, getFirstChild, getLastChild, getName, getOriginalElement, getPresentation, getProject, getReference, getReferences, getResolveScope, getUseScope, isEquivalentTo, navigate, notNullChild, processDeclarations, textContains
buildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getElementIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, isVisibilitySupported, overlayIcons, registerIconLayer, transformFlags
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept, acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, copy, delete, deleteChildRange, findElementAt, findReferenceAt, getChildren, getContainingFile, getContext, getCopyableUserData, getFirstChild, getLanguage, getLastChild, getManager, getNavigationElement, getNextSibling, getNode, getOriginalElement, getOwnReferences, getParent, getPrevSibling, getProject, getReference, getReferences, getResolveScope, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, getTextRangeInParent, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArray
getUserData, putUserData
public LightReferenceListBuilder(PsiManager manager, PsiReferenceList.Role role)
public LightReferenceListBuilder(PsiManager manager, Language language, PsiReferenceList.Role role)
public java.lang.String toString()
PsiElement
toString
in interface PsiElement
toString
in class LightElement
public void addReference(PsiClass aClass)
public void addReference(java.lang.String qualifiedName)
public void addReference(PsiClassType type)
public PsiJavaCodeReferenceElement [] getReferenceElements()
PsiReferenceList
getReferenceElements
in interface PsiReferenceList
public PsiClassType [] getReferencedTypes()
PsiReferenceList
getReferencedTypes
in interface PsiReferenceList
public PsiReferenceList.Role getRole()
getRole
in interface PsiReferenceList