Class CallHierarchy
java.lang.Object
org.eclipse.handly.ui.callhierarchy.CallHierarchy
- All Implemented Interfaces:
ICallHierarchy
Default implementation of
ICallHierarchy.-
Constructor Summary
ConstructorsConstructorDescriptionCallHierarchy(CallHierarchyKind kind, ICallHierarchyNode[] roots) Creates a new call hierarchy object. -
Method Summary
-
Constructor Details
-
CallHierarchy
Creates a new call hierarchy object.- Parameters:
kind- the call hierarchy kind (notnull)roots- the root nodes of the call hierarchy (notnull, each node must not benulland must have no parent node, the kind of the node must correspond to the given call hierarchy kind). The given array must not be subsequently modified
-
-
Method Details
-
getKind
Description copied from interface:ICallHierarchyReturns the kind of this call hierarchy.- Specified by:
getKindin interfaceICallHierarchy- Returns:
- the call hierarchy kind (never
null)
-
getRoots
Description copied from interface:ICallHierarchyReturns the root nodes of this call hierarchy.- Specified by:
getRootsin interfaceICallHierarchy- Returns:
- the root nodes of the call hierarchy (never
null, may be empty). Clients must not modify the returned array.
-