Class MacroClassTransformation

java.lang.Object
org.codehaus.groovy.ast.MethodCallTransformation
org.codehaus.groovy.macro.transform.MacroClassTransformation
All Implemented Interfaces:
org.codehaus.groovy.transform.ASTTransformation

public class MacroClassTransformation
extends org.codehaus.groovy.ast.MethodCallTransformation
Transforms MacroClass calls into its ClassNode
Since:
2.5.0
  • Constructor Summary

    Constructors
    Constructor Description
    MacroClassTransformation()  
  • Method Summary

    Modifier and Type Method Description
    protected org.codehaus.groovy.ast.GroovyCodeVisitor getTransformer​(org.codehaus.groovy.ast.ASTNode[] nodes, org.codehaus.groovy.control.SourceUnit sourceUnit)  

    Methods inherited from class org.codehaus.groovy.ast.MethodCallTransformation

    visit

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MacroClassTransformation

      public MacroClassTransformation()
  • Method Details

    • getTransformer

      protected org.codehaus.groovy.ast.GroovyCodeVisitor getTransformer​(org.codehaus.groovy.ast.ASTNode[] nodes, org.codehaus.groovy.control.SourceUnit sourceUnit)
      Specified by:
      getTransformer in class org.codehaus.groovy.ast.MethodCallTransformation