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 skip
SubExpression
if it's a parent.-
Field Summary
-
Constructor Summary
ConstructorDescriptionCreates a newBypassParentSubExpressionVisitor
. -
Method Summary
Modifier and TypeMethodDescriptionprotected 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, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
Field Details
-
visitor
TheExpressionVisitor
that will visit theExpression
.
-
-
Constructor Details
-
BypassParentSubExpressionVisitor
public BypassParentSubExpressionVisitor()Creates a newBypassParentSubExpressionVisitor
.
-
-
Method Details
-
visit
Description copied from class:AnonymousExpressionVisitor
Blindly visit the givenExpression
.- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
Description copied from interface:ExpressionVisitor
Visits theSubExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-