public class InvocationWriter extends Object
Modifiers | Name | Description |
---|---|---|
static MethodCaller |
castToVargsArray |
|
static MethodCaller |
invokeClosureMethod |
|
static MethodCallerMultiAdapter |
invokeMethod |
|
static MethodCallerMultiAdapter |
invokeMethodOnCurrent |
|
static MethodCallerMultiAdapter |
invokeMethodOnSuper |
|
static MethodCallerMultiAdapter |
invokeStaticMethod |
Constructor and description |
---|
InvocationWriter(WriterController controller) |
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
castNonPrimitiveToBool(ClassNode last) |
|
public void |
castToNonPrimitiveIfNecessary(ClassNode sourceType, ClassNode targetType) Converts sourceType to a non primitive by using Groovy casting. |
|
public void |
coerce(ClassNode from, ClassNode target) |
|
public static ArgumentListExpression |
makeArgumentList(Expression arguments) |
|
public void |
makeCall(Expression origin, Expression receiver, Expression message, Expression arguments, MethodCallerMultiAdapter adapter, boolean safe, boolean spreadSafe, boolean implicitThis) |
|
public final void |
makeSingleArgumentCall(Expression receiver, String message, Expression arguments) |
|
public void |
makeSingleArgumentCall(Expression receiver, String message, Expression arguments, boolean safe) |
|
public void |
visitVariableExpression(VariableExpression vexp) |
|
public void |
writeInvokeConstructor(ConstructorCallExpression call) |
|
public void |
writeInvokeMethod(MethodCallExpression call) |
|
public void |
writeInvokeStaticMethod(StaticMethodCallExpression call) |
|
public void |
writeSpecialConstructorCall(ConstructorCallExpression call) |
Converts sourceType to a non primitive by using Groovy casting. sourceType might be a primitive This might be done using SBA#castToType
Copyright © 2003-2022 The Apache Software Foundation. All rights reserved.