public static class MethodGraph.Simple extends Object implements MethodGraph
MethodGraph.Compiler, MethodGraph.Empty, MethodGraph.Linked, MethodGraph.Node, MethodGraph.NodeList, MethodGraph.Simple| Constructor and Description | 
|---|
Simple(LinkedHashMap<MethodDescription.SignatureToken,MethodGraph.Node> nodes)
Creates a new simple method graph. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object other)  | 
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. 
 | 
static MethodGraph | 
of(List<? extends MethodDescription> methodDescriptions)
Returns a method graph that contains all of the provided methods as simple nodes. 
 | 
String | 
toString()  | 
public Simple(LinkedHashMap<MethodDescription.SignatureToken,MethodGraph.Node> nodes)
nodes - The nodes represented by this method graph.public static MethodGraph of(List<? extends MethodDescription> methodDescriptions)
methodDescriptions - A list of method descriptions to be represented as simple nodes.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.