Groovy 2.2.1

org.codehaus.groovy.transform.sc
[Java] Class StaticCompileTransformation

java.lang.Object
  org.codehaus.groovy.transform.StaticTypesTransformation
      org.codehaus.groovy.transform.sc.StaticCompileTransformation

@GroovyASTTransformation(phase = CompilePhase.INSTRUCTION_SELECTION)
public class StaticCompileTransformation
extends StaticTypesTransformation

Handles the implementation of the CompileStatic transformation.

Authors:
Cedric Champeau


Field Summary
 
Fields inherited from class StaticTypesTransformation
STATIC_ERROR_PREFIX
 
Method Summary
protected StaticTypeCheckingVisitor newVisitor(SourceUnit unit, ClassNode node)

void visit(ASTNode[] nodes, SourceUnit source)

 
Methods inherited from class StaticTypesTransformation
addTypeCheckingExtensions, newVisitor, setCompilationUnit, visit
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Method Detail

newVisitor

@Override
protected StaticTypeCheckingVisitor newVisitor(SourceUnit unit, ClassNode node)


visit

@Override
public void visit(ASTNode[] nodes, SourceUnit source)


 

Copyright © 2003-2013 The Codehaus. All rights reserved.