Package org.codehaus.groovy.classgen.asm
Class CallSiteWriter
- java.lang.Object
-
- org.codehaus.groovy.classgen.asm.CallSiteWriter
-
public class CallSiteWriter extends java.lang.Object
This class represents non public API used by AsmClassGenerator. Don't use this class in your code- Author:
- Jochen Theodorou
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CONSTRUCTOR
-
Constructor Summary
Constructors Constructor Description CallSiteWriter(WriterController wc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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
makeGetPropertySite(Expression receiver, java.lang.String methodName, boolean safe, boolean implicitThis)
void
makeGroovyObjectGetPropertySite(Expression receiver, java.lang.String methodName, boolean safe, boolean implicitThis)
void
makeInvocation(Expression receiver, java.lang.String message, Expression arguments)
void
makeSiteEntry()
void
prepareCallSite(java.lang.String message)
-
-
-
Field Detail
-
CONSTRUCTOR
public static final java.lang.String CONSTRUCTOR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CallSiteWriter
public CallSiteWriter(WriterController wc)
-
-
Method Detail
-
makeSiteEntry
public void makeSiteEntry()
-
generateCallSiteArray
public void generateCallSiteArray()
-
prepareCallSite
public void prepareCallSite(java.lang.String message)
-
makeInvocation
public void makeInvocation(Expression receiver, java.lang.String message, Expression arguments)
-
makeGroovyObjectGetPropertySite
public void makeGroovyObjectGetPropertySite(Expression receiver, java.lang.String methodName, boolean safe, boolean implicitThis)
-
makeGetPropertySite
public void makeGetPropertySite(Expression receiver, java.lang.String methodName, boolean safe, boolean implicitThis)
-
makeCallSite
public void makeCallSite(Expression receiver, java.lang.String message, Expression arguments, boolean safe, boolean implicitThis, boolean callCurrent, boolean callStatic)
-
getCallSites
public java.util.List<java.lang.String> getCallSites()
-
-