@Internal public abstract class ExpressionDefaultVisitor<T> extends Object implements ExpressionVisitor<T>
ExpressionVisitor
that redirects all calls to defaultMethod(Expression)
.Constructor and Description |
---|
ExpressionDefaultVisitor() |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
defaultMethod(Expression expression) |
T |
visit(CallExpression call) |
T |
visit(Expression other) |
T |
visit(FieldReferenceExpression fieldReference) |
T |
visit(NestedFieldReferenceExpression nestedFieldReference) |
T |
visit(TypeLiteralExpression typeLiteral) |
T |
visit(ValueLiteralExpression valueLiteral) |
public T visit(CallExpression call)
visit
in interface ExpressionVisitor<T>
public T visit(ValueLiteralExpression valueLiteral)
visit
in interface ExpressionVisitor<T>
public T visit(FieldReferenceExpression fieldReference)
visit
in interface ExpressionVisitor<T>
public T visit(TypeLiteralExpression typeLiteral)
visit
in interface ExpressionVisitor<T>
public T visit(Expression other)
visit
in interface ExpressionVisitor<T>
public T visit(NestedFieldReferenceExpression nestedFieldReference)
visit
in interface ExpressionVisitor<T>
protected abstract T defaultMethod(Expression expression)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.