@Beta public class TypeHierarchyParams extends TextDocumentPositionParams
type hierarchy item
for
a give cursor location in the text document. The request would also allow to specify if the item should be resolved
and whether sub- or supertypes are to be resolved.Constructor and Description |
---|
TypeHierarchyParams() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
TypeHierarchyDirection |
getDirection()
The direction of the type hierarchy resolution.
|
int |
getResolve()
The number of hierarchy levels to resolve.
|
int |
hashCode() |
void |
setDirection(TypeHierarchyDirection direction)
The direction of the type hierarchy resolution.
|
void |
setResolve(int resolve)
The number of hierarchy levels to resolve.
|
java.lang.String |
toString() |
getPosition, getTextDocument, getUri, setPosition, setTextDocument, setUri
@Pure public int getResolve()
0
indicates no hierarchy level. It defaults to 0
.public void setResolve(int resolve)
0
indicates no hierarchy level. It defaults to 0
.@Pure public TypeHierarchyDirection getDirection()
Children
.public void setDirection(TypeHierarchyDirection direction)
Children
.@Pure public java.lang.String toString()
toString
in class TextDocumentPositionParams
@Pure public boolean equals(java.lang.Object obj)
equals
in class TextDocumentPositionParams
@Pure public int hashCode()
hashCode
in class TextDocumentPositionParams