public class SpringTestCompilerAutoConfiguration extends CompilerAutoConfiguration
CompilerAutoConfiguration for Spring Test.| Constructor and Description | 
|---|
SpringTestCompilerAutoConfiguration()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
apply(groovy.lang.GroovyClassLoader loader,
     GroovyCompilerConfiguration configuration,
     org.codehaus.groovy.classgen.GeneratorContext generatorContext,
     org.codehaus.groovy.control.SourceUnit source,
     org.codehaus.groovy.ast.ClassNode classNode)
Apply any additional configuration. 
 | 
void | 
applyDependencies(DependencyCustomizer dependencies)
Apply any dependency customizations. 
 | 
void | 
applyImports(org.codehaus.groovy.control.customizers.ImportCustomizer imports)
Apply any import customizations. 
 | 
boolean | 
matches(org.codehaus.groovy.ast.ClassNode classNode)
Strategy method used to determine when compiler auto-configuration should be
 applied. 
 | 
applyToMainClasspublic boolean matches(org.codehaus.groovy.ast.ClassNode classNode)
CompilerAutoConfigurationmatches in class CompilerAutoConfigurationclassNode - the class nodetrue if the compiler should be auto configured using this class. If
 this method returns false no other strategy methods will be called.public void applyDependencies(DependencyCustomizer dependencies)
CompilerAutoConfigurationCompilerAutoConfiguration.matches(org.codehaus.groovy.ast.ClassNode) returns true.applyDependencies in class CompilerAutoConfigurationdependencies - dependency customizerpublic void apply(groovy.lang.GroovyClassLoader loader,
                  GroovyCompilerConfiguration configuration,
                  org.codehaus.groovy.classgen.GeneratorContext generatorContext,
                  org.codehaus.groovy.control.SourceUnit source,
                  org.codehaus.groovy.ast.ClassNode classNode)
           throws org.codehaus.groovy.control.CompilationFailedException
CompilerAutoConfigurationapply in class CompilerAutoConfigurationloader - the class loader being used during compilationconfiguration - the compiler configurationgeneratorContext - the current contextsource - the source unitclassNode - the classorg.codehaus.groovy.control.CompilationFailedException - if the configuration cannot be appliedpublic void applyImports(org.codehaus.groovy.control.customizers.ImportCustomizer imports)
                  throws org.codehaus.groovy.control.CompilationFailedException
CompilerAutoConfigurationCompilerAutoConfiguration.matches(org.codehaus.groovy.ast.ClassNode) returns true.applyImports in class CompilerAutoConfigurationimports - import customizerorg.codehaus.groovy.control.CompilationFailedException - if the imports cannot be applied