public class RangeExpressionTransformer
extends Object
This transformer focuses on ranges to produce optimized bytecode.
| Constructor and description |
|---|
RangeExpressionTransformer(StaticCompilationTransformer transformer)Creates a range-expression transformer backed by the owning static compilation transformer. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public Expression |
transformRangeExpression(RangeExpression range)Rewrites an IntRange expression into a direct constructor call when possible. |
Creates a range-expression transformer backed by the owning static compilation transformer.
transformer - the shared transformer contextRewrites an IntRange expression into a direct constructor call when possible.
range - the range expression to transformCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.