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
public static class InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved.Simple extends java.lang.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
-
-
Constructor Summary
Constructors Constructor Description Simple(StackManipulation stackManipulation, java.util.List<TypeDescription> loadedTypes)Creates a simple resolved argument provider.Simple(StackManipulation stackManipulation, TypeDescription loadedType)Creates a simple resolved argument provider.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<TypeDescription>getLoadedTypes()Returns a list of all types of the arguments that were loaded onto the operand stack.StackManipulationgetLoadInstruction()Returns a stack manipulation that loads the arguments onto the operand stack.
-
-
-
Constructor Detail
-
Simple
public Simple(StackManipulation stackManipulation, TypeDescription loadedType)
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
public Simple(StackManipulation stackManipulation, java.util.List<TypeDescription> loadedTypes)
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 Detail
-
getLoadInstruction
public StackManipulation getLoadInstruction()
Description copied from interface:InvokeDynamic.InvocationProvider.ArgumentProvider.ResolvedReturns a stack manipulation that loads the arguments onto the operand stack.- Specified by:
getLoadInstructionin interfaceInvokeDynamic.InvocationProvider.ArgumentProvider.Resolved- Returns:
- A stack manipulation that loads the arguments onto the operand stack.
-
getLoadedTypes
public java.util.List<TypeDescription> getLoadedTypes()
Description copied from interface:InvokeDynamic.InvocationProvider.ArgumentProvider.ResolvedReturns a list of all types of the arguments that were loaded onto the operand stack.- Specified by:
getLoadedTypesin interfaceInvokeDynamic.InvocationProvider.ArgumentProvider.Resolved- Returns:
- A list of all types of the arguments that were loaded onto the operand stack.
-
-