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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgenerateCallSiteArray()voidmakeCallSite(Expression receiver, java.lang.String message, Expression arguments, boolean safe, boolean implicitThis, boolean callCurrent, boolean callStatic)voidmakeCallSiteArrayInitializer()voidmakeGetPropertySite(Expression receiver, java.lang.String name, boolean safe, boolean implicitThis)voidmakeGroovyObjectGetPropertySite(Expression receiver, java.lang.String name, boolean safe, boolean implicitThis)voidmakeSingleArgumentCall(Expression receiver, java.lang.String message, Expression arguments)voidmakeSiteEntry()voidprepareCallSite(java.lang.String message)-
Methods inherited from class org.codehaus.groovy.classgen.asm.CallSiteWriter
fallbackAttributeOrPropertySite, getCallSites, hasCallSiteUse, prepareSiteAndReceiver, visitBoxedArgument
-
-
-
-
Constructor Detail
-
IndyCallSiteWriter
public IndyCallSiteWriter(WriterController controller)
-
-
Method Detail
-
generateCallSiteArray
public void generateCallSiteArray()
- Overrides:
generateCallSiteArrayin classCallSiteWriter
-
makeCallSite
public void makeCallSite(Expression receiver, java.lang.String message, Expression arguments, boolean safe, boolean implicitThis, boolean callCurrent, boolean callStatic)
- Overrides:
makeCallSitein classCallSiteWriter
-
makeSingleArgumentCall
public void makeSingleArgumentCall(Expression receiver, java.lang.String message, Expression arguments)
- Overrides:
makeSingleArgumentCallin classCallSiteWriter
-
prepareCallSite
public void prepareCallSite(java.lang.String message)
- Overrides:
prepareCallSitein classCallSiteWriter
-
makeSiteEntry
public void makeSiteEntry()
- Overrides:
makeSiteEntryin classCallSiteWriter
-
makeCallSiteArrayInitializer
public void makeCallSiteArrayInitializer()
- Overrides:
makeCallSiteArrayInitializerin classCallSiteWriter
-
makeGetPropertySite
public void makeGetPropertySite(Expression receiver, java.lang.String name, boolean safe, boolean implicitThis)
- Overrides:
makeGetPropertySitein classCallSiteWriter
-
makeGroovyObjectGetPropertySite
public void makeGroovyObjectGetPropertySite(Expression receiver, java.lang.String name, boolean safe, boolean implicitThis)
- Overrides:
makeGroovyObjectGetPropertySitein classCallSiteWriter
-
-