Package: org.codehaus.groovy.transform

## [Java] Class CategoryASTTransformation

- org.codehaus.groovy.transform.CategoryASTTransformation

- All Implemented Interfaces and Traits:
    ASTTransformation, org.objectweb.asm.Opcodes

      @com.github.javaparser.ast.expr.NormalAnnotationExprGroovyASTTransformation
      public class CategoryASTTransformation
      extends Object

  Handles generation of code for the

  Category:
    annotation.

    Transformation logic is as follows:

    - all non-static methods converted to static ones with an additional 'self' parameter
    - references to 'this' changed to the additional 'self' parameter

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `protected SourceUnit` | `getSourceUnit()`
    `` | `Expression` | `transform(Expression exp)`
    `` | `void` | `visit(ASTNode[] nodes, SourceUnit source)` Property invocations done on 'this' reference are transformed so that the invocations at runtime are done on the additional parameter 'self'
    `` | `void` | `visitBlockStatement(BlockStatement block)`
    `` | `void` | `visitCatchStatement(CatchStatement statement)`
    `` | `void` | `visitClosureExpression(ClosureExpression ce)`
    `` | `void` | `visitDeclarationExpression(DeclarationExpression expression)`
    `` | `void` | `visitExpressionStatement(ExpressionStatement es)`
    `` | `void` | `visitForLoop(ForStatement forLoop)`
    `` | `void` | `visitMethod(MethodNode node)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Method Detail

    - #### protected SourceUnit getSourceUnit()

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public Expression transform(Expression exp)

    - #### public void visit(ASTNode[] nodes, SourceUnit source)

      Property invocations done on 'this' reference are transformed so that the invocations at runtime are done on the additional parameter 'self'

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public void visitBlockStatement(BlockStatement block)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public void visitCatchStatement(CatchStatement statement)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public void visitClosureExpression(ClosureExpression ce)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public void visitDeclarationExpression(DeclarationExpression expression)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public void visitExpressionStatement(ExpressionStatement es)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public void visitForLoop(ForStatement forLoop)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public void visitMethod(MethodNode node)