- All Superinterfaces:
PsiElement
- All Known Subinterfaces:
PsiComment,PsiLanguageInjectionHost,UrlReferenceHost
Elements which support external references should implement this interface.
There are two kinds of element references: own references and external references.
Own references are references the element knows about, they are usually used by language support.
Element doesn't know about external references since, for example, they might be contributed by plugins.
External references are used for navigation/Find Usages/etc as well as own references.
The element must implement this interface to support hosting external references, so this mechanism is effectively opt-in.
- See Also:
-
PsiElement#getOwnReferencesUrlReferenceHost
-
Field Summary
Fields inherited from interface com.intellij.psi.PsiElement
EMPTY_ARRAY -
Method Summary
Methods inherited from interface com.intellij.psi.PsiElement
add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, copy, delete, deleteChildRange, findElementAt, findReferenceAt, getChildren, getContainingFile, getContext, getFirstChild, getLanguage, getLastChild, getNavigationElement, getNextSibling, getNode, getOriginalElement, getParent, getPrevSibling, getReference, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, isEquivalentTo, isPhysical, isValid, isWritable, replace, textContains, textMatches, textMatches, textToCharArray, toString