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 InvokeDynamic.InvocationProvider.Target.Resolved
InvokeDynamic.InvocationProvider.Target.Resolved.Simple -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThe internal name of the requested method.private final List<TypeDescription> The types of the values on the operand stack.private final TypeDescriptionThe requested return type.private final StackManipulationThe 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:
getStackManipulationin interfaceInvokeDynamic.InvocationProvider.Target.Resolved- Returns:
- The stack manipulation that loads the arguments onto the operand stack.
-
getReturnType
Returns the requested return type.- Specified by:
getReturnTypein interfaceInvokeDynamic.InvocationProvider.Target.Resolved- Returns:
- The requested return type.
-
getInternalName
Returns the internal name of the requested method.- Specified by:
getInternalNamein 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:
getParameterTypesin interfaceInvokeDynamic.InvocationProvider.Target.Resolved- Returns:
- The types of the values on the operand stack.
-