Groovy 2.2.0

org.codehaus.groovy.classgen.asm
[Java] Class CallSiteWriter

java.lang.Object
  org.codehaus.groovy.classgen.asm.CallSiteWriter

public class CallSiteWriter
extends Object

This class represents non public API used by AsmClassGenerator. Don't use this class in your code

Authors:
Jochen Theodorou


Field Summary
static String CONSTRUCTOR

 
Constructor Summary
CallSiteWriter(WriterController wc)

 
Method Summary
void generateCallSiteArray()

List getCallSites()

void makeCallSite(Expression receiver, String message, Expression arguments, boolean safe, boolean implicitThis, boolean callCurrent, boolean callStatic)

void makeCallSiteArrayInitializer()

void makeGetPropertySite(Expression receiver, String methodName, boolean safe, boolean implicitThis)

void makeGroovyObjectGetPropertySite(Expression receiver, String methodName, boolean safe, boolean implicitThis)

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

void makeSiteEntry()

void prepareCallSite(String message)

protected void prepareSiteAndReceiver(Expression receiver, String methodName, boolean implicitThis, boolean lhs)

protected void visitBoxedArgument(Expression exp)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

CONSTRUCTOR

public static final String CONSTRUCTOR


 
Constructor Detail

CallSiteWriter

public CallSiteWriter(WriterController wc)


 
Method Detail

generateCallSiteArray

public void generateCallSiteArray()


getCallSites

public List getCallSites()


makeCallSite

public void makeCallSite(Expression receiver, String message, Expression arguments, boolean safe, boolean implicitThis, boolean callCurrent, boolean callStatic)


makeCallSiteArrayInitializer

public void makeCallSiteArrayInitializer()


makeGetPropertySite

public void makeGetPropertySite(Expression receiver, String methodName, boolean safe, boolean implicitThis)


makeGroovyObjectGetPropertySite

public void makeGroovyObjectGetPropertySite(Expression receiver, String methodName, boolean safe, boolean implicitThis)


makeSingleArgumentCall

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


makeSiteEntry

public void makeSiteEntry()


prepareCallSite

public void prepareCallSite(String message)


prepareSiteAndReceiver

protected void prepareSiteAndReceiver(Expression receiver, String methodName, boolean implicitThis, boolean lhs)


visitBoxedArgument

protected void visitBoxedArgument(Expression exp)


 

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