public interface GotoDeclarationHandler
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<GotoDeclarationHandler> |
EP_NAME |
Modifier and Type | Method and Description |
---|---|
default java.lang.String |
getActionText(DataContext context)
Provides the custom action text.
|
PsiElement [] |
getGotoDeclarationTargets(PsiElement sourceElement,
int offset,
Editor editor)
Provides an array of target declarations for given
sourceElement . |
static final ExtensionPointName<GotoDeclarationHandler> EP_NAME
PsiElement [] getGotoDeclarationTargets(PsiElement sourceElement, int offset, Editor editor)
sourceElement
.sourceElement
- input PSI elementoffset
- offset in the filePsiElement
or null if none were founddefault java.lang.String getActionText(DataContext context)
context
- the action data context