Package net.bytebuddy.implementation
Class InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved.Simple
java.lang.Object
net.bytebuddy.implementation.InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved.Simple
- All Implemented Interfaces:
InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved
- Enclosing interface:
- InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved
@Enhance
public static class InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved.Simple
extends Object
implements InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved
A simple implementation of a resolved argument provider.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.implementation.InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved
InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved.Simple
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<TypeDescription>
A list of all types of the arguments that were loaded onto the operand stack.private final StackManipulation
A stack manipulation that loads the arguments onto the operand stack. -
Constructor Summary
ConstructorsConstructorDescriptionSimple
(StackManipulation stackManipulation, List<TypeDescription> loadedTypes) Creates a simple resolved argument provider.Simple
(StackManipulation stackManipulation, TypeDescription loadedType) Creates a simple resolved argument provider. -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of all types of the arguments that were loaded onto the operand stack.Returns a stack manipulation that loads the arguments onto the operand stack.
-
Field Details
-
stackManipulation
A stack manipulation that loads the arguments onto the operand stack. -
loadedTypes
A list of all types of the arguments that were loaded onto the operand stack.
-
-
Constructor Details
-
Simple
Creates a simple resolved argument provider.- Parameters:
stackManipulation
- A stack manipulation that loads the argument onto the operand stack.loadedType
- The type of the arguments that is loaded onto the operand stack.
-
Simple
Creates a simple resolved argument provider.- Parameters:
stackManipulation
- A stack manipulation that loads the arguments onto the operand stack.loadedTypes
- A list of all types of the arguments that were loaded onto the operand stack.
-
-
Method Details
-
getLoadInstruction
Returns a stack manipulation that loads the arguments onto the operand stack.- Specified by:
getLoadInstruction
in interfaceInvokeDynamic.InvocationProvider.ArgumentProvider.Resolved
- Returns:
- A stack manipulation that loads the arguments onto the operand stack.
-
getLoadedTypes
Returns a list of all types of the arguments that were loaded onto the operand stack.- Specified by:
getLoadedTypes
in interfaceInvokeDynamic.InvocationProvider.ArgumentProvider.Resolved
- Returns:
- A list of all types of the arguments that were loaded onto the operand stack.
-