| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final StaticCompilationTransformer |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv Expression |
| transformer | back to summary |
|---|---|
| private final StaticCompilationTransformer transformer | |
| BooleanExpressionTransformer | back to summary |
|---|---|
| pack-priv BooleanExpressionTransformer(final StaticCompilationTransformer transformer) | |
| transformBooleanExpression | back to summary |
|---|---|
| pack-priv Expression transformBooleanExpression(final BooleanExpression boolX) | |
| Modifier and Type | Field and Description |
|---|---|
| private final ClassNode |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| private static boolean | |
| private static boolean | replaceAsBooleanWithCompareToNull(final ClassNode type, final ClassLoader dgmProvider)
Inline an "expr != null" check instead of boolean conversion iff:
(1) the class doesn't define an |
| public Expression | transformExpression(final ExpressionTransformer transformer)
Overrides org. |
| public void | visit(final GroovyCodeVisitor visitor)
Overrides org. |
| type | back to summary |
|---|---|
| private final ClassNode type | |
| OptimizingBooleanExpression | back to summary |
|---|---|
| pack-priv OptimizingBooleanExpression(final Expression expression, final ClassNode type) | |
| isEffectivelyFinal | back to summary |
|---|---|
| private static boolean isEffectivelyFinal(final ClassNode type) | |
| isExtended | back to summary |
|---|---|
| private static boolean isExtended(final ClassNode type, final Iterator<? extends ClassNode> inners) | |
| replaceAsBooleanWithCompareToNull | back to summary |
|---|---|
| private static boolean replaceAsBooleanWithCompareToNull(final ClassNode type, final ClassLoader dgmProvider) Inline an "expr != null" check instead of boolean conversion iff:
(1) the class doesn't define an | |
| transformExpression | back to summary |
|---|---|
| public Expression transformExpression(final ExpressionTransformer transformer) Overrides org. Doc from org. Return a copy of the expression calling the transformer on any nested expressions
| |
| visit | back to summary |
|---|---|
| public void visit(final GroovyCodeVisitor visitor) Overrides org.
| |