| Class | Description |
|---|---|
| BeanCodeGen |
Code generator for the beans.
|
| BeanGenConfig |
Configuration for the code generator.
|
| Exception | Description |
|---|---|
| BeanCodeGenException |
Exception thrown by the code generator.
|
| Annotation Type | Description |
|---|---|
| BeanDefinition |
Annotation defining a bean for code generation.
|
| DerivedProperty |
Annotation defining a derived property accessor for code generation.
|
| ImmutableConstructor |
Annotation defining which constructor is to be used to create the object
in for code generation of immutable beans.
|
| ImmutableDefaults |
Annotation defining which method is to be used to apply the default property values
when code generating immutable beans.
|
| ImmutablePreBuild |
Annotation defining a method that is to be called just before a code generated immutable bean is built.
|
| ImmutableValidator |
Annotation defining which method is to be used to validate the bean
when code generating immutable beans.
|
| PropertyDefinition |
Annotation defining a property for code generation.
|
The main code generator class is BeanCodeGen, which is a command line tool.
Use of the code generator is optional with Joda-Beans, but it is the most common approach. The code generator is regenerative. It may be run again and again on the same file without damaging any changes made in the "user" part of the file. Only the "code-generated" part of the file will be altered by the generator.
Copyright © 2007–2017 Joda.org. All rights reserved.