Package net.bytebuddy.dynamic.scaffold
Class MethodGraph.Node.Simple
java.lang.Object
net.bytebuddy.dynamic.scaffold.MethodGraph.Node.Simple
- All Implemented Interfaces:
MethodGraph.Node
- Enclosing interface:
MethodGraph.Node
A simple implementation of a resolved node of a method without bridges.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.dynamic.scaffold.MethodGraph.Node
MethodGraph.Node.Simple, MethodGraph.Node.Sort, MethodGraph.Node.Unresolved
-
Field Summary
Fields -
Constructor Summary
Constructors -
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.
-
Field Details
-
methodDescription
The represented method.
-
-
Constructor Details
-
Simple
Creates a simple node.- Parameters:
methodDescription
- The represented method.
-
-
Method Details
-
getSort
Returns the sort of this node.- Specified by:
getSort
in interfaceMethodGraph.Node
- Returns:
- The sort of this node.
-
getRepresentative
Returns the method that is represented by this node.- Specified by:
getRepresentative
in interfaceMethodGraph.Node
- Returns:
- The method that is represented by this node.
-
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.- Specified by:
getMethodTypes
in interfaceMethodGraph.Node
- Returns:
- A set of type tokens that this method represents.
-
getVisibility
Returns the minimal method visibility of all methods that are represented by this node.- Specified by:
getVisibility
in interfaceMethodGraph.Node
- Returns:
- The minimal method visibility of all methods that are represented by this node.
-