@GroovyASTTransformation(phase = CompilePhase.INSTRUCTION_SELECTION) public class StaticTypesTransformation extends Object implements ASTTransformation, CompilationUnitAware
Handles the implementation of the TypeChecked transformation.
| Modifiers | Name | Description | 
|---|---|---|
static String  | 
                            STATIC_ERROR_PREFIX | 
                            |
protected CompilationUnit  | 
                            compilationUnit | 
                            
| Type Params | Return Type | Name and description | 
|---|---|---|
 | 
                            protected void | 
                            addTypeCheckingExtensions(StaticTypeCheckingVisitor visitor, Expression extensions) | 
                        
 | 
                            protected StaticTypeCheckingVisitor | 
                            newVisitor(SourceUnit unit, ClassNode node)Allows subclasses to provide their own visitor.  | 
                        
 | 
                            public void | 
                            setCompilationUnit(CompilationUnit unit) | 
                        
 | 
                            public void | 
                            visit(ASTNode[] nodes, SourceUnit source) | 
                        
Allows subclasses to provide their own visitor. This is useful for example for transformations relying on the static type checker.
unit -  the source unitnode -  the current classnode