Class BasicRefactoringTool.VariableNameRenamer

All Implemented Interfaces:
ExpressionVisitor
Enclosing class:
BasicRefactoringTool

protected class BasicRefactoringTool.VariableNameRenamer extends BasicRefactoringTool.AbstractRenamer
This visitor renames all the identification variables found in the JPQL query.
  • Field Details

    • newVariableName

      protected final String newVariableName
      The new name of the identification variable.
    • oldVariableName

      protected final String oldVariableName
      The current identification variable name.
  • Constructor Details

    • VariableNameRenamer

      public VariableNameRenamer(String oldVariableName, String newVariableName)
      Creates a new VariableNameRenamer.
      Parameters:
      oldVariableName - The current identification variable name
      newVariableName - The new name of the identification variable
  • Method Details