Package org.eclipse.persistence.jpa.jpql
Class AbstractValidator.BypassChildCollectionExpressionVisitor
- java.lang.Object
-
- org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor
-
- org.eclipse.persistence.jpa.jpql.AbstractValidator.BypassChildCollectionExpressionVisitor
-
- All Implemented Interfaces:
ExpressionVisitor
- Enclosing class:
- AbstractValidator
public static class AbstractValidator.BypassChildCollectionExpressionVisitor extends AnonymousExpressionVisitor
This visitor is responsible to traverse the children of aCollectionExpression
in order to properly validate theExpression
.
-
-
Field Summary
Fields Modifier and Type Field Description AbstractValidator.JPQLQueryBNFValidator
visitor
The visitor that will visit theExpression
.
-
Constructor Summary
Constructors Constructor Description BypassChildCollectionExpressionVisitor()
Creates a newBypassChildCollectionExpressionVisitor
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visit(CollectionExpression expression)
Visits theCollectionExpression
expression.protected void
visit(Expression expression)
Blindly visit the givenExpression
.void
visit(NullExpression expression)
Visits theNullExpression
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
-
-
-
-
Field Detail
-
visitor
public AbstractValidator.JPQLQueryBNFValidator visitor
The visitor that will visit theExpression
.
-
-
Method Detail
-
visit
public void visit(CollectionExpression expression)
Visits theCollectionExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
protected void visit(Expression expression)
Blindly visit the givenExpression
.- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(NullExpression expression)
Visits theNullExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
-