@HashCodeAndEqualsPlugin.Enhance public static class InvokeDynamic.InvocationProvider.Target.Resolved.Simple extends Object implements InvokeDynamic.InvocationProvider.Target.Resolved
InvokeDynamic.InvocationProvider.Target.Resolved
.InvokeDynamic.InvocationProvider.Target.Resolved.Simple
Constructor and Description |
---|
Simple(StackManipulation stackManipulation,
String internalName,
TypeDescription returnType,
List<TypeDescription> parameterTypes)
Creates a new simple instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getInternalName()
Returns the internal name of the requested method.
|
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.
|
public Simple(StackManipulation stackManipulation, String internalName, TypeDescription returnType, 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 String getInternalName()
getInternalName
in interface InvokeDynamic.InvocationProvider.Target.Resolved
public List<TypeDescription> getParameterTypes()
getParameterTypes
in interface InvokeDynamic.InvocationProvider.Target.Resolved
Copyright © 2014–2019. All rights reserved.