Skip to content

Commit

Permalink
Move Service AST xform to CLASS_GENERATION phase
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Jan 23, 2014
1 parent 37d133a commit f26db24
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
* @author Andres Almiray
*/
@ServiceProviderFor(ASTTransformation.class)
@GroovyASTTransformation(phase = CompilePhase.CANONICALIZATION)
@GroovyASTTransformation(phase = CompilePhase.CLASS_GENERATION)
public class ServiceProviderASTTransformation extends GipsyASTTransformation {
public static final String NAME = ServiceProviderASTTransformation.class.getName()
+ " (" + ServiceProviderASTTransformation.class.getPackage().getImplementationVersion() + ")";
Expand Down Expand Up @@ -156,4 +156,4 @@ private List<ClassNode> findServices(List<AnnotationNode> annotations) {
private void register(String serviceName, ClassNode provider) {
data.getService(serviceName).addProvider(provider.getName());
}
}
}

0 comments on commit f26db24

Please sign in to comment.