Package net.bytebuddy.implementation
Class InvokeDynamic.InvocationProvider.Target.Resolved.Simple
java.lang.Object
net.bytebuddy.implementation.InvokeDynamic.InvocationProvider.Target.Resolved.Simple
- All Implemented Interfaces:
InvokeDynamic.InvocationProvider.Target.Resolved
- Enclosing interface:
InvokeDynamic.InvocationProvider.Target.Resolved
@Enhance
public static class InvokeDynamic.InvocationProvider.Target.Resolved.Simple
extends Object
implements InvokeDynamic.InvocationProvider.Target.Resolved
A simple implementation of
InvokeDynamic.InvocationProvider.Target.Resolved
.-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.implementation.InvokeDynamic.InvocationProvider.Target.Resolved
InvokeDynamic.InvocationProvider.Target.Resolved.Simple
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
The internal name of the requested method.private final List
<TypeDescription> The types of the values on the operand stack.private final TypeDescription
The requested return type.private final StackManipulation
The stack manipulation that loads the arguments onto the operand stack. -
Constructor Summary
ConstructorsConstructorDescriptionSimple
(StackManipulation stackManipulation, String internalName, TypeDescription returnType, List<TypeDescription> parameterTypes) Creates a new simple instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns the internal name of the requested method.Returns the types of the values on the operand stack.Returns the requested return type.Returns the stack manipulation that loads the arguments onto the operand stack.
-
Field Details
-
stackManipulation
The stack manipulation that loads the arguments onto the operand stack. -
internalName
The internal name of the requested method. -
returnType
The requested return type. -
parameterTypes
The types of the values on the operand stack.
-
-
Constructor Details
-
Simple
public Simple(StackManipulation stackManipulation, String internalName, TypeDescription returnType, List<TypeDescription> parameterTypes) Creates a new simple instance.- Parameters:
stackManipulation
- The stack manipulation that loads the arguments onto the operand stack.internalName
- The internal name of the requested method.returnType
- The requested return type.parameterTypes
- The types of the values on the operand stack.
-
-
Method Details
-
getStackManipulation
Returns the stack manipulation that loads the arguments onto the operand stack.- Specified by:
getStackManipulation
in interfaceInvokeDynamic.InvocationProvider.Target.Resolved
- Returns:
- The stack manipulation that loads the arguments onto the operand stack.
-
getReturnType
Returns the requested return type.- Specified by:
getReturnType
in interfaceInvokeDynamic.InvocationProvider.Target.Resolved
- Returns:
- The requested return type.
-
getInternalName
Returns the internal name of the requested method.- Specified by:
getInternalName
in interfaceInvokeDynamic.InvocationProvider.Target.Resolved
- Returns:
- The internal name of the requested method.
-
getParameterTypes
Returns the types of the values on the operand stack.- Specified by:
getParameterTypes
in interfaceInvokeDynamic.InvocationProvider.Target.Resolved
- Returns:
- The types of the values on the operand stack.
-