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
public static class InvokeDynamic.InvocationProvider.Target.Resolved.Simple extends java.lang.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, java.lang.String internalName, TypeDescription returnType, java.util.List<TypeDescription> parameterTypes)
Creates a new simple instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
Simple
public Simple(StackManipulation stackManipulation, java.lang.String internalName, TypeDescription returnType, java.util.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()
Description copied from interface:InvokeDynamic.InvocationProvider.Target.Resolved
Returns the stack manipulation that loads the arguments onto the operand stack.- Specified by:
getStackManipulation
in interfaceInvokeDynamic.InvocationProvider.Target.Resolved
- Returns:
- The stack manipulation that loads the arguments onto the operand stack.
-
getReturnType
public TypeDescription getReturnType()
Description copied from interface:InvokeDynamic.InvocationProvider.Target.Resolved
Returns the requested return type.- Specified by:
getReturnType
in interfaceInvokeDynamic.InvocationProvider.Target.Resolved
- Returns:
- The requested return type.
-
getInternalName
public java.lang.String getInternalName()
Description copied from interface:InvokeDynamic.InvocationProvider.Target.Resolved
Returns the internal name of the requested method.- Specified by:
getInternalName
in interfaceInvokeDynamic.InvocationProvider.Target.Resolved
- Returns:
- The internal name of the requested method.
-
getParameterTypes
public java.util.List<TypeDescription> getParameterTypes()
Description copied from interface:InvokeDynamic.InvocationProvider.Target.Resolved
Returns the types of the values on the operand stack.- Specified by:
getParameterTypes
in interfaceInvokeDynamic.InvocationProvider.Target.Resolved
- Returns:
- The types of the values on the operand stack.
-
-