@Override public Void visitInvoke(ByteCodeNode parent, InvokeInstruction invokeInstruction) { printLine( "invoke %s.%s%s", invokeInstruction.getTarget().getJavaClassName(), invokeInstruction.getName(), invokeInstruction.getMethodDescription()); return null; }
public Block invokeDynamic( String name, MethodType methodType, Object... defaultBootstrapArguments) { nodes.add( InvokeInstruction.invokeDynamic( name, methodType, context.getDefaultBootstrapMethod(), defaultBootstrapArguments)); return this; }
public Block invokeSpecial( ParameterizedType type, String name, ParameterizedType returnType, Iterable<ParameterizedType> parameterTypes) { nodes.add(InvokeInstruction.invokeSpecial(type, name, returnType, parameterTypes)); return this; }
public Block invokeInterface( ParameterizedType type, String name, ParameterizedType returnType, ParameterizedType... parameterTypes) { nodes.add(InvokeInstruction.invokeInterface(type, name, returnType, parameterTypes)); return this; }
public Block invokeSpecial( Class<?> type, String name, Class<?> returnType, Iterable<Class<?>> parameterTypes) { nodes.add(InvokeInstruction.invokeSpecial(type, name, returnType, parameterTypes)); return this; }
public Block invokeSpecial(MethodDefinition method) { nodes.add(InvokeInstruction.invokeSpecial(method)); return this; }
public Block invokeConstructor( ParameterizedType type, Iterable<ParameterizedType> parameterTypes) { nodes.add(InvokeInstruction.invokeConstructor(type, parameterTypes)); return this; }
public Block invokeConstructor(Class<?> type, Iterable<Class<?>> parameterTypes) { nodes.add(InvokeInstruction.invokeConstructor(type, parameterTypes)); return this; }
public Block invokeConstructor(Constructor<?> constructor) { nodes.add(InvokeInstruction.invokeConstructor(constructor)); return this; }
public Block invokeInterface( Class<?> type, String name, Class<?> returnType, Class<?>... parameterTypes) { nodes.add(InvokeInstruction.invokeInterface(type, name, returnType, parameterTypes)); return this; }
public Block invokeInterface(MethodDefinition method) { nodes.add(InvokeInstruction.invokeInterface(method)); return this; }
public Block invokeVirtual(Method method) { nodes.add(InvokeInstruction.invokeVirtual(method)); return this; }
public Block invokeStatic(Method method) { nodes.add(InvokeInstruction.invokeStatic(method)); return this; }