[Java] Class IndyCallSiteWriter

  • org.codehaus.groovy.classgen.asm.indy.IndyCallSiteWriter

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.

Authors:
Jochen "blackdrag" Theodorou
Inherited fields
Fields inherited from class Fields
class CallSiteWriter CONSTRUCTOR

Constructor Summary

Constructors
Constructor and description
IndyCallSiteWriter (WriterController controller)

Methods Summary

Methods
Type Params Return Type Name and 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)
void makeSiteEntry()
void prepareCallSite(String message)

Inherited Methods Summary

Inherited Methods
Methods inherited from class Name
class CallSiteWriter fallbackAttributeOrPropertySite, generateCallSiteArray, getCallSites, hasCallSiteUse, makeCallSite, makeCallSiteArrayInitializer, makeGetPropertySite, makeGroovyObjectGetPropertySite, makeSingleArgumentCall, makeSiteEntry, prepareCallSite, prepareSiteAndReceiver, visitBoxedArgument
class Object wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll

Constructor Detail

public IndyCallSiteWriter(WriterController controller)

Method Detail

@Override public void generateCallSiteArray()

@Override public void makeCallSite(Expression receiver, String message, Expression arguments, boolean safe, boolean implicitThis, boolean callCurrent, boolean callStatic)

@Override public void makeCallSiteArrayInitializer()

@Override public void makeGetPropertySite(Expression receiver, String name, boolean safe, boolean implicitThis)

@Override public void makeGroovyObjectGetPropertySite(Expression receiver, String name, boolean safe, boolean implicitThis)

@Override public void makeSingleArgumentCall(Expression receiver, String message, Expression arguments)

@Override public void makeSiteEntry()

@Override public void prepareCallSite(String message)

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/org/codehaus/groovy/classgen/asm/indy/IndyCallSiteWriter.html