Package org.joda.beans.gen
Code generator for Joda-Beans.
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 BeanCodeGen Code generator for the beans.BeanGenConfig Configuration for the code generator. -
Exception Summary Exception Description BeanCodeGenException Exception thrown by the code generator. -
Annotation Types Summary 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.