Class StaticTypesCallSiteWriter
java.lang.Object
org.codehaus.groovy.classgen.asm.CallSiteWriter
org.codehaus.groovy.classgen.asm.sc.StaticTypesCallSiteWriter
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.
- 
Field SummaryFields inherited from class org.codehaus.groovy.classgen.asm.CallSiteWriterCONSTRUCTOR
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidfallbackAttributeOrPropertySite(PropertyExpression expression, Expression objectExpression, String name, MethodCallerMultiAdapter adapter) voidvoidmakeCallSite(Expression receiver, String message, Expression arguments, boolean safe, boolean implicitThis, boolean callCurrent, boolean callStatic) voidvoidmakeGetPropertySite(Expression receiver, String propertyName, boolean safe, boolean implicitThis) voidmakeGroovyObjectGetPropertySite(Expression receiver, String propertyName, boolean safe, boolean implicitThis) voidmakeSingleArgumentCall(Expression receiver, String message, Expression argument, boolean safe) voidvoidprepareCallSite(String message) Methods inherited from class org.codehaus.groovy.classgen.asm.CallSiteWritergetCallSites, hasCallSiteUse, makeSingleArgumentCall, prepareSiteAndReceiver, visitBoxedArgument
- 
Constructor Details- 
StaticTypesCallSiteWriter
 
- 
- 
Method Details- 
generateCallSiteArraypublic void generateCallSiteArray()- Overrides:
- generateCallSiteArrayin class- CallSiteWriter
 
- 
makeCallSitepublic void makeCallSite(Expression receiver, String message, Expression arguments, boolean safe, boolean implicitThis, boolean callCurrent, boolean callStatic) - Overrides:
- makeCallSitein class- CallSiteWriter
 
- 
makeGetPropertySitepublic void makeGetPropertySite(Expression receiver, String propertyName, boolean safe, boolean implicitThis) - Overrides:
- makeGetPropertySitein class- CallSiteWriter
 
- 
makeGroovyObjectGetPropertySitepublic void makeGroovyObjectGetPropertySite(Expression receiver, String propertyName, boolean safe, boolean implicitThis) - Overrides:
- makeGroovyObjectGetPropertySitein class- CallSiteWriter
 
- 
makeCallSiteArrayInitializerpublic void makeCallSiteArrayInitializer()- Overrides:
- makeCallSiteArrayInitializerin class- CallSiteWriter
 
- 
makeSiteEntrypublic void makeSiteEntry()- Overrides:
- makeSiteEntryin class- CallSiteWriter
 
- 
prepareCallSite- Overrides:
- prepareCallSitein class- CallSiteWriter
 
- 
makeSingleArgumentCallpublic void makeSingleArgumentCall(Expression receiver, String message, Expression argument, boolean safe) - Overrides:
- makeSingleArgumentCallin class- CallSiteWriter
 
- 
fallbackAttributeOrPropertySitepublic void fallbackAttributeOrPropertySite(PropertyExpression expression, Expression objectExpression, String name, MethodCallerMultiAdapter adapter) - Overrides:
- fallbackAttributeOrPropertySitein class- CallSiteWriter
 
 
-