public abstract class ExpressionVisitorWrapper extends AnonymousExpressionVisitor
ExpressionVisitor
wraps another ExpressionVisitor
and delegates all its
calls to it (the delegate).Modifier | Constructor and Description |
---|---|
protected |
ExpressionVisitorWrapper(ExpressionVisitor delegate)
Creates a new
ExpressionVisitorWrapper . |
Modifier and Type | Method and Description |
---|---|
protected ExpressionVisitor |
getDelegate()
Returns the delegate
ExpressionVisitor that is receiving all the calls from this one. |
protected void |
visit(Expression expression)
Blindly visit the given
Expression . |
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
protected ExpressionVisitorWrapper(ExpressionVisitor delegate)
ExpressionVisitorWrapper
.delegate
- The ExpressionVisitor
that will have the calls delegated from this onejava.lang.NullPointerException
- The delegate ExpressionVisitor
cannot be nullprotected ExpressionVisitor getDelegate()
ExpressionVisitor
that is receiving all the calls from this one.ExpressionVisitor
protected void visit(Expression expression)
Expression
.visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visit