public final class CallHierarchy extends java.lang.Object implements ICallHierarchy
ICallHierarchy
.Constructor and Description |
---|
CallHierarchy(CallHierarchyKind kind,
ICallHierarchyNode[] roots)
Creates a new call hierarchy object.
|
Modifier and Type | Method and Description |
---|---|
CallHierarchyKind |
getKind()
Returns the kind of this call hierarchy.
|
ICallHierarchyNode[] |
getRoots()
Returns the root nodes of this call hierarchy.
|
public CallHierarchy(CallHierarchyKind kind, ICallHierarchyNode[] roots)
kind
- the call hierarchy kind (not null
)roots
- the root nodes of the call hierarchy (not null
,
each node must not be null
and 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 modifiedpublic CallHierarchyKind getKind()
ICallHierarchy
getKind
in interface ICallHierarchy
null
)public ICallHierarchyNode[] getRoots()
ICallHierarchy
getRoots
in interface ICallHierarchy
null
,
may be empty). Clients must not modify the returned array.Copyright (c) 2014, 2020 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0