Class AbstractTraverseChildrenVisitor
- java.lang.Object
-
- org.eclipse.persistence.jpa.jpql.tools.model.query.AnonymousStateObjectVisitor
-
- org.eclipse.persistence.jpa.jpql.tools.model.query.AbstractTraverseChildrenVisitor
-
- All Implemented Interfaces:
StateObjectVisitor
- Direct Known Subclasses:
RefactoringTool.ClassNameRenamer
,RefactoringTool.EntityNameRenamer
,RefactoringTool.EnumConstantRenamer
,RefactoringTool.FieldNameRenamer
,RefactoringTool.ResultVariableNameRenamer
,RefactoringTool.VariableNameRenamer
public abstract class AbstractTraverseChildrenVisitor extends AnonymousStateObjectVisitor
ThisStateObjectVisitor
traverses the entire hierarchy of the JPQL parsed tree by going down into each of the children of any givenStateObject
. It is up to the subclass to complete the behavior.- Version:
- 2.4
- Author:
- Pascal Filion
- Since:
- 2.4
-
-
Constructor Summary
Constructors Constructor Description AbstractTraverseChildrenVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
visit(StateObject stateObject)
Blindly visit the givenStateObject
.-
Methods inherited from class org.eclipse.persistence.jpa.jpql.tools.model.query.AnonymousStateObjectVisitor
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, visit
-
-
-
-
Method Detail
-
visit
protected final void visit(StateObject stateObject)
Blindly visit the givenStateObject
.- Overrides:
visit
in classAnonymousStateObjectVisitor
- Parameters:
stateObject
- TheStateObject
to visit
-
-