public interface PsiSymbolDeclaration extends SymbolDeclaration
To provide symbol declarations by a PsiElement,
you can either implement this interface in PsiElement directly
or create a PsiSymbolDeclarationProvider extension.
| Modifier and Type | Method and Description |
|---|---|
default TextRange |
getAbsoluteRange() |
TextRange |
getDeclarationRange() |
PsiElement |
getDeclaringElement() |
getSymbolPsiElement getDeclaringElement()
TextRange getDeclarationRange()
element range,
which is considered a declaration, e.g. range of identifier in Java classdefault TextRange getAbsoluteRange()
containing file of the element
which is considered a declarationgetDeclarationRange()