Package net.bytebuddy.dynamic.scaffold
Interface MethodGraph.Node
- All Known Implementing Classes:
MethodGraph.Compiler.Default.Key.Store.Entry.Ambiguous.Node
,MethodGraph.Compiler.Default.Key.Store.Entry.Resolved.Node
,MethodGraph.Node.Simple
,MethodGraph.Node.Unresolved
- Enclosing interface:
- MethodGraph
public static interface MethodGraph.Node
Represents a node within a method graph.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
A simple implementation of a resolved node of a method without bridges.static enum
Represents aMethodGraph.Node
's state.static enum
A canonical implementation of an unresolved node. -
Method Summary
Modifier and TypeMethodDescriptionReturns a set of type tokens that this method represents.Returns the method that is represented by this node.getSort()
Returns the sort of this node.Returns the minimal method visibility of all methods that are represented by this node.
-
Method Details
-
getSort
MethodGraph.Node.Sort getSort()Returns the sort of this node.- Returns:
- The sort of this node.
-
getRepresentative
MethodDescription getRepresentative()Returns the method that is represented by this node.- Returns:
- The method that is represented by this node.
-
getMethodTypes
Set<MethodDescription.TypeToken> getMethodTypes()Returns a set of type tokens that this method represents. This set contains the actual method's type including the types of all bridge methods.- Returns:
- A set of type tokens that this method represents.
-
getVisibility
Visibility getVisibility()Returns the minimal method visibility of all methods that are represented by this node.- Returns:
- The minimal method visibility of all methods that are represented by this node.
-