Class InvokeDynamicWriter
java.lang.Object
org.codehaus.groovy.classgen.asm.InvocationWriter
org.codehaus.groovy.classgen.asm.indy.InvokeDynamicWriter
This Writer is used to generate the call invocation byte codes
 for usage by invokedynamic.
- 
Field SummaryFields inherited from class org.codehaus.groovy.classgen.asm.InvocationWritercastToVargsArray, controller, currentCall, invokeClosureMethod, invokeMethod, invokeMethodOnCurrent, invokeMethodOnSuper, invokeStaticMethod
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcastNonPrimitiveToBool(ClassNode sourceType) voidcastToNonPrimitiveIfNecessary(ClassNode sourceType, ClassNode targetType) Converts sourceType to a non-primitive by using Groovy casting.voidprotected booleanmakeCachedCall(Expression origin, ClassExpression sender, Expression receiver, Expression message, Expression arguments, MethodCallerMultiAdapter adapter, boolean safe, boolean spreadSafe, boolean implicitThis, boolean containsSpreadExpression) voidmakeSingleArgumentCall(Expression receiver, String message, Expression arguments, boolean safe) protected voidwriteGetProperty(Expression receiver, String propertyName, boolean safe, boolean implicitThis, boolean groovyObject) protected voidMethods inherited from class org.codehaus.groovy.classgen.asm.InvocationWriterfinnishConstructorCall, getMethodName, loadArguments, makeArgumentList, makeCall, makeCall, makeClassForNameCall, makeDirectCall, makeSingleArgumentCall, makeUncachedCall, prepareConstructorCall, writeAICCall, writeDirectMethodCall, writeInvokeConstructor, writeInvokeMethod, writeInvokeStaticMethod, writeSpecialConstructorCall
- 
Constructor Details- 
InvokeDynamicWriter
 
- 
- 
Method Details- 
makeCachedCallprotected boolean makeCachedCall(Expression origin, ClassExpression sender, Expression receiver, Expression message, Expression arguments, MethodCallerMultiAdapter adapter, boolean safe, boolean spreadSafe, boolean implicitThis, boolean containsSpreadExpression) - Overrides:
- makeCachedCallin class- InvocationWriter
 
- 
makeSingleArgumentCallpublic void makeSingleArgumentCall(Expression receiver, String message, Expression arguments, boolean safe) - Overrides:
- makeSingleArgumentCallin class- InvocationWriter
 
- 
writeGetPropertyprotected void writeGetProperty(Expression receiver, String propertyName, boolean safe, boolean implicitThis, boolean groovyObject) 
- 
writeNormalConstructorCall- Overrides:
- writeNormalConstructorCallin class- InvocationWriter
 
- 
coerce- Overrides:
- coercein class- InvocationWriter
 
- 
castToNonPrimitiveIfNecessaryDescription copied from class:InvocationWriterConverts sourceType to a non-primitive by using Groovy casting. sourceType might be a primitive This might be done using SBA#castToType- Overrides:
- castToNonPrimitiveIfNecessaryin class- InvocationWriter
 
- 
castNonPrimitiveToBool- Overrides:
- castNonPrimitiveToBoolin class- InvocationWriter
 
 
-