- org.codehaus.groovy.classgen.asm.sc.StaticTypesCallSiteWriter
-
public class StaticTypesCallSiteWriter
extends CallSiteWriter
A call site writer which replaces call site caching with static calls. This means that the generated code
looks more like Java code than dynamic Groovy code. Best effort is made to use JVM instructions instead of
calls to helper methods.
-
-
Methods Summary
Methods
| Type Params |
Return Type |
Name and description |
|
public void |
fallbackAttributeOrPropertySite(PropertyExpression expression, Expression objectExpression, String name, MethodCallerMultiAdapter adapter)
|
|
public void |
generateCallSiteArray()
|
|
public void |
makeCallSite(Expression receiver, String message, Expression arguments, boolean safe, boolean implicitThis, boolean callCurrent, boolean callStatic)
|
|
public void |
makeCallSiteArrayInitializer()
|
|
public void |
makeGetPropertySite(Expression receiver, String propertyName, boolean safe, boolean implicitThis)
|
|
public void |
makeGroovyObjectGetPropertySite(Expression receiver, String propertyName, boolean safe, boolean implicitThis)
|
|
public void |
makeSingleArgumentCall(Expression receiver, String message, Expression argument, boolean safe)
|
|
public void |
makeSiteEntry()
|
|
public 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, makeSingleArgumentCall, makeSiteEntry, prepareCallSite, prepareSiteAndReceiver, visitBoxedArgument |
-
-
Method Detail
-
public void generateCallSiteArray()
-
public void makeCallSite(Expression receiver, String message, Expression arguments, boolean safe, boolean implicitThis, boolean callCurrent, boolean callStatic)
-
public void makeCallSiteArrayInitializer()
-
public void makeGetPropertySite(Expression receiver, String propertyName, boolean safe, boolean implicitThis)
-
public void makeGroovyObjectGetPropertySite(Expression receiver, String propertyName, boolean safe, boolean implicitThis)
-
public void makeSiteEntry()
-
public void prepareCallSite(String message)
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.