Groovy Documentation

org.codehaus.groovy.grails.compiler.injection
[Java] Class PluginAwareAstTransformer

java.lang.Object
  org.codehaus.groovy.grails.compiler.injection.PluginAwareAstTransformer
All Implemented Interfaces:
AllArtefactClassInjector

@AstTransformer
public class PluginAwareAstTransformer
extends java.lang.Object

Automatically annotates each class based on the plugin it originated from.

Authors:
Graeme Rocher
Since:
2.0


Constructor Summary
PluginAwareAstTransformer()

 
Method Summary
void performInjection(org.codehaus.groovy.control.SourceUnit source, org.codehaus.groovy.classgen.GeneratorContext context, org.codehaus.groovy.ast.ClassNode classNode)

void performInjection(org.codehaus.groovy.control.SourceUnit source, org.codehaus.groovy.ast.ClassNode classNode)

boolean shouldInject(java.net.URL url)

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Constructor Detail

PluginAwareAstTransformer

public PluginAwareAstTransformer()


 
Method Detail

performInjection

public void performInjection(org.codehaus.groovy.control.SourceUnit source, org.codehaus.groovy.classgen.GeneratorContext context, org.codehaus.groovy.ast.ClassNode classNode)


performInjection

public void performInjection(org.codehaus.groovy.control.SourceUnit source, org.codehaus.groovy.ast.ClassNode classNode)


shouldInject

public boolean shouldInject(java.net.URL url)


 

Groovy Documentation