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 superClassGraph,
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 |
getSuperClassGraph()
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.SignatureToken token)
Locates a node in this graph which represents the provided method token.
|
String |
toString() |
public Delegation(MethodGraph methodGraph, MethodGraph superClassGraph, Map<TypeDescription,MethodGraph> interfaceGraphs)
methodGraph - The represented type's method graph.superClassGraph - The super class's method graph.interfaceGraphs - A mapping of method graphs of the represented type's directly implemented interfaces to their graph representatives.public MethodGraph getSuperClassGraph()
MethodGraph.LinkedgetSuperClassGraph 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.SignatureToken token)
MethodGraphlocate in interface MethodGraphtoken - A method token that represents the method to be located.public MethodGraph.NodeList listNodes()
MethodGraphlistNodes in interface MethodGraphCopyright © 2014–2016. All rights reserved.