Package net.bytebuddy.dynamic.scaffold
Interface MethodGraph
- All Known Subinterfaces:
MethodGraph.Linked
- All Known Implementing Classes:
MethodGraph.Compiler.Default.Key.Store.Graph
,MethodGraph.Empty
,MethodGraph.Linked.Delegation
,MethodGraph.Simple
public interface MethodGraph
A method graph represents a view on a set of methods as they are seen from a given type. Any method is represented as a node that represents
a method, its bridge methods, its resolution state and information on if it was made visible by a visibility bridge.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
A compiler to produce aMethodGraph
from a given type.static enum
A canonical implementation of an empty method graph.static interface
A linked method graph represents a view that additionally exposes information of a given type's super type view and a view on this graph's directly implemented interfaces.static interface
Represents a node within a method graph.static class
A list of nodes.static class
A simple implementation of a method graph. -
Method Summary
Modifier and TypeMethodDescriptionLists all nodes of this method graph.Locates a node in this graph which represents the provided method token.
-
Method Details
-
locate
Locates a node in this graph which represents the provided method token.- Parameters:
token
- A method token that represents the method to be located.- Returns:
- The node representing the given token.
-
listNodes
MethodGraph.NodeList listNodes()Lists all nodes of this method graph.- Returns:
- A list of all nodes of this method graph.
-