Class IndyCallSiteWriter
java.lang.Object
org.codehaus.groovy.classgen.asm.CallSiteWriter
org.codehaus.groovy.classgen.asm.indy.IndyCallSiteWriter
public class IndyCallSiteWriter extends CallSiteWriter
Dummy class used by the indy implementation.
This class mostly contains empty stubs for calls to the call site writer,
since this class is normally used to prepare call site caching and in indy
call site caching is done by the jvm.
-
Field Summary
Fields inherited from class org.codehaus.groovy.classgen.asm.CallSiteWriter
CONSTRUCTOR
-
Constructor Summary
Constructors Constructor Description IndyCallSiteWriter(WriterController controller)
-
Method Summary
Modifier and Type Method Description void
generateCallSiteArray()
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 name, boolean safe, boolean implicitThis)
void
makeGroovyObjectGetPropertySite(Expression receiver, java.lang.String name, boolean safe, boolean implicitThis)
void
makeSingleArgumentCall(Expression receiver, java.lang.String message, Expression arguments, boolean safe)
void
makeSiteEntry()
void
prepareCallSite(java.lang.String message)
Methods inherited from class org.codehaus.groovy.classgen.asm.CallSiteWriter
fallbackAttributeOrPropertySite, getCallSites, hasCallSiteUse, makeSingleArgumentCall, prepareSiteAndReceiver, visitBoxedArgument
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
IndyCallSiteWriter
-
-
Method Details
-
generateCallSiteArray
public void generateCallSiteArray()- Overrides:
generateCallSiteArray
in classCallSiteWriter
-
makeCallSite
public void makeCallSite(Expression receiver, java.lang.String message, Expression arguments, boolean safe, boolean implicitThis, boolean callCurrent, boolean callStatic)- Overrides:
makeCallSite
in classCallSiteWriter
-
makeSingleArgumentCall
public void makeSingleArgumentCall(Expression receiver, java.lang.String message, Expression arguments, boolean safe)- Overrides:
makeSingleArgumentCall
in classCallSiteWriter
-
prepareCallSite
public void prepareCallSite(java.lang.String message)- Overrides:
prepareCallSite
in classCallSiteWriter
-
makeSiteEntry
public void makeSiteEntry()- Overrides:
makeSiteEntry
in classCallSiteWriter
-
makeCallSiteArrayInitializer
public void makeCallSiteArrayInitializer()- Overrides:
makeCallSiteArrayInitializer
in classCallSiteWriter
-
makeGetPropertySite
public void makeGetPropertySite(Expression receiver, java.lang.String name, boolean safe, boolean implicitThis)- Overrides:
makeGetPropertySite
in classCallSiteWriter
-
makeGroovyObjectGetPropertySite
public void makeGroovyObjectGetPropertySite(Expression receiver, java.lang.String name, boolean safe, boolean implicitThis)- Overrides:
makeGroovyObjectGetPropertySite
in classCallSiteWriter
-