public final class ExpressionTreeRewriter<C> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ExpressionTreeRewriter.Context<C> |
| Constructor and Description |
|---|
ExpressionTreeRewriter(ExpressionRewriter<C> rewriter) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Expression> |
defaultRewrite(T node,
C context)
Invoke the default rewrite logic explicitly.
|
<T extends Expression> |
rewrite(T node,
C context) |
static <C,T extends Expression> |
rewriteWith(ExpressionRewriter<C> rewriter,
T node) |
static <C,T extends Expression> |
rewriteWith(ExpressionRewriter<C> rewriter,
T node,
C context) |
public ExpressionTreeRewriter(ExpressionRewriter<C> rewriter)
public static <C,T extends Expression> T rewriteWith(ExpressionRewriter<C> rewriter, T node)
public static <C,T extends Expression> T rewriteWith(ExpressionRewriter<C> rewriter, T node, C context)
public <T extends Expression> T rewrite(T node, C context)
public <T extends Expression> T defaultRewrite(T node, C context)
Copyright © 2012–2023. All rights reserved.