Class VariableAccessReplacer

java.lang.Object
org.codehaus.groovy.transform.tailrec.VariableAccessReplacer

public class VariableAccessReplacer extends Object
Replace all access to variables and args by new variables. The variable names to replace as well as their replacement name and type have to be configured in nameAndTypeMapping before calling replaceIn().

The VariableReplacedListener can be set if clients want to react to variable replacement.