Top Description Methods
com.mchange.v2.codegen.bean

public Interface GeneratorExtension

Known Direct Implementers
com.mchange.v2.codegen.bean.PropertyMapConstructorGeneratorExtension, com.mchange.v2.codegen.bean.PropertyReferenceableExtension, com.mchange.v2.codegen.bean.PropsToStringGeneratorExtension, com.mchange.v2.codegen.bean.SerializableExtension, com.mchange.v2.codegen.bean.SimpleStateBeanImportExportGeneratorExtension, com.mchange.v2.codegen.bean.StateBeanImportExportGeneratorExtension, com.mchange.v2.codegen.bean.BeanExtractingGeneratorExtension, com.mchange.v2.codegen.bean.CloneableExtension, com.mchange.v2.codegen.bean.CompleteConstructorGeneratorExtension, com.mchange.v2.codegen.bean.CopyConstructorGeneratorExtension, com.mchange.v2.codegen.bean.ExplicitDefaultConstructorGeneratorExtension, com.mchange.v2.codegen.bean.ExplicitPropsConstructorGeneratorExtension
Imports
java.util.*, java.io.IOException, com.mchange.v2.codegen.IndentedWriter

By the time generate(...) is called, all extra interfaces and imports from all GeneratorExtensions should be incorporated into the passed-in ClassInfo object.

Method Summary

Modifier and TypeMethod and Description
public Collection<E>
public Collection<E>
public Collection<E>
public void
generate(ClassInfo info, Class<T> superclassType, Property[] props, Class<T>[] propTypes, IndentedWriter iw)
Deprecated as a consequence of IndentedWriter being deprecated.

Method Detail

extraGeneralImportsback to summary
public Collection<E> extraGeneralImports()
extraInterfaceNamesback to summary
public Collection<E> extraInterfaceNames()
extraSpecificImportsback to summary
public Collection<E> extraSpecificImports()
generateback to summary
public void generate(ClassInfo info, Class<T> superclassType, Property[] props, Class<T>[] propTypes, IndentedWriter iw) throws IOException

Deprecated

as a consequence of IndentedWriter being deprecated. See corresponding docs for further information.