public class CallSiteWriter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONSTRUCTOR |
Constructor and Description |
---|
CallSiteWriter(WriterController wc) |
Modifier and Type | Method and Description |
---|---|
void |
generateCallSiteArray() |
java.util.List<java.lang.String> |
getCallSites() |
void |
makeCallSite(Expression receiver,
java.lang.String message,
Expression arguments,
boolean safe,
boolean implicitThis,
boolean callCurrent,
boolean callStatic) |
void |
makeCallSiteArrayInitializer() |
void |
makeGetPropertySite(Expression receiver,
java.lang.String methodName,
boolean safe,
boolean implicitThis) |
void |
makeGroovyObjectGetPropertySite(Expression receiver,
java.lang.String methodName,
boolean safe,
boolean implicitThis) |
void |
makeSingleArgumentCall(Expression receiver,
java.lang.String message,
Expression arguments) |
void |
makeSiteEntry() |
void |
prepareCallSite(java.lang.String message) |
protected void |
prepareSiteAndReceiver(Expression receiver,
java.lang.String methodName,
boolean implicitThis,
boolean lhs) |
protected void |
visitBoxedArgument(Expression exp) |
public static final java.lang.String CONSTRUCTOR
public CallSiteWriter(WriterController wc)
public void makeSiteEntry()
public void generateCallSiteArray()
public void prepareCallSite(java.lang.String message)
protected void prepareSiteAndReceiver(Expression receiver, java.lang.String methodName, boolean implicitThis, boolean lhs)
protected void visitBoxedArgument(Expression exp)
public void makeSingleArgumentCall(Expression receiver, java.lang.String message, Expression arguments)
public void makeGroovyObjectGetPropertySite(Expression receiver, java.lang.String methodName, boolean safe, boolean implicitThis)
public void makeGetPropertySite(Expression receiver, java.lang.String methodName, boolean safe, boolean implicitThis)
public void makeCallSite(Expression receiver, java.lang.String message, Expression arguments, boolean safe, boolean implicitThis, boolean callCurrent, boolean callStatic)
public java.util.List<java.lang.String> getCallSites()
public void makeCallSiteArrayInitializer()