public class BinaryExpressionTransformer
extends Object
Rewrites binary expressions into forms that generate better static-compilation bytecode.
| Constructor and description |
|---|
BinaryExpressionTransformer(StaticCompilationTransformer staticCompilationTransformer)Creates a binary-expression transformer backed by the owning static compilation transformer. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public Expression |
transformBinaryExpression(BinaryExpression bin)Transforms a binary expression when a static-compilation-specific optimization applies. |
Creates a binary-expression transformer backed by the owning static compilation transformer.
staticCompilationTransformer - the shared transformer contextTransforms a binary expression when a static-compilation-specific optimization applies.
bin - the binary expression to transformCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.