public interface RefElement extends RefEntity
EMPTY_ELEMENTS_ARRAY
Modifier and Type | Method and Description |
---|---|
RefElement |
getContainingEntry() |
default PsiElement |
getElement()
Deprecated.
use
getPsiElement() |
java.util.Collection<RefElement> |
getInReferences()
Returns the collection of references from other elements to this element.
|
RefModule |
getModule()
Returns the reference graph node for the module to which the element belongs.
|
java.util.Collection<RefElement> |
getOutReferences()
Returns the collection of references from this element to other elements.
|
SmartPsiElementPointer |
getPointer() |
default PsiElement |
getPsiElement()
Returns the PSI element corresponding to the node.
|
boolean |
isEntry()
Checks if the element is an entry point for reachability analysis.
|
boolean |
isPermanentEntry()
Checks if the element has been specifically marked by the user as an entry point
for reachability analysis.
|
boolean |
isReachable()
Checks if a chain of references exists from one of the entry points to this element.
|
boolean |
isReferenced()
Checks if this element is referenced by any other elements.
|
accept, getChildren, getExternalName, getIcon, getName, getOwner, getQualifiedName, getRefManager, isValid
getUserData, putUserData
RefModule getModule()
default PsiElement getPsiElement()
@Deprecated default PsiElement getElement()
getPsiElement()
SmartPsiElementPointer getPointer()
boolean isReachable()
boolean isReferenced()
java.util.Collection<RefElement> getOutReferences()
java.util.Collection<RefElement> getInReferences()
boolean isEntry()
boolean isPermanentEntry()
RefElement getContainingEntry()