Package com.mchange.v2.codegen.bean
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection
extraGeneralImports()
java.util.Collection
extraInterfaceNames()
java.util.Collection
extraSpecificImports()
void
generate(ClassInfo info, java.lang.Class superclassType, Property[] props, java.lang.Class[] propTypes, IndentedWriter iw)
-
-
-
Method Detail
-
extraGeneralImports
java.util.Collection extraGeneralImports()
-
extraSpecificImports
java.util.Collection extraSpecificImports()
-
extraInterfaceNames
java.util.Collection extraInterfaceNames()
-
generate
void generate(ClassInfo info, java.lang.Class superclassType, Property[] props, java.lang.Class[] propTypes, IndentedWriter iw) throws java.io.IOException
- Throws:
java.io.IOException
-
-