Package org.apache.groovy.ginq.transform

# 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

- ## Field Summary

  ### Fields inherited from class org.codehaus.groovy.transform.AbstractASTTransformation

  `RETENTION_CLASSNODE, sourceUnit`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `GinqASTTransformation()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `visit(ASTNode[] nodes, SourceUnit sourceUnit)`
  Rewrites annotated methods by replacing their bodies with transformed GINQ queries.

  ### Methods inherited from class org.codehaus.groovy.transform.AbstractASTTransformation

  `addError, checkIncludeExcludeUndefinedAware, checkIncludeExcludeUndefinedAware, checkNotInterface, checkPropertyList, checkPropertyList, checkPropertyList, copyAnnotatedNodeAnnotations, copyAnnotatedNodeAnnotations, deemedInternal, deemedInternalName, getAnnotationName, getMemberClassList, getMemberClassValue, getMemberClassValue, getMemberIntValue, getMemberStringList, getMemberStringValue, getMemberStringValue, getMemberValue, hasAnnotation, init, markAsInternal, memberHasValue, shouldSkip, shouldSkip, shouldSkip, shouldSkipOnDescriptorUndefinedAware, shouldSkipUndefinedAware, shouldSkipUndefinedAware, shouldSkipUndefinedAware, tokenize`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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