@@ -3023,14 +3023,14 @@ thoroughly in this <<{grape}#section-grape,section of the guide>>.
3023
3023
3024
3024
There are two kinds of transformations: global and local transformations.
3025
3025
3026
- * <<transforms-global,Global transformations>> are applied to by the compiler on the code being compiled,
3027
- wherever the transformation apply . Compiled classes that implement global transformations
3026
+ * <<transforms-global,Global transformations>> are applied by the compiler on the code being compiled,
3027
+ wherever the transformation applies . Compiled classes that implement global transformations
3028
3028
are in a JAR added to the classpath of the compiler and contain service locator file
3029
3029
`META-INF/services/org.codehaus.groovy.transform.ASTTransformation` with a line with the name of the
3030
3030
transformation class. The transformation class must have a no-arg constructor and implement the
3031
3031
`org.codehaus.groovy.transform.ASTTransformation` interface.
3032
- It will be run against *every source in the compilation*, so be sure to not create transformations which
3033
- scan all the AST in an expansive and time-consuming manner, to keep the compiler fast .
3032
+ It will be run against *every source in the compilation*, so if you want fast compilation times, don't create transformations which
3033
+ scan all the AST in an expansive and time-consuming manner.
3034
3034
* <<transforms-local,Local transformations>> are transformations applied locally by annotating code elements you want to
3035
3035
transform. For this, we reuse the annotation notation, and those annotations should implement
3036
3036
`org.codehaus.groovy.transform.ASTTransformation`. The compiler will discover them and apply the
0 commit comments