Permalink
Browse files

Make AST transform APIs public

  • Loading branch information...
graemerocher graemerocher
graemerocher authored and graemerocher committed Jun 20, 2014
1 parent 26518af commit 3692861ed2a8755b3abec5b628db0b1e967a807c
Showing with 104 additions and 64 deletions.
  1. +2 −2 ...ity/src/main/groovy/org/codehaus/groovy/grails/compiler/injection/AllArtefactClassInjector.groovy
  2. +2 −2 ...ility/src/main/groovy/org/codehaus/groovy/grails/compiler/injection/AnnotatedClassInjector.groovy
  3. +2 −2 ...-compatibility/src/main/groovy/org/codehaus/groovy/grails/compiler/injection/ClassInjector.groovy
  4. +1 −1 ...main/groovy/org/codehaus/groovy/grails/compiler/injection/DefaultGrailsDomainClassInjector.groovy
  5. +2 −2 .../src/main/groovy/org/codehaus/groovy/grails/compiler/injection/GrailsArtefactClassInjector.groovy
  6. +2 −2 ...rc/main/groovy/org/codehaus/groovy/grails/compiler/injection/GrailsAwareInjectionOperation.groovy
  7. +2 −2 ...ty/src/main/groovy/org/codehaus/groovy/grails/compiler/injection/GrailsDomainClassInjector.groovy
  8. +1 −1 ...c/main/groovy/{org/grails/compiler/injection → grails/compiler/ast}/AllArtefactClassInjector.java
  9. +1 −1 ...src/main/groovy/{org/grails/compiler/injection → grails/compiler/ast}/AnnotatedClassInjector.java
  10. +1 −1 ...ls-core/src/main/groovy/{org/grails/compiler/injection → grails/compiler/ast}/AstTransformer.java
  11. +1 −1 grails-core/src/main/groovy/{org/grails/compiler/injection → grails/compiler/ast}/ClassInjector.java
  12. +1 −1 ...ain/groovy/{org/grails/compiler/injection → grails/compiler/ast}/GrailsArtefactClassInjector.java
  13. +1 −1 .../main/groovy/{org/grails/compiler/injection → grails/compiler/ast}/GrailsDomainClassInjector.java
  14. +1 −1 ...ore/src/main/groovy/{org/grails/compiler/injection → grails/compiler/ast}/GroovyPageInjector.java
  15. +18 −0 grails-core/src/main/groovy/org/codehaus/groovy/grails/compiler/injection/AstTransformer.groovy
  16. +1 −0 grails-core/src/main/groovy/org/grails/compiler/injection/ASTValidationErrorsHelper.java
  17. +3 −0 grails-core/src/main/groovy/org/grails/compiler/injection/AbstractArtefactTypeAstTransformation.java
  18. +2 −0 grails-core/src/main/groovy/org/grails/compiler/injection/AbstractGrailsArtefactTransformer.java
  19. +3 −0 grails-core/src/main/groovy/org/grails/compiler/injection/ArtefactTypeAstTransformation.java
  20. +3 −0 grails-core/src/main/groovy/org/grails/compiler/injection/DefaultGrailsDomainClassInjector.java
  21. +2 −0 grails-core/src/main/groovy/org/grails/compiler/injection/EntityASTTransformation.java
  22. +1 −0 grails-core/src/main/groovy/org/grails/compiler/injection/GrailsASTUtils.java
  23. +1 −0 grails-core/src/main/groovy/org/grails/compiler/injection/GrailsAwareClassLoader.java
  24. +5 −1 grails-core/src/main/groovy/org/grails/compiler/injection/GrailsAwareInjectionOperation.java
  25. +2 −0 grails-core/src/main/groovy/org/grails/compiler/injection/PluginAwareAstTransformer.java
  26. +1 −1 grails-core/src/main/groovy/org/grails/transaction/transform/TransactionalTransform.groovy
  27. +1 −1 ...rc/test/groovy/org/codehaus/groovy/grails/compiler/injection/ASTValidationErrorsHelperSpec.groovy
  28. +1 −1 ...rc/test/groovy/org/codehaus/groovy/grails/compiler/injection/GrailsArtefactTransformerSpec.groovy
  29. +2 −2 grails-logging/src/main/groovy/org/grails/compiler/logging/LoggingTransformer.java
  30. +1 −1 grails-logging/src/test/groovy/org/grails/compiler/logging/LoggingTransformerSpec.groovy
  31. +1 −1 grails-plugin-async/src/main/groovy/org/grails/compiler/web/async/ControllerAsyncTransformer.java
  32. +3 −3 ...trollers/src/main/groovy/org/codehaus/groovy/grails/compiler/web/ControllerActionTransformer.java
  33. +1 −1 ...trollers/src/main/groovy/org/codehaus/groovy/grails/compiler/web/ControllerDomainTransformer.java
  34. +1 −1 ...in-controllers/src/main/groovy/org/codehaus/groovy/grails/compiler/web/ControllerTransformer.java
  35. +1 −1 ...codehaus/groovy/grails/compiler/web/ControllerActionTransformerClosureActionOverridingSpec.groovy
  36. +1 −1 ...y/org/codehaus/groovy/grails/compiler/web/ControllerActionTransformerCompilationErrorsSpec.groovy
  37. +1 −1 ...rs/src/test/groovy/org/codehaus/groovy/grails/compiler/web/ControllerActionTransformerSpec.groovy
  38. +1 −1 ...rs/src/test/groovy/org/codehaus/groovy/grails/compiler/web/ControllerDomainTransformerSpec.groovy
  39. +1 −1 ...trollers/src/test/groovy/org/codehaus/groovy/grails/compiler/web/ControllerTransformerSpec.groovy
  40. +1 −1 ...n/groovy/org/codehaus/groovy/grails/compiler/web/converters/ConvertersControllersTransformer.java
  41. +1 −1 ...c/main/groovy/org/codehaus/groovy/grails/compiler/web/converters/ConvertersDomainTransformer.java
  42. +1 −1 ...est/groovy/org/codehaus/groovy/grails/compiler/web/converters/ConvertersControllersApiSpec.groovy
  43. +1 −1 .../groovy/org/codehaus/groovy/grails/compiler/web/converters/ConvertersDomainTransformerSpec.groovy
  44. +1 −1 ...rc/ast/groovy/org/codehaus/groovy/grails/compiler/web/taglib/ControllerTagLibraryTransformer.java
  45. +3 −3 grails-plugin-mimetypes/src/main/groovy/org/grails/compiler/web/mime/MimeTypesTransformer.java
  46. +1 −1 ...mimetypes/src/test/groovy/org/codehaus/groovy/grails/compiler/web/MimeTypesTransformerSpec.groovy
  47. +1 −1 ...est/src/main/groovy/org/codehaus/groovy/grails/compiler/web/rest/ControllerRestTransformer.groovy
  48. +1 −1 grails-plugin-rest/src/main/groovy/org/grails/plugins/web/rest/transform/ResourceTransform.groovy
  49. +1 −1 ...ing/src/main/groovy/org/codehaus/groovy/grails/compiler/injection/test/TestForTransformation.java
  50. +1 −1 ...g/src/main/groovy/org/codehaus/groovy/grails/compiler/injection/test/TestMixinTransformation.java
  51. +2 −2 grails-plugin-validation/src/main/groovy/grails/validation/DefaultASTValidateableHelper.java
  52. +1 −1 grails-plugin-validation/src/test/groovy/grails/validation/DefaultASTValidateableHelperSpec.groovy
  53. +1 −1 ...suite-uber/src/test/groovy/org/codehaus/groovy/grails/plugins/DomainClassGrailsPluginTests.groovy
  54. +1 −1 ...org/codehaus/groovy/grails/web/controllers/ControllerExceptionHandlerCompilationErrorsSpec.groovy
  55. +1 −1 grails-test/src/main/groovy/grails/test/GrailsAwareGroovyTestSuite.java
  56. +1 −1 ...ing/src/test/groovy/org/codehaus/groovy/grails/web/binding/DefaultASTDatabindingHelperSpec.groovy
  57. +2 −2 ...-gsp/src/main/groovy/org/codehaus/groovy/grails/compiler/web/gsp/GroovyPageBytecodeOptimizer.java
  58. +2 −2 ...p/src/main/groovy/org/codehaus/groovy/grails/compiler/web/pages/GroovyPageInjectionOperation.java
  59. +1 −1 ...web-gsp/src/main/groovy/org/codehaus/groovy/grails/compiler/web/taglib/TagLibraryTransformer.java
  60. +1 −1 ...p/src/test/groovy/org/codehaus/groovy/grails/compiler/web/taglib/TagLibraryTransformerSpec.groovy
@@ -21,8 +21,8 @@ package org.codehaus.groovy.grails.compiler.injection
*
* @author Graeme Rocher
* @since 2.0
- * @deprecated Use {@link org.grails.compiler.injection.AllArtefactClassInjector} instead
+ * @deprecated Use {@link grails.compiler.ast.AllArtefactClassInjector} instead
*/
@Deprecated
-public interface AllArtefactClassInjector extends org.grails.compiler.injection.AllArtefactClassInjector{
+public interface AllArtefactClassInjector extends grails.compiler.ast.AllArtefactClassInjector{
}
@@ -21,9 +21,9 @@ package org.codehaus.groovy.grails.compiler.injection
*
* @author Graeme Rocher
* @since 2.2.3
- * @deprecated Use {@link org.grails.compiler.injection.AnnotatedClassInjector} instead
+ * @deprecated Use {@link grails.compiler.ast.AnnotatedClassInjector} instead
*/
@Deprecated
-public interface AnnotatedClassInjector extends org.grails.compiler.injection.AnnotatedClassInjector{
+public interface AnnotatedClassInjector extends grails.compiler.ast.AnnotatedClassInjector{
}
@@ -23,8 +23,8 @@ package org.codehaus.groovy.grails.compiler.injection
* @author Graeme Rocher
*
* @since 0.2
- * @deprecated Use {@link org.grails.compiler.injection.ClassInjector} instead
+ * @deprecated Use {@link grails.compiler.ast.ClassInjector} instead
*/
-public interface ClassInjector extends org.grails.compiler.injection.ClassInjector{
+public interface ClassInjector extends grails.compiler.ast.ClassInjector{
}
@@ -1,6 +1,6 @@
package org.codehaus.groovy.grails.compiler.injection
-import org.grails.compiler.injection.AstTransformer
+import grails.compiler.ast.AstTransformer
/**
* Default implementation of domain class injector interface that adds the 'id'
@@ -20,8 +20,8 @@ package org.codehaus.groovy.grails.compiler.injection
*
* @author Graeme Rocher
* @since 2.0
- * @deprecated Use {@link org.grails.compiler.injection.GrailsArtefactClassInjector} instead
+ * @deprecated Use {@link grails.compiler.ast.GrailsArtefactClassInjector} instead
*/
@Deprecated
-public interface GrailsArtefactClassInjector extends org.grails.compiler.injection.GrailsArtefactClassInjector {
+public interface GrailsArtefactClassInjector extends grails.compiler.ast.GrailsArtefactClassInjector {
}
@@ -32,11 +32,11 @@ class GrailsAwareInjectionOperation extends org.grails.compiler.injection.Grails
GrailsAwareInjectionOperation() {
}
- GrailsAwareInjectionOperation(org.grails.compiler.injection.ClassInjector[] classInjectors) {
+ GrailsAwareInjectionOperation(grails.compiler.ast.ClassInjector[] classInjectors) {
super(classInjectors)
}
- GrailsAwareInjectionOperation(GroovyResourceLoader resourceLoader, org.grails.compiler.injection.ClassInjector[] classInjectors) {
+ GrailsAwareInjectionOperation(GroovyResourceLoader resourceLoader, grails.compiler.ast.ClassInjector[] classInjectors) {
super(resourceLoader, classInjectors)
}
}
@@ -22,9 +22,9 @@ package org.codehaus.groovy.grails.compiler.injection
* @author Graeme Rocher
*
* @since 0.2
- * @deprecated Use {@link org.grails.compiler.injection.GrailsDomainClassInjector} instead
+ * @deprecated Use {@link grails.compiler.ast.GrailsDomainClassInjector} instead
*/
@Deprecated
-public interface GrailsDomainClassInjector extends org.grails.compiler.injection.GrailsDomainClassInjector {
+public interface GrailsDomainClassInjector extends grails.compiler.ast.GrailsDomainClassInjector {
}
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.grails.compiler.injection;
+package grails.compiler.ast;
/**
* Extended marker interface that indicates this ClassInjector applies to all types of artefacts.
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.grails.compiler.injection;
+package grails.compiler.ast;
import org.codehaus.groovy.ast.ClassNode;
import org.codehaus.groovy.classgen.GeneratorContext;
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.grails.compiler.injection;
+package grails.compiler.ast;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.grails.compiler.injection;
+package grails.compiler.ast;
import java.lang.reflect.Modifier;
import java.net.URL;
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.grails.compiler.injection;
+package grails.compiler.ast;
import org.codehaus.groovy.ast.ClassNode;
import org.codehaus.groovy.ast.Parameter;
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.grails.compiler.injection;
+package grails.compiler.ast;
import org.codehaus.groovy.ast.ClassNode;
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.grails.compiler.injection;
+package grails.compiler.ast;
/**
* Extended marker interface that indicates this ClassInjector applies to GSPs.
@@ -0,0 +1,18 @@
+package org.codehaus.groovy.grails.compiler.injection
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * Marker annotation that for classes that transform Grails classes at the AST level.
+ *
+ * @since 2.0
+ * @author Graeme Rocher
+ * @deprecated Use {@link grails.compiler.ast.AstTransformer} instead
+ */
+@Retention(RetentionPolicy.RUNTIME)
+@Target([ElementType.TYPE])
+@Deprecated
+public @interface AstTransformer {
+}
@@ -17,6 +17,7 @@
import java.lang.reflect.Modifier;
+import grails.compiler.ast.GrailsArtefactClassInjector;
import grails.validation.ValidationErrors;
import org.codehaus.groovy.ast.ASTNode;
import org.codehaus.groovy.ast.ClassHelper;
@@ -19,6 +19,9 @@
import java.util.List;
+import grails.compiler.ast.AllArtefactClassInjector;
+import grails.compiler.ast.AnnotatedClassInjector;
+import grails.compiler.ast.ClassInjector;
import org.codehaus.groovy.ast.ClassNode;
import org.codehaus.groovy.control.CompilePhase;
import org.codehaus.groovy.control.SourceUnit;
@@ -16,6 +16,8 @@
package org.grails.compiler.injection;
import grails.artefact.Artefact;
+import grails.compiler.ast.AnnotatedClassInjector;
+import grails.compiler.ast.GrailsArtefactClassInjector;
import groovy.lang.Mixin;
import java.lang.reflect.Modifier;
@@ -22,6 +22,9 @@
import java.util.Collection;
import java.util.List;
+import grails.compiler.ast.AllArtefactClassInjector;
+import grails.compiler.ast.ClassInjector;
+import grails.compiler.ast.GrailsArtefactClassInjector;
import org.codehaus.groovy.ast.ASTNode;
import org.codehaus.groovy.ast.AnnotatedNode;
import org.codehaus.groovy.ast.AnnotationNode;
@@ -25,6 +25,9 @@
import java.util.List;
import java.util.Set;
+import grails.compiler.ast.AstTransformer;
+import grails.compiler.ast.GrailsArtefactClassInjector;
+import grails.compiler.ast.GrailsDomainClassInjector;
import org.codehaus.groovy.ast.ClassHelper;
import org.codehaus.groovy.ast.ClassNode;
import org.codehaus.groovy.ast.GenericsType;
@@ -16,6 +16,8 @@
package org.grails.compiler.injection;
import grails.build.logging.GrailsConsole;
+import grails.compiler.ast.ClassInjector;
+import grails.compiler.ast.GrailsDomainClassInjector;
import grails.persistence.Entity;
import org.codehaus.groovy.ast.ASTNode;
@@ -17,6 +17,7 @@
import grails.artefact.Enhanced;
import grails.build.logging.GrailsConsole;
+import grails.compiler.ast.GrailsArtefactClassInjector;
import grails.persistence.Entity;
import grails.util.GrailsNameUtils;
import grails.util.GrailsUtil;
@@ -15,6 +15,7 @@
*/
package org.grails.compiler.injection;
+import grails.compiler.ast.ClassInjector;
import groovy.lang.GroovyClassLoader;
import org.codehaus.groovy.control.CompilationUnit;
import org.codehaus.groovy.control.CompilerConfiguration;
@@ -15,6 +15,8 @@
*/
package org.grails.compiler.injection;
+import grails.compiler.ast.AstTransformer;
+import grails.compiler.ast.ClassInjector;
import groovy.lang.GroovyResourceLoader;
import org.codehaus.groovy.ast.ClassNode;
import org.codehaus.groovy.classgen.GeneratorContext;
@@ -26,6 +28,7 @@
import org.codehaus.groovy.grails.io.support.PathMatchingResourcePatternResolver;
import org.codehaus.groovy.grails.io.support.Resource;
import org.springframework.core.io.support.ResourcePatternResolver;
+import org.springframework.core.type.AnnotationMetadata;
import org.springframework.core.type.classreading.CachingMetadataReaderFactory;
import org.springframework.core.type.classreading.MetadataReader;
import org.springframework.util.ClassUtils;
@@ -109,7 +112,8 @@ private static void initializeState() {
try {
MetadataReader metadataReader = readerFactory.getMetadataReader(new GrailsResource(resource));
- if(metadataReader.getAnnotationMetadata().hasAnnotation(AstTransformer.class.getName())) {
+ AnnotationMetadata annotationMetadata = metadataReader.getAnnotationMetadata();
+ if(annotationMetadata.hasAnnotation(AstTransformer.class.getName()) || annotationMetadata.hasAnnotatedMethods(org.codehaus.groovy.grails.compiler.injection.AstTransformer.class.getName())) {
String className = metadataReader.getClassMetadata().getClassName();
Class<?> injectorClass = classLoader.loadClass(className);
if(injectorClasses.contains(injectorClass)) continue;
@@ -15,6 +15,8 @@
*/
package org.grails.compiler.injection;
+import grails.compiler.ast.AllArtefactClassInjector;
+import grails.compiler.ast.AstTransformer;
import grails.util.PluginBuildSettings;
import org.codehaus.groovy.ast.AnnotationNode;
import org.codehaus.groovy.ast.ClassNode;
@@ -36,7 +36,7 @@ import org.codehaus.groovy.ast.stmt.ReturnStatement
import org.codehaus.groovy.control.CompilePhase
import org.codehaus.groovy.control.SourceUnit
import org.grails.compiler.injection.GrailsASTUtils
-import org.grails.compiler.injection.GrailsArtefactClassInjector
+import grails.compiler.ast.GrailsArtefactClassInjector
import grails.transaction.GrailsTransactionTemplate
import grails.transaction.TransactionManagerAware
import org.grails.transaction.GrailsTransactionAttribute
@@ -4,7 +4,7 @@ import org.codehaus.groovy.ast.ClassNode
import org.codehaus.groovy.classgen.GeneratorContext
import org.codehaus.groovy.control.SourceUnit
import org.grails.compiler.injection.ASTValidationErrorsHelper
-import org.grails.compiler.injection.ClassInjector
+import grails.compiler.ast.ClassInjector
import org.grails.compiler.injection.GrailsAwareClassLoader
import org.springframework.validation.Errors
@@ -6,7 +6,7 @@ import grails.util.GrailsUtil
import org.codehaus.groovy.ast.AnnotationNode
import org.codehaus.groovy.ast.ClassNode
import org.grails.compiler.injection.AbstractGrailsArtefactTransformer
-import org.grails.compiler.injection.ClassInjector
+import grails.compiler.ast.ClassInjector
import org.grails.compiler.injection.GrailsAwareClassLoader
import spock.lang.Specification
@@ -25,8 +25,8 @@
import org.codehaus.groovy.ast.expr.MethodCallExpression;
import org.codehaus.groovy.classgen.GeneratorContext;
import org.codehaus.groovy.control.SourceUnit;
-import org.grails.compiler.injection.AllArtefactClassInjector;
-import org.grails.compiler.injection.AstTransformer;
+import grails.compiler.ast.AllArtefactClassInjector;
+import grails.compiler.ast.AstTransformer;
import org.codehaus.groovy.grails.io.support.GrailsResourceUtils;
import java.lang.reflect.Modifier;
@@ -1,7 +1,7 @@
package org.grails.compiler.logging
import org.apache.commons.logging.Log
-import org.grails.compiler.injection.ClassInjector
+import grails.compiler.ast.ClassInjector
import org.grails.compiler.injection.GrailsAwareClassLoader
import spock.lang.Specification
@@ -17,7 +17,7 @@
import org.codehaus.groovy.grails.commons.ControllerArtefactHandler;
import org.grails.compiler.injection.AbstractGrailsArtefactTransformer;
-import org.grails.compiler.injection.AstTransformer;
+import grails.compiler.ast.AstTransformer;
import org.codehaus.groovy.grails.compiler.web.ControllerTransformer;
import org.grails.plugins.web.async.api.ControllersAsyncApi;
@@ -82,10 +82,10 @@
import org.codehaus.groovy.control.SourceUnit;
import org.codehaus.groovy.grails.commons.ControllerArtefactHandler;
import org.codehaus.groovy.grails.commons.DefaultGrailsControllerClass;
-import org.grails.compiler.injection.AnnotatedClassInjector;
-import org.grails.compiler.injection.AstTransformer;
+import grails.compiler.ast.AnnotatedClassInjector;
+import grails.compiler.ast.AstTransformer;
import org.grails.compiler.injection.GrailsASTUtils;
-import org.grails.compiler.injection.GrailsArtefactClassInjector;
+import grails.compiler.ast.GrailsArtefactClassInjector;
import org.codehaus.groovy.grails.web.controllers.DefaultControllerExceptionHandlerMetaData;
import grails.web.util.TypeConvertingMap;
import org.codehaus.groovy.runtime.DefaultGroovyMethods;
@@ -23,7 +23,7 @@
import org.codehaus.groovy.control.SourceUnit;
import org.grails.core.DomainClassArtefactHandler;
import org.grails.compiler.injection.AbstractGrailsArtefactTransformer;
-import org.grails.compiler.injection.AstTransformer;
+import grails.compiler.ast.AstTransformer;
import org.codehaus.groovy.grails.io.support.GrailsResourceUtils;
import org.codehaus.groovy.grails.plugins.web.api.ControllersDomainBindingApi;
import org.grails.web.databinding.DefaultASTDatabindingHelper;
@@ -27,7 +27,7 @@
import org.codehaus.groovy.control.SourceUnit;
import org.codehaus.groovy.grails.commons.ControllerArtefactHandler;
import org.grails.compiler.injection.AbstractGrailsArtefactTransformer;
-import org.grails.compiler.injection.AstTransformer;
+import grails.compiler.ast.AstTransformer;
import org.grails.compiler.injection.GrailsASTUtils;
import org.codehaus.groovy.grails.io.support.GrailsResourceUtils;
import org.codehaus.groovy.grails.plugins.web.api.ControllersApi;
@@ -2,7 +2,7 @@ package org.codehaus.groovy.grails.compiler.web
import grails.util.GrailsWebUtil
-import org.grails.compiler.injection.ClassInjector
+import grails.compiler.ast.ClassInjector
import org.grails.compiler.injection.GrailsAwareClassLoader
import org.codehaus.groovy.grails.plugins.web.api.ControllersApi
import org.springframework.web.context.request.RequestContextHolder
@@ -1,7 +1,7 @@
package org.codehaus.groovy.grails.compiler.web
import org.codehaus.groovy.control.MultipleCompilationErrorsException
-import org.grails.compiler.injection.ClassInjector
+import grails.compiler.ast.ClassInjector
import org.grails.compiler.injection.GrailsAwareClassLoader
import spock.lang.Specification
@@ -7,7 +7,7 @@ import grails.web.Action
import java.lang.reflect.Modifier
import grails.web.servlet.context.GrailsWebApplicationContext
-import org.grails.compiler.injection.ClassInjector
+import grails.compiler.ast.ClassInjector
import org.grails.compiler.injection.GrailsAwareClassLoader
import org.springframework.web.context.WebApplicationContext
import org.springframework.web.context.request.RequestContextHolder
@@ -7,7 +7,7 @@ import grails.core.DefaultGrailsApplication
import org.grails.core.DomainClassArtefactHandler
import grails.core.GrailsApplication
import org.grails.core.metaclass.MetaClassEnhancer
-import org.grails.compiler.injection.ClassInjector
+import grails.compiler.ast.ClassInjector
import org.grails.compiler.injection.GrailsAwareClassLoader
import org.codehaus.groovy.grails.plugins.web.api.ControllersDomainBindingApi
import org.grails.web.servlet.mvc.GrailsWebRequest
Oops, something went wrong.

0 comments on commit 3692861

Please sign in to comment.