public abstract class GotoDeclarationHandlerBase extends java.lang.Object implements GotoDeclarationHandler
EP_NAME
Constructor and Description |
---|
GotoDeclarationHandlerBase() |
Modifier and Type | Method and Description |
---|---|
abstract PsiElement |
getGotoDeclarationTarget(PsiElement sourceElement,
Editor editor) |
PsiElement [] |
getGotoDeclarationTargets(PsiElement sourceElement,
int offset,
Editor editor)
Provides an array of target declarations for given
sourceElement . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getActionText
public PsiElement [] getGotoDeclarationTargets(PsiElement sourceElement, int offset, Editor editor)
GotoDeclarationHandler
sourceElement
.getGotoDeclarationTargets
in interface GotoDeclarationHandler
sourceElement
- input PSI elementoffset
- offset in the filePsiElement
or null if none were foundpublic abstract PsiElement getGotoDeclarationTarget(PsiElement sourceElement, Editor editor)