Package org.eclipse.persistence.jpa.jpql
Class AbstractValidator.BypassParentSubExpressionVisitor
- java.lang.Object
-
- org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor
-
- org.eclipse.persistence.jpa.jpql.AbstractValidator.BypassParentSubExpressionVisitor
-
- All Implemented Interfaces:
ExpressionVisitor
- Enclosing class:
- AbstractValidator
public static class AbstractValidator.BypassParentSubExpressionVisitor extends AnonymousExpressionVisitor
This visitor is responsible to traverse the parent hierarchy and to skipSubExpression
if it's a parent.
-
-
Field Summary
Fields Modifier and Type Field Description ExpressionVisitor
visitor
TheExpressionVisitor
that will visit theExpression
.
-
Constructor Summary
Constructors Constructor Description BypassParentSubExpressionVisitor()
Creates a newBypassParentSubExpressionVisitor
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
visit(Expression expression)
Blindly visit the givenExpression
.void
visit(SubExpression expression)
Visits theSubExpression
expression.-
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
-
-
-
-
Field Detail
-
visitor
public ExpressionVisitor visitor
TheExpressionVisitor
that will visit theExpression
.
-
-
Method Detail
-
visit
protected void visit(Expression expression)
Blindly visit the givenExpression
.- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(SubExpression expression)
Visits theSubExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
-