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.NodeRepresents a node within a method graph.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMethodGraph.Node.SimpleA simple implementation of a resolved node of a method without bridges.static classMethodGraph.Node.SortRepresents aMethodGraph.Node's state.static classMethodGraph.Node.UnresolvedA canonical implementation of an unresolved node.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<MethodDescription.TypeToken>getMethodTypes()Returns a set of type tokens that this method represents.MethodDescriptiongetRepresentative()Returns the method that is represented by this node.MethodGraph.Node.SortgetSort()Returns the sort of this node.VisibilitygetVisibility()Returns the minimal method visibility of all methods that are represented by this node.
-
-
-
Method Detail
-
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
java.util.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.
-
-