Interface IRewriteResources

  • All Known Implementing Classes:
    SpecRewriter

    public interface IRewriteResources
    Author:
    Peter Niederwieser
    • Method Detail

      • getCurrentSpec

        Spec getCurrentSpec()
      • getCurrentMethod

        Method getCurrentMethod()
      • getCurrentBlock

        Block getCurrentBlock()
      • defineValueRecorder

        void defineValueRecorder​(java.util.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()
      • getSourceText

        java.lang.String getSourceText​(org.codehaus.groovy.ast.ASTNode node)