Class AssertStatementCreationUtility.AddAssertionCallStatementToReturnStatementVisitor

java.lang.Object
org.codehaus.groovy.ast.CodeVisitorSupport
org.codehaus.groovy.ast.ClassCodeVisitorSupport
org.apache.groovy.contracts.generation.AssertStatementCreationUtility.AddAssertionCallStatementToReturnStatementVisitor
All Implemented Interfaces:
GroovyClassVisitor, GroovyCodeVisitor, ErrorCollecting
Enclosing class:
AssertStatementCreationUtility

public static class AssertStatementCreationUtility.AddAssertionCallStatementToReturnStatementVisitor extends ClassCodeVisitorSupport
Replaces a given ReturnStatement with the appropriate assertion call statement and returns a result variable expression.