public static class MethodGraph.Linked.Delegation extends Object implements MethodGraph.Linked
MethodGraph.Linked.DelegationMethodGraph.Compiler, MethodGraph.Empty, MethodGraph.Linked, MethodGraph.Node, MethodGraph.NodeList, MethodGraph.Simple| Constructor and Description |
|---|
Delegation(MethodGraph methodGraph,
MethodGraph superGraph,
Map<TypeDescription,MethodGraph> interfaceGraphs)
Creates a new delegation method graph.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
MethodGraph |
getInterfaceGraph(TypeDescription typeDescription)
Returns a graph representing the view on this represented type's directly implemented interface type.
|
MethodGraph |
getSuperGraph()
Returns a graph representing the view on this represented type's super type.
|
int |
hashCode() |
MethodGraph.NodeList |
listNodes()
Lists all nodes of this method graph.
|
MethodGraph.Node |
locate(MethodDescription.Token methodToken)
Locates a node in this graph which represents the provided method token.
|
String |
toString() |
public Delegation(MethodGraph methodGraph, MethodGraph superGraph, Map<TypeDescription,MethodGraph> interfaceGraphs)
methodGraph - The represented type's method graph.superGraph - The super type's method graph.interfaceGraphs - A mapping of method graphs of the represented type's directly implemented interfaces to their graph representatives.public MethodGraph getSuperGraph()
MethodGraph.LinkedgetSuperGraph in interface MethodGraph.Linkedpublic MethodGraph getInterfaceGraph(TypeDescription typeDescription)
MethodGraph.LinkedgetInterfaceGraph in interface MethodGraph.LinkedtypeDescription - The interface type for which a view is to be returned.public MethodGraph.Node locate(MethodDescription.Token methodToken)
MethodGraphlocate in interface MethodGraphmethodToken - A method token that represents the method to be located.public MethodGraph.NodeList listNodes()
MethodGraphlistNodes in interface MethodGraphCopyright © 2014–2015. All rights reserved.