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