@groovy.transform.CompileStatic class JsonTemplateTypeCheckingExtension extends BuilderTypeCheckingExtension
A type checking extension for JSON builder
Modifiers | Name | Description |
---|---|---|
private static org.codehaus.groovy.ast.ClassNode |
BUILDER_CLASS_NODE |
|
private static org.codehaus.groovy.ast.MethodNode |
JSON_BUILDER_INVOKE_METHOD |
|
private static org.codehaus.groovy.ast.MethodNode |
JSON_DELEGATE_INVOKE_METHOD |
|
private static org.codehaus.groovy.ast.ClassNode |
PARAMETERS |
|
private static org.codehaus.groovy.ast.ClassNode |
TEMPLATE_NAMESPACE |
|
private static org.codehaus.groovy.ast.MethodNode |
TEMPLATE_NAMESPACE_INVOKE_METHOD |
Fields inherited from class | Fields |
---|---|
class BuilderTypeCheckingExtension |
insideScope |
Constructor and description |
---|
JsonTemplateTypeCheckingExtension
() |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
beforeMethodCallExpression(org.codehaus.groovy.ast.expr.MethodCallExpression methodCallExpression) |
|
org.codehaus.groovy.ast.ClassNode |
getBuilderClassNode() |
|
org.codehaus.groovy.ast.MethodNode |
getBuilderInvokeMethod() |
|
java.lang.String |
getBuilderVariableName() |
|
org.codehaus.groovy.ast.MethodNode |
getDelegateInvokeMethod() |
|
boolean |
isMethodDynamic(java.lang.Object receiver, java.lang.Object name, java.lang.Object argList, java.lang.Object argTypes, java.lang.Object call) |
|
boolean |
isPropertyDynamic(org.codehaus.groovy.ast.expr.PropertyExpression propertyExpression) |
|
void |
transformDynamicMethods(org.codehaus.groovy.control.SourceUnit source, org.codehaus.groovy.ast.MethodNode mn, java.util.Set dynamicCalls) |
Methods inherited from class | Name |
---|---|
class BuilderTypeCheckingExtension |
beforeMethodCallExpression, getBuilderClassNode, getBuilderInvokeMethod, getBuilderVariableName, getDelegateInvokeMethod, isMethodDynamic, isPropertyDynamic, run, transformDynamicMethods |