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 Classes Modifier and Type Interface Description static class
MethodGraph.Node.Simple
A simple implementation of a resolved node of a method without bridges.static class
MethodGraph.Node.Sort
Represents aMethodGraph.Node
's state.static class
MethodGraph.Node.Unresolved
A 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.MethodDescription
getRepresentative()
Returns the method that is represented by this node.MethodGraph.Node.Sort
getSort()
Returns the sort of this node.Visibility
getVisibility()
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.
-
-