Package com.mchange.v2.codegen.bean
Class CloneableExtension
java.lang.Object
com.mchange.v2.codegen.bean.CloneableExtension
- All Implemented Interfaces:
GeneratorExtension
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
generate
(ClassInfo info, Class superclassType, Property[] props, Class[] propTypes, IndentedWriter iw) boolean
boolean
void
setExceptionSwallowing
(boolean exception_swallowing) void
setExportPublic
(boolean export_public) void
setMLoggerName
(String mLoggerName)
-
Constructor Details
-
CloneableExtension
public CloneableExtension(boolean export_public, boolean exception_swallowing) -
CloneableExtension
public CloneableExtension()
-
-
Method Details
-
isExportPublic
public boolean isExportPublic() -
setExportPublic
public void setExportPublic(boolean export_public) -
isExceptionSwallowing
public boolean isExceptionSwallowing() -
setExceptionSwallowing
public void setExceptionSwallowing(boolean exception_swallowing) -
getMLoggerName
-
setMLoggerName
-
extraGeneralImports
- Specified by:
extraGeneralImports
in interfaceGeneratorExtension
-
extraSpecificImports
- Specified by:
extraSpecificImports
in interfaceGeneratorExtension
-
extraInterfaceNames
- Specified by:
extraInterfaceNames
in interfaceGeneratorExtension
-
generate
public void generate(ClassInfo info, Class superclassType, Property[] props, Class[] propTypes, IndentedWriter iw) throws IOException - Specified by:
generate
in interfaceGeneratorExtension
- Throws:
IOException
-