Package org.codehaus.groovy.classgen.asm
Class CallSiteWriter
java.lang.Object
org.codehaus.groovy.classgen.asm.CallSiteWriter
- Direct Known Subclasses:
IndyCallSiteWriter
,StaticTypesCallSiteWriter
This class represents non-public API used by AsmClassGenerator. Don't
use this class in your code
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fallbackAttributeOrPropertySite
(PropertyExpression expression, Expression objectExpression, String name, MethodCallerMultiAdapter adapter) void
boolean
void
makeCallSite
(Expression receiver, String message, Expression arguments, boolean safe, boolean implicitThis, boolean callCurrent, boolean callStatic) void
void
makeGetPropertySite
(Expression receiver, String methodName, boolean safe, boolean implicitThis) void
makeGroovyObjectGetPropertySite
(Expression receiver, String methodName, boolean safe, boolean implicitThis) final void
makeSingleArgumentCall
(Expression receiver, String message, Expression arguments) void
makeSingleArgumentCall
(Expression receiver, String message, Expression arguments, boolean safe) void
void
prepareCallSite
(String message) protected void
prepareSiteAndReceiver
(Expression receiver, String methodName, boolean implicitThis, boolean lhs) protected void
-
Field Details
-
CONSTRUCTOR
- See Also:
-
-
Constructor Details
-
CallSiteWriter
-
-
Method Details
-
makeSiteEntry
public void makeSiteEntry() -
generateCallSiteArray
public void generateCallSiteArray() -
prepareCallSite
-
prepareSiteAndReceiver
protected void prepareSiteAndReceiver(Expression receiver, String methodName, boolean implicitThis, boolean lhs) -
visitBoxedArgument
-
makeSingleArgumentCall
-
makeSingleArgumentCall
public void makeSingleArgumentCall(Expression receiver, String message, Expression arguments, boolean safe) -
makeGroovyObjectGetPropertySite
public void makeGroovyObjectGetPropertySite(Expression receiver, String methodName, boolean safe, boolean implicitThis) -
makeGetPropertySite
public void makeGetPropertySite(Expression receiver, String methodName, boolean safe, boolean implicitThis) -
makeCallSite
public void makeCallSite(Expression receiver, String message, Expression arguments, boolean safe, boolean implicitThis, boolean callCurrent, boolean callStatic) -
getCallSites
-
makeCallSiteArrayInitializer
public void makeCallSiteArrayInitializer() -
hasCallSiteUse
public boolean hasCallSiteUse() -
fallbackAttributeOrPropertySite
public void fallbackAttributeOrPropertySite(PropertyExpression expression, Expression objectExpression, String name, MethodCallerMultiAdapter adapter)
-