public static class MethodGraph.Linked.Delegation extends Object implements MethodGraph.Linked
MethodGraph.Linked.Delegation
MethodGraph.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.Linked
getSuperGraph
in interface MethodGraph.Linked
public MethodGraph getInterfaceGraph(TypeDescription typeDescription)
MethodGraph.Linked
getInterfaceGraph
in interface MethodGraph.Linked
typeDescription
- The interface type for which a view is to be returned.public MethodGraph.Node locate(MethodDescription.Token methodToken)
MethodGraph
locate
in interface MethodGraph
methodToken
- A method token that represents the method to be located.public MethodGraph.NodeList listNodes()
MethodGraph
listNodes
in interface MethodGraph
Copyright © 2014–2015. All rights reserved.