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, String message, Expression arguments, boolean safe, boolean implicitThis, boolean callCurrent, boolean callStatic)
void
makeCallSiteArrayInitializer()
void
makeGetPropertySite(Expression receiver, String name, boolean safe, boolean implicitThis)
void
makeGroovyObjectGetPropertySite(Expression receiver, String name, boolean safe, boolean implicitThis)
void
makeSingleArgumentCall(Expression receiver, String message, Expression arguments, boolean safe)
void
makeSiteEntry()
void
prepareCallSite(String message)
Methods inherited from class org.codehaus.groovy.classgen.asm.CallSiteWriter
fallbackAttributeOrPropertySite, getCallSites, hasCallSiteUse, makeSingleArgumentCall, prepareSiteAndReceiver, visitBoxedArgument
-
Constructor Details
-
IndyCallSiteWriter
-
-
Method Details
-
generateCallSiteArray
public void generateCallSiteArray()- Overrides:
generateCallSiteArray
in classCallSiteWriter
-
makeCallSite
public void makeCallSite(Expression receiver, String message, Expression arguments, boolean safe, boolean implicitThis, boolean callCurrent, boolean callStatic)- Overrides:
makeCallSite
in classCallSiteWriter
-
makeSingleArgumentCall
public void makeSingleArgumentCall(Expression receiver, String message, Expression arguments, boolean safe)- Overrides:
makeSingleArgumentCall
in classCallSiteWriter
-
prepareCallSite
- 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, String name, boolean safe, boolean implicitThis)- Overrides:
makeGetPropertySite
in classCallSiteWriter
-
makeGroovyObjectGetPropertySite
public void makeGroovyObjectGetPropertySite(Expression receiver, String name, boolean safe, boolean implicitThis)- Overrides:
makeGroovyObjectGetPropertySite
in classCallSiteWriter
-