Interface GeneratorExtension
- All Known Implementing Classes:
BeanExtractingGeneratorExtension, CloneableExtension, CompleteConstructorGeneratorExtension, CopyConstructorGeneratorExtension, ExplicitDefaultConstructorGeneratorExtension, ExplicitPropsConstructorGeneratorExtension, IndirectingSerializableExtension, PropertyMapConstructorGeneratorExtension, PropertyReferenceableExtension, PropsToStringGeneratorExtension, SerializableExtension, SimpleStateBeanImportExportGeneratorExtension, StateBeanImportExportGeneratorExtension
public interface GeneratorExtension
By the time generate(...) is called, all extra interfaces and imports from all
GeneratorExtensions should be incorporated into the passed-in ClassInfo object.
-
Method Details
-
extraGeneralImports
Collection extraGeneralImports() -
extraSpecificImports
Collection extraSpecificImports() -
extraInterfaceNames
Collection extraInterfaceNames() -
generate
void generate(ClassInfo info, Class superclassType, Property[] props, Class[] propTypes, IndentedWriter iw) throws IOException - Throws:
IOException
-