@HashCodeAndEqualsPlugin.Enhance public static class InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved.Simple extends java.lang.Object implements InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved
InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved.Simple
Modifier and Type | Field and Description |
---|---|
private java.util.List<TypeDescription> |
loadedTypes
A list of all types of the arguments that were loaded onto the operand stack.
|
private StackManipulation |
stackManipulation
A stack manipulation that loads the arguments onto the operand stack.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<TypeDescription> |
getLoadedTypes()
Returns a list of all types of the arguments that were loaded onto the operand stack.
|
StackManipulation |
getLoadInstruction()
Returns a stack manipulation that loads the arguments onto the operand stack.
|
private final StackManipulation stackManipulation
private final java.util.List<TypeDescription> loadedTypes
public Simple(StackManipulation stackManipulation, TypeDescription loadedType)
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.public Simple(StackManipulation stackManipulation, java.util.List<TypeDescription> loadedTypes)
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.public StackManipulation getLoadInstruction()
getLoadInstruction
in interface InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved
public java.util.List<TypeDescription> getLoadedTypes()
getLoadedTypes
in interface InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved