org.codehaus.groovy.classgen.asm
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
- Author:
- Jochen Theodorou
Method Summary |
void |
generateCallSiteArray()
|
List<String> |
getCallSites()
|
void |
makeCallSite(Expression receiver,
String message,
Expression arguments,
boolean safe,
boolean implicitThis,
boolean callCurrent,
boolean callStatic)
|
void |
makeGetPropertySite(Expression receiver,
String methodName,
boolean safe,
boolean implicitThis)
|
void |
makeGroovyObjectGetPropertySite(Expression receiver,
String methodName,
boolean safe,
boolean implicitThis)
|
void |
makeInvocation(Expression receiver,
String message,
Expression arguments)
|
void |
makeSiteEntry()
|
void |
prepareCallSite(String message)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONSTRUCTOR
public static final String CONSTRUCTOR
- See Also:
- Constant Field Values
CallSiteWriter
public CallSiteWriter(WriterController wc)
makeSiteEntry
public void makeSiteEntry()
generateCallSiteArray
public void generateCallSiteArray()
prepareCallSite
public void prepareCallSite(String message)
makeInvocation
public void makeInvocation(Expression receiver,
String message,
Expression arguments)
makeGroovyObjectGetPropertySite
public void makeGroovyObjectGetPropertySite(Expression receiver,
String methodName,
boolean safe,
boolean implicitThis)
makeGetPropertySite
public void makeGetPropertySite(Expression receiver,
String methodName,
boolean safe,
boolean implicitThis)
makeCallSite
public void makeCallSite(Expression receiver,
String message,
Expression arguments,
boolean safe,
boolean implicitThis,
boolean callCurrent,
boolean callStatic)
getCallSites
public List<String> getCallSites()