Interface PsiExternalReferenceHost

All Superinterfaces:
PsiElement
All Known Subinterfaces:
PsiComment, PsiLanguageInjectionHost, UrlReferenceHost

public interface PsiExternalReferenceHost extends PsiElement
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: