Class OptimizerVisitor

All Implemented Interfaces:
ExpressionTransformer, GroovyClassVisitor, GroovyCodeVisitor, ErrorCollecting

public class OptimizerVisitor extends ClassCodeExpressionTransformer
Visitor to produce several optimizations:
  • to replace numbered constants with references to static fields
  • remove superfluous references to GroovyObject interface