Class GinqASTTransformation

java.lang.Object
org.codehaus.groovy.transform.AbstractASTTransformation
org.apache.groovy.ginq.transform.GinqASTTransformation
All Implemented Interfaces:
ASTTransformation, ErrorCollecting

public class GinqASTTransformation extends AbstractASTTransformation
Handles generation of code for the @GQ annotation.
Since:
4.0.0
  • Constructor Details

    • GinqASTTransformation

      public GinqASTTransformation()
  • Method Details

    • visit

      public void visit(ASTNode[] nodes, SourceUnit sourceUnit)
      Rewrites annotated methods by replacing their bodies with transformed GINQ queries.
      Parameters:
      nodes - the transformation nodes
      sourceUnit - the source unit being transformed