Package io.airlift.bytecode.instruction
Class InvokeInstruction
java.lang.Object
io.airlift.bytecode.instruction.InvokeInstruction
- All Implemented Interfaces:
BytecodeNode,InstructionNode
- Direct Known Subclasses:
InvokeInstruction.InvokeDynamicInstruction
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionInvokeInstruction(OpCode opCode, ParameterizedType target, String name, ParameterizedType returnType, Iterable<ParameterizedType> parameterTypes) -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(BytecodeNode parent, BytecodeVisitor<T> visitor) voidaccept(org.objectweb.asm.MethodVisitor visitor, MethodGenerationContext generationContext) getName()static InstructionNodeinvokeConstructor(ParameterizedType target, ParameterizedType... parameterTypes) static InstructionNodeinvokeConstructor(ParameterizedType target, Iterable<ParameterizedType> parameterTypes) static InstructionNodeinvokeConstructor(Class<?> target, Class<?>... parameterTypes) static InstructionNodeinvokeConstructor(Class<?> target, Iterable<Class<?>> parameterTypes) static InstructionNodeinvokeConstructor(Constructor<?> constructor) static InstructionNodeinvokeDynamic(String name, ParameterizedType returnType, Iterable<ParameterizedType> parameterTypes, Method bootstrapMethod, Iterable<Object> bootstrapArguments) static InstructionNodeinvokeDynamic(String name, ParameterizedType returnType, Iterable<ParameterizedType> parameterTypes, Method bootstrapMethod, Object... bootstrapArguments) static InstructionNodeinvokeDynamic(String name, MethodType methodType, Method bootstrapMethod, Iterable<Object> bootstrapArguments) static InstructionNodeinvokeDynamic(String name, MethodType methodType, Method bootstrapMethod, Object... bootstrapArguments) static InstructionNodeinvokeInterface(MethodDefinition method) static InstructionNodeinvokeInterface(ParameterizedType target, String name, ParameterizedType returnType, ParameterizedType... parameterTypes) static InstructionNodeinvokeInterface(ParameterizedType target, String name, ParameterizedType returnType, Iterable<ParameterizedType> parameterTypes) static InstructionNodeinvokeInterface(Class<?> target, String name, Class<?> returnType, Class<?>... parameterTypes) static InstructionNodeinvokeInterface(Class<?> target, String name, Class<?> returnType, Iterable<Class<?>> parameterTypes) static InstructionNodeinvokeInterface(Method method) static InstructionNodeinvokeSpecial(MethodDefinition method) static InstructionNodeinvokeSpecial(ParameterizedType target, String name, ParameterizedType returnType, ParameterizedType... parameterTypes) static InstructionNodeinvokeSpecial(ParameterizedType target, String name, ParameterizedType returnType, Iterable<ParameterizedType> parameterTypes) static InstructionNodeinvokeSpecial(Class<?> target, String name, Class<?> returnType, Class<?>... parameterTypes) static InstructionNodestatic InstructionNodeinvokeSpecial(Method method) static InstructionNodeinvokeStatic(MethodDefinition method) static InstructionNodeinvokeStatic(ParameterizedType target, String name, ParameterizedType returnType, ParameterizedType... parameterTypes) static InstructionNodeinvokeStatic(ParameterizedType target, String name, ParameterizedType returnType, Iterable<ParameterizedType> parameterTypes) static InstructionNodeinvokeStatic(Class<?> target, String name, Class<?> returnType, Class<?>... parameterTypes) static InstructionNodestatic InstructionNodeinvokeStatic(Method method) static InstructionNodeinvokeVirtual(MethodDefinition method) static InstructionNodeinvokeVirtual(ParameterizedType target, String name, ParameterizedType returnType, ParameterizedType... parameterTypes) static InstructionNodeinvokeVirtual(ParameterizedType target, String name, ParameterizedType returnType, Iterable<ParameterizedType> parameterTypes) static InstructionNodeinvokeVirtual(Class<?> target, String name, Class<?> returnType, Class<?>... parameterTypes) static InstructionNodestatic InstructionNodeinvokeVirtual(Method method)
-
Constructor Details
-
InvokeInstruction
public InvokeInstruction(OpCode opCode, ParameterizedType target, String name, ParameterizedType returnType, Iterable<ParameterizedType> parameterTypes)
-
-
Method Details
-
invokeStatic
-
invokeStatic
-
invokeStatic
public static InstructionNode invokeStatic(Class<?> target, String name, Class<?> returnType, Class<?>... parameterTypes) -
invokeStatic
-
invokeStatic
public static InstructionNode invokeStatic(ParameterizedType target, String name, ParameterizedType returnType, ParameterizedType... parameterTypes) -
invokeStatic
public static InstructionNode invokeStatic(ParameterizedType target, String name, ParameterizedType returnType, Iterable<ParameterizedType> parameterTypes) -
invokeVirtual
-
invokeVirtual
-
invokeVirtual
public static InstructionNode invokeVirtual(Class<?> target, String name, Class<?> returnType, Class<?>... parameterTypes) -
invokeVirtual
-
invokeVirtual
public static InstructionNode invokeVirtual(ParameterizedType target, String name, ParameterizedType returnType, ParameterizedType... parameterTypes) -
invokeVirtual
public static InstructionNode invokeVirtual(ParameterizedType target, String name, ParameterizedType returnType, Iterable<ParameterizedType> parameterTypes) -
invokeInterface
-
invokeInterface
-
invokeInterface
public static InstructionNode invokeInterface(Class<?> target, String name, Class<?> returnType, Class<?>... parameterTypes) -
invokeInterface
-
invokeInterface
public static InstructionNode invokeInterface(ParameterizedType target, String name, ParameterizedType returnType, ParameterizedType... parameterTypes) -
invokeInterface
public static InstructionNode invokeInterface(ParameterizedType target, String name, ParameterizedType returnType, Iterable<ParameterizedType> parameterTypes) -
invokeConstructor
-
invokeConstructor
-
invokeConstructor
-
invokeConstructor
public static InstructionNode invokeConstructor(ParameterizedType target, ParameterizedType... parameterTypes) -
invokeConstructor
public static InstructionNode invokeConstructor(ParameterizedType target, Iterable<ParameterizedType> parameterTypes) -
invokeSpecial
-
invokeSpecial
-
invokeSpecial
public static InstructionNode invokeSpecial(Class<?> target, String name, Class<?> returnType, Class<?>... parameterTypes) -
invokeSpecial
-
invokeSpecial
public static InstructionNode invokeSpecial(ParameterizedType target, String name, ParameterizedType returnType, ParameterizedType... parameterTypes) -
invokeSpecial
public static InstructionNode invokeSpecial(ParameterizedType target, String name, ParameterizedType returnType, Iterable<ParameterizedType> parameterTypes) -
invokeDynamic
public static InstructionNode invokeDynamic(String name, ParameterizedType returnType, Iterable<ParameterizedType> parameterTypes, Method bootstrapMethod, Iterable<Object> bootstrapArguments) -
invokeDynamic
public static InstructionNode invokeDynamic(String name, ParameterizedType returnType, Iterable<ParameterizedType> parameterTypes, Method bootstrapMethod, Object... bootstrapArguments) -
invokeDynamic
public static InstructionNode invokeDynamic(String name, MethodType methodType, Method bootstrapMethod, Iterable<Object> bootstrapArguments) -
invokeDynamic
public static InstructionNode invokeDynamic(String name, MethodType methodType, Method bootstrapMethod, Object... bootstrapArguments) -
getOpCode
-
getTarget
-
getName
-
getReturnType
-
getParameterTypes
-
getMethodDescription
-
accept
public void accept(org.objectweb.asm.MethodVisitor visitor, MethodGenerationContext generationContext) - Specified by:
acceptin interfaceBytecodeNode
-
getChildNodes
- Specified by:
getChildNodesin interfaceBytecodeNode
-
accept
- Specified by:
acceptin interfaceBytecodeNode
-