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 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, boolean safe)voidmakeSiteEntry()voidprepareCallSite(java.lang.String message)Methods inherited from class org.codehaus.groovy.classgen.asm.CallSiteWriter
fallbackAttributeOrPropertySite, getCallSites, hasCallSiteUse, makeSingleArgumentCall, prepareSiteAndReceiver, visitBoxedArgumentMethods 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:
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, boolean safe)- 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
-