Class ExpressionVisitorWrapper
java.lang.Object
org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor
org.eclipse.persistence.jpa.jpql.parser.ExpressionVisitorWrapper
- All Implemented Interfaces:
ExpressionVisitor
This
ExpressionVisitor
wraps another ExpressionVisitor
and delegates all its
calls to it (the delegate).- Since:
- 2.3
- Version:
- 2.4
-
Constructor Summary
ModifierConstructorDescriptionprotected
ExpressionVisitorWrapper
(ExpressionVisitor delegate) Creates a newExpressionVisitorWrapper
. -
Method Summary
Modifier and TypeMethodDescriptionprotected ExpressionVisitor
Returns the delegateExpressionVisitor
that is receiving all the calls from this one.protected void
visit
(Expression expression) Blindly visit the givenExpression
.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, visit
-
Constructor Details
-
ExpressionVisitorWrapper
Creates a newExpressionVisitorWrapper
.- Parameters:
delegate
- TheExpressionVisitor
that will have the calls delegated from this one- Throws:
NullPointerException
- The delegateExpressionVisitor
cannot be null
-
-
Method Details
-
getDelegate
Returns the delegateExpressionVisitor
that is receiving all the calls from this one.- Returns:
- The delegate
ExpressionVisitor
-
visit
Description copied from class:AnonymousExpressionVisitor
Blindly visit the givenExpression
.- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-