org.codehaus.groovy.classgen.asm
Class InvocationWriter

java.lang.Object
  extended by org.codehaus.groovy.classgen.asm.InvocationWriter
Direct Known Subclasses:
InvokeDynamicWriter

public class InvocationWriter
extends Object


Constructor Summary
InvocationWriter(WriterController wc)
           
 
Method Summary
static ArgumentListExpression makeArgumentList(Expression arguments)
           
 void makeCall(Expression origin, Expression receiver, Expression message, Expression arguments, MethodCallerMultiAdapter adapter, boolean safe, boolean spreadSafe, boolean implicitThis)
           
 void makeSingleArgumentCall(Expression receiver, String message, Expression arguments)
           
 void writeInvokeConstructor(ConstructorCallExpression call)
           
 void writeInvokeMethod(MethodCallExpression call)
           
 void writeInvokeStaticMethod(StaticMethodCallExpression call)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvocationWriter

public InvocationWriter(WriterController wc)
Method Detail

makeCall

public void makeCall(Expression origin,
                     Expression receiver,
                     Expression message,
                     Expression arguments,
                     MethodCallerMultiAdapter adapter,
                     boolean safe,
                     boolean spreadSafe,
                     boolean implicitThis)

makeArgumentList

public static ArgumentListExpression makeArgumentList(Expression arguments)

writeInvokeMethod

public void writeInvokeMethod(MethodCallExpression call)

writeInvokeStaticMethod

public void writeInvokeStaticMethod(StaticMethodCallExpression call)

writeInvokeConstructor

public void writeInvokeConstructor(ConstructorCallExpression call)

makeSingleArgumentCall

public void makeSingleArgumentCall(Expression receiver,
                                   String message,
                                   Expression arguments)

Copyright © 2003-2011 The Codehaus. All rights reserved.