@HashCodeAndEqualsPlugin.Enhance public static class InvokeDynamic.InvocationProvider.Target.Resolved.Simple extends java.lang.Object implements InvokeDynamic.InvocationProvider.Target.Resolved
InvokeDynamic.InvocationProvider.Target.Resolved
.InvokeDynamic.InvocationProvider.Target.Resolved.Simple
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
internalName
The internal name of the requested method.
|
private java.util.List<TypeDescription> |
parameterTypes
The types of the values on the operand stack.
|
private TypeDescription |
returnType
The requested return type.
|
private StackManipulation |
stackManipulation
The stack manipulation that loads the arguments onto the operand stack.
|
Constructor and Description |
---|
Simple(StackManipulation stackManipulation,
java.lang.String internalName,
TypeDescription returnType,
java.util.List<TypeDescription> parameterTypes)
Creates a new simple instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getInternalName()
Returns the internal name of the requested method.
|
java.util.List<TypeDescription> |
getParameterTypes()
Returns the types of the values on the operand stack.
|
TypeDescription |
getReturnType()
Returns the requested return type.
|
StackManipulation |
getStackManipulation()
Returns the stack manipulation that loads the arguments onto the operand stack.
|
private final StackManipulation stackManipulation
private final java.lang.String internalName
private final TypeDescription returnType
private final java.util.List<TypeDescription> parameterTypes
public Simple(StackManipulation stackManipulation, java.lang.String internalName, TypeDescription returnType, java.util.List<TypeDescription> parameterTypes)
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.public StackManipulation getStackManipulation()
getStackManipulation
in interface InvokeDynamic.InvocationProvider.Target.Resolved
public TypeDescription getReturnType()
getReturnType
in interface InvokeDynamic.InvocationProvider.Target.Resolved
public java.lang.String getInternalName()
getInternalName
in interface InvokeDynamic.InvocationProvider.Target.Resolved
public java.util.List<TypeDescription> getParameterTypes()
getParameterTypes
in interface InvokeDynamic.InvocationProvider.Target.Resolved