@AstTransformer @CompileStatic class ScaffoldingControllerInjector extends java.lang.Object implements GrailsArtefactClassInjector
Transformation that turns a controller into a scaffolding controller at compile time if '@Scaffold' is specified.
The legacy 'static scaffold = Foo' syntax is deprecated and will be removed in a future version.
Use the @Scaffold annotation instead.
| Modifiers | Name | Description |
|---|---|---|
static java.lang.String |
PROPERTY_SCAFFOLD |
| Type | Name and description |
|---|---|
java.lang.String[] |
artefactTypes |
| Constructor and description |
|---|
ScaffoldingControllerInjector() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected static ClassNode |
extractGenericDomainClass(ClassNode controllerClassNode) |
|
void |
performInjection(SourceUnit source, GeneratorContext context, ClassNode classNode) |
|
void |
performInjection(SourceUnit source, ClassNode classNode) |
|
void |
performInjectionOnAnnotatedClass(SourceUnit source, 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) |