public class InteractionRewriter
extends java.lang.Object
Constructor and Description |
---|
InteractionRewriter(IRewriteResources resources,
org.codehaus.groovy.ast.expr.ClosureExpression activeWithOrMockClosure) |
Modifier and Type | Method and Description |
---|---|
org.codehaus.groovy.ast.stmt.ExpressionStatement |
rewrite(org.codehaus.groovy.ast.stmt.ExpressionStatement stat)
If the given statement is a valid interaction definition, returns the rewritten statement.
|
public InteractionRewriter(IRewriteResources resources, org.codehaus.groovy.ast.expr.ClosureExpression activeWithOrMockClosure)
public org.codehaus.groovy.ast.stmt.ExpressionStatement rewrite(org.codehaus.groovy.ast.stmt.ExpressionStatement stat)
Copyright © 2017. All rights reserved