public final class CallHierarchy extends java.lang.Object implements ICallHierarchy
ICallHierarchy
.Constructor and Description |
---|
CallHierarchy(CallHierarchyKind kind,
ICallHierarchyNode[] roots,
java.lang.String label)
Creates a new call hierarchy object.
|
Modifier and Type | Method and Description |
---|---|
CallHierarchyKind |
getKind()
Returns the kind of this call hierarchy.
|
java.lang.String |
getLabel()
Returns a user-readable text label for this call hierarchy.
|
ICallHierarchyNode[] |
getRoots()
Returns the root nodes of this call hierarchy.
|
public CallHierarchy(CallHierarchyKind kind, ICallHierarchyNode[] roots, java.lang.String label)
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 modifiedlabel
- a user-readable text label for the call hierarchy
(not null
, may be empty)public 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.public java.lang.String getLabel()
ICallHierarchy
getLabel
in interface ICallHierarchy
null
,
may be empty)Copyright (c) 2014, 2018 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0