public class UsedVariableTracker
extends Object
implements VariableReplacedListener
Tracks replacement variables that are actually used while rewriting expressions.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public Set<String> |
getUsedVariableNames()Returns the names of replacement variables that were referenced. |
|
public void |
variableReplaced(VariableExpression oldVar, VariableExpression newVar)* Called after a variable expression has been replaced. * *
|
Returns the names of replacement variables that were referenced.
* Called after a variable expression has been replaced. * *
oldVar - the original variable expression
*newVar - the replacement variable expression