@groovy.transform.Trait @groovy.transform.CompileStatic trait ModelBuilder extends java.lang.Object
Used to build a Model for the purposes of codegen
Type | Name and description |
---|---|
java.lang.String |
defaultPackage |
Type Params | Return Type | Name and description |
---|---|---|
|
Model |
model(java.lang.Class cls) A model for the given class name |
|
Model |
model(java.lang.String className) A model for the given class name |
|
Model |
model(java.io.File file) A model for the given class name |
|
Model |
model(org.springframework.core.io.Resource resource) A model for the given class name |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), 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() |
A model for the given class name
className
- The class nameA model for the given class name
className
- The class nameA model for the given class name
className
- The class name