- All Implemented Interfaces:
- org.codehaus.groovy.transform.ASTTransformation
public class SpockTransform
extends java.lang.Object
implements org.codehaus.groovy.transform.ASTTransformation
AST transformation for rewriting Spock specifications. Runs after phase
SEMANTIC_ANALYSIS, which means that the AST is semantically accurate
and already decorated with reflection information. On the flip side,
because types and variables have already been resolved,
program elements like import statements and variable definitions
can no longer be manipulated at will.
- Author:
- Peter Niederwieser