Interface IRewriteResources

All Known Implementing Classes:
SpecRewriter

public interface IRewriteResources
Author:
Peter Niederwieser
  • Method Details

    • getCurrentSpec

      Spec getCurrentSpec()
    • getCurrentMethod

      Method getCurrentMethod()
    • getCurrentBlock

      Block getCurrentBlock()
    • defineValueRecorder

      void defineValueRecorder(List<org.codehaus.groovy.ast.stmt.Statement> stats)
    • captureOldValue

      org.codehaus.groovy.ast.expr.VariableExpression captureOldValue(org.codehaus.groovy.ast.expr.Expression oldValue)
    • getMockInvocationMatcher

      org.codehaus.groovy.ast.expr.MethodCallExpression getMockInvocationMatcher()
    • getAstNodeCache

      AstNodeCache getAstNodeCache()
    • getSourceText

      String getSourceText(org.codehaus.groovy.ast.ASTNode node)
    • getErrorReporter

      ErrorReporter getErrorReporter()