|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor org.eclipse.persistence.jpa.jpql.parser.AbstractTraverseChildrenVisitor org.eclipse.persistence.jpa.jpql.BasicRefactoringTool.AbstractRenamer org.eclipse.persistence.jpa.jpql.BasicRefactoringTool.VariableNameRenamer
protected class BasicRefactoringTool.VariableNameRenamer
This visitor renames all the identification variables found in the JPQL query.
Field Summary | |
---|---|
protected java.lang.String |
newVariableName
The new name of the identification variable. |
protected java.lang.String |
oldVariableName
The current identification variable name. |
Fields inherited from class org.eclipse.persistence.jpa.jpql.BasicRefactoringTool.AbstractRenamer |
---|
textEdits |
Constructor Summary | |
---|---|
BasicRefactoringTool.VariableNameRenamer(java.lang.String oldVariableName,
java.lang.String newVariableName)
Creates a new VariableNameRenamer . |
Method Summary | |
---|---|
void |
visit(IdentificationVariable expression)
Visits the IdentificationVariable expression. |
Methods inherited from class org.eclipse.persistence.jpa.jpql.BasicRefactoringTool.AbstractRenamer |
---|
addTextEdit, addTextEdit, buildTextEdit, reposition |
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AbstractTraverseChildrenVisitor |
---|
visit |
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor |
---|
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final java.lang.String newVariableName
protected final java.lang.String oldVariableName
Constructor Detail |
---|
public BasicRefactoringTool.VariableNameRenamer(java.lang.String oldVariableName, java.lang.String newVariableName)
VariableNameRenamer
.
oldVariableName
- The current identification variable namenewVariableName
- The new name of the identification variableMethod Detail |
---|
public void visit(IdentificationVariable expression)
IdentificationVariable
expression.
visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visit
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |