Class NotYetImplementedASTTransformation

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

public class NotYetImplementedASTTransformation extends AbstractASTTransformation
Generates code for the @NotYetImplemented annotation.
See Also:
  • Constructor Details

    • NotYetImplementedASTTransformation

      public NotYetImplementedASTTransformation()
  • Method Details

    • visit

      public void visit(ASTNode[] nodes, SourceUnit source)
      Rewrites the annotated method so that unexpected success becomes a failure and any thrown exception is treated as the expected outcome.
      Parameters:
      nodes - the annotation and annotated method nodes
      source - the source unit currently being transformed