@CompileStatic class AstMethodDispatchUtils extends GeneralUtils
| Fields inherited from class | Fields |
|---|---|
class GeneralUtils |
ASSIGN, CMP, EQ, NE, NOT_IDENTICAL, GE, GT, LE, LT, AND, OR, INSTANCEOF, MINUS, PLUS |
| Constructor and description |
|---|
AstMethodDispatchUtils() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
static MethodCallExpression |
callD(java.lang.Class targetType, java.lang.String var, java.lang.String methodName, Expression arguments)Make a direct method call on this object for the given name and arguments |
|
static MethodCallExpression |
callD(ClassNode targetType, java.lang.String var, java.lang.String methodName, Expression arguments)Make a direct method call on this object for the given name and arguments |
|
static MethodCallExpression |
callD(Expression var, java.lang.String methodName, Expression arguments)Make a direct method call on this object for the given name and arguments |
|
static MethodCallExpression |
callThisD(java.lang.Class thisType, java.lang.String methodName, Expression arguments)Make a direct method call on this object for the given name and arguments |
|
static MethodCallExpression |
callThisD(ClassNode thisType, java.lang.String methodName, Expression arguments)Make a direct method call on this object for the given name and arguments |
|
static MapExpression |
namedArgs(java.util.Map<java.lang.String, ? extends Expression> args)Create named arguments |
|
static Parameter[] |
paramsForArgs(Expression expression) |
Make a direct method call on this object for the given name and arguments
Make a direct method call on this object for the given name and arguments
Make a direct method call on this object for the given name and arguments
Make a direct method call on this object for the given name and arguments
Make a direct method call on this object for the given name and arguments
Create named arguments
args - The args