Package org.codehaus.groovy.transform.sc.transformers
package org.codehaus.groovy.transform.sc.transformers
Transformers for static compilation. Individual transformation rules for code optimization.
-
ClassesClassDescriptionRewrites binary expressions into forms that generate better static-compilation bytecode.Simplifies casts and coercions that the static compiler can safely emit directly.Applies static-compilation-specific rewrites to closure expressions.Compares two objects using identity comparison.Specializes a comparison against
nullfor static compilation.Rewrites constructor calls that have a more direct static-compilation form.This transformer focuses on ranges to produce optimized bytecode.Some expressions use symbols as aliases to method calls (<<, +=, ...).