Package net.bytebuddy.implementation
Class InvokeDynamic.InvocationProvider.Target.Resolved.Simple
- java.lang.Object
-
- net.bytebuddy.implementation.InvokeDynamic.InvocationProvider.Target.Resolved.Simple
-
- All Implemented Interfaces:
InvokeDynamic.InvocationProvider.Target.Resolved
- Enclosing interface:
- InvokeDynamic.InvocationProvider.Target.Resolved
@Enhance public static class InvokeDynamic.InvocationProvider.Target.Resolved.Simple extends Object implements InvokeDynamic.InvocationProvider.Target.Resolved
A simple implementation ofInvokeDynamic.InvocationProvider.Target.Resolved.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.implementation.InvokeDynamic.InvocationProvider.Target.Resolved
InvokeDynamic.InvocationProvider.Target.Resolved.Simple
-
-
Constructor Summary
Constructors Constructor Description Simple(StackManipulation stackManipulation, String internalName, TypeDescription returnType, List<TypeDescription> parameterTypes)Creates a new simple instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetInternalName()Returns the internal name of the requested method.List<TypeDescription>getParameterTypes()Returns the types of the values on the operand stack.TypeDescriptiongetReturnType()Returns the requested return type.StackManipulationgetStackManipulation()Returns the stack manipulation that loads the arguments onto the operand stack.
-
-
-
Constructor Detail
-
Simple
public Simple(StackManipulation stackManipulation, String internalName, TypeDescription returnType, List<TypeDescription> parameterTypes)
Creates a new simple instance.- Parameters:
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.
-
-
Method Detail
-
getStackManipulation
public StackManipulation getStackManipulation()
Returns the stack manipulation that loads the arguments onto the operand stack.- Specified by:
getStackManipulationin interfaceInvokeDynamic.InvocationProvider.Target.Resolved- Returns:
- The stack manipulation that loads the arguments onto the operand stack.
-
getReturnType
public TypeDescription getReturnType()
Returns the requested return type.- Specified by:
getReturnTypein interfaceInvokeDynamic.InvocationProvider.Target.Resolved- Returns:
- The requested return type.
-
getInternalName
public String getInternalName()
Returns the internal name of the requested method.- Specified by:
getInternalNamein interfaceInvokeDynamic.InvocationProvider.Target.Resolved- Returns:
- The internal name of the requested method.
-
getParameterTypes
public List<TypeDescription> getParameterTypes()
Returns the types of the values on the operand stack.- Specified by:
getParameterTypesin interfaceInvokeDynamic.InvocationProvider.Target.Resolved- Returns:
- The types of the values on the operand stack.
-
-