接口 PsiExternalReferenceHost

所有超级接口:
PsiElement
所有已知子接口:
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.

另请参阅: