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.Token,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.Token methodToken)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.Token,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.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.