public class AbstractTypeCheckingExtension extends TypeCheckingExtension
Custom type checking extensions may extend this method in order to benefit from a lot of support methods.
The methods found in this class are made directly available in type checking scripts through the GroovyTypeCheckingExtensionSupport class.
| Modifiers | Name | Description | 
|---|---|---|
| static class | AbstractTypeCheckingExtension.TypeCheckingScope | 
| Modifiers | Name | Description | 
|---|---|---|
| protected TypeCheckingContext | context | |
| protected boolean | debug | 
 | 
| protected boolean | handled | 
 | 
| Fields inherited from class | Fields | 
|---|---|
| class TypeCheckingExtension | typeCheckingVisitor | 
| Constructor and description | 
|---|
| AbstractTypeCheckingExtension(StaticTypeCheckingVisitor typeCheckingVisitor) | 
Used to instruct the type checker that the call is a dynamic method call. Calling this method automatically sets the handled flag to true. The expected return type of the dynamic method call is Object.
call -  the method call which is a dynamic method callUsed to instruct the type checker that the call is a dynamic method call. Calling this method automatically sets the handled flag to true.
call -  the method call which is a dynamic method callreturnType -  the expected return type of the dynamic callInstructs the type checker that a property access is dynamic, returning an instance of an Object. Calling this method automatically sets the handled flag to true.
pexp -  the property or attribute expressionInstructs the type checker that a property access is dynamic. Calling this method automatically sets the handled flag to true.
pexp -  the property or attribute expressionreturnType -  the type of the propertyInstructs the type checker that an unresolved variable is a dynamic variable of type Object. Calling this method automatically sets the handled flag to true.
vexp -  the dynamic variableInstructs the type checker that an unresolved variable is a dynamic variable.
returnType -  the type of the dynamic variable
 Calling this method automatically sets the handled flag to true.vexp -  the dynamic variableCopyright © 2003-2025 The Apache Software Foundation. All rights reserved.