Package org.eclipse.lsp4j
Class TypeHierarchySubtypesParams
- java.lang.Object
-
- org.eclipse.lsp4j.WorkDoneProgressAndPartialResultParams
-
- org.eclipse.lsp4j.TypeHierarchySubtypesParams
-
- All Implemented Interfaces:
PartialResultParams,WorkDoneProgressParams
public class TypeHierarchySubtypesParams extends WorkDoneProgressAndPartialResultParams
The request is sent from the client to the server to resolve the subtypes for a given type hierarchy item. Will returnnullif the server couldn't infer a valid type fromitem. The request doesn't define its own client and server capabilities. It is only issued if a server registers for thetextDocument/prepareTypeHierarchyrequest.Since 3.17.0
-
-
Constructor Summary
Constructors Constructor Description TypeHierarchySubtypesParams()TypeHierarchySubtypesParams(TypeHierarchyItem item)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)TypeHierarchyItemgetItem()Representation of an item that carries type information.inthashCode()voidsetItem(TypeHierarchyItem item)Representation of an item that carries type information.java.lang.StringtoString()-
Methods inherited from class org.eclipse.lsp4j.WorkDoneProgressAndPartialResultParams
getPartialResultToken, getWorkDoneToken, setPartialResultToken, setPartialResultToken, setPartialResultToken, setWorkDoneToken, setWorkDoneToken, setWorkDoneToken
-
-
-
-
Constructor Detail
-
TypeHierarchySubtypesParams
public TypeHierarchySubtypesParams()
-
TypeHierarchySubtypesParams
public TypeHierarchySubtypesParams(TypeHierarchyItem item)
-
-
Method Detail
-
getItem
public TypeHierarchyItem getItem()
Representation of an item that carries type information.
-
setItem
public void setItem(TypeHierarchyItem item)
Representation of an item that carries type information.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classWorkDoneProgressAndPartialResultParams
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classWorkDoneProgressAndPartialResultParams
-
hashCode
public int hashCode()
- Overrides:
hashCodein classWorkDoneProgressAndPartialResultParams
-
-