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.
Class Summary Class Description BeanCodeGenCode generator for the beans. BeanGenConfigConfiguration for the code generator.
Exception Summary Exception Description BeanCodeGenExceptionException thrown by the code generator.
Annotation Types Summary Annotation Type Description BeanDefinitionAnnotation defining a bean for code generation. DerivedPropertyAnnotation defining a derived property accessor for code generation. ImmutableConstructorAnnotation defining which constructor is to be used to create the object in for code generation of immutable beans. ImmutableDefaultsAnnotation defining which method is to be used to apply the default property values when code generating immutable beans. ImmutablePreBuildAnnotation defining a method that is to be called just before a code generated immutable bean is built. ImmutableValidatorAnnotation defining which method is to be used to validate the bean when code generating immutable beans. PropertyDefinitionAnnotation defining a property for code generation.