@groovy.transform.CompileStatic @AstTransformer class ApplicationClassInjector extends java.lang.Object implements GrailsArtefactClassInjector
Injector for the 'Application' class
| Modifiers | Name | Description |
|---|---|---|
static java.util.List<java.lang.String> |
EXCLUDED_AUTO_CONFIGURE_CLASSES |
|
static java.lang.String |
EXCLUDE_MEMBER |
| Type | Name and description |
|---|---|
static java.util.List<java.util.Map<java.lang.String, java.lang.String>> |
CONDITIONAL_EXCLUSIONSAuto-configuration classes that are conditionally excluded when a specific plugin is detected on the classpath. |
ApplicationArtefactHandler |
applicationArtefactHandler |
| Constructor and description |
|---|
ApplicationClassInjector() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.String[] |
getArtefactTypes() |
|
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) |
|
void |
performInjectionOnAnnotatedClass(org.codehaus.groovy.control.SourceUnit source, org.codehaus.groovy.ast.ClassNode classNode) |
|
boolean |
shouldInject(java.net.URL url) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Auto-configuration classes that are conditionally excluded when a specific plugin is detected on the classpath. Each entry maps a plugin class (checked via ClassUtils#isPresent#isPresent) to the auto-configuration class name to exclude, with an optional system property that can disable the exclusion.
The system property defaults to "true" (exclusion enabled).
Set it to "false" in gradle.properties to opt out:
systemProp.grails.autoconfigure.exclude.liquibase=false