Class StaticCompilationTransformer

  • All Implemented Interfaces:
    ExpressionTransformer, GroovyClassVisitor, GroovyCodeVisitor

    public class StaticCompilationTransformer
    extends ClassCodeExpressionTransformer
    Some expressions use symbols as aliases to method calls (<<, +=, ...). In static compilation, if such a method call is found, we transform the original binary expression into a method call expression so that the call gets statically compiled.
    Author:
    Cedric Champeau