public class InteractionRewriter
extends java.lang.Object
Constructor | Description |
---|---|
InteractionRewriter(IRewriteResources resources,
org.codehaus.groovy.ast.expr.ClosureExpression activeWithOrMockClosure) |
Modifier and Type | Method | 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 © 2018. All rights reserved