Package com.mchange.v2.codegen.bean
Class CloneableExtension
- java.lang.Object
-
- com.mchange.v2.codegen.bean.CloneableExtension
-
- All Implemented Interfaces:
GeneratorExtension
public class CloneableExtension extends java.lang.Object implements GeneratorExtension
-
-
Constructor Summary
Constructors Constructor Description CloneableExtension()
CloneableExtension(boolean export_public, boolean exception_swallowing)
-
Method Summary
All Methods Instance Methods Concrete 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)
java.lang.String
getMLoggerName()
boolean
isExceptionSwallowing()
boolean
isExportPublic()
void
setExceptionSwallowing(boolean exception_swallowing)
void
setExportPublic(boolean export_public)
void
setMLoggerName(java.lang.String mLoggerName)
-
-
-
Method Detail
-
isExportPublic
public boolean isExportPublic()
-
setExportPublic
public void setExportPublic(boolean export_public)
-
isExceptionSwallowing
public boolean isExceptionSwallowing()
-
setExceptionSwallowing
public void setExceptionSwallowing(boolean exception_swallowing)
-
getMLoggerName
public java.lang.String getMLoggerName()
-
setMLoggerName
public void setMLoggerName(java.lang.String mLoggerName)
-
extraGeneralImports
public java.util.Collection extraGeneralImports()
- Specified by:
extraGeneralImports
in interfaceGeneratorExtension
-
extraSpecificImports
public java.util.Collection extraSpecificImports()
- Specified by:
extraSpecificImports
in interfaceGeneratorExtension
-
extraInterfaceNames
public java.util.Collection extraInterfaceNames()
- Specified by:
extraInterfaceNames
in interfaceGeneratorExtension
-
generate
public void generate(ClassInfo info, java.lang.Class superclassType, Property[] props, java.lang.Class[] propTypes, IndentedWriter iw) throws java.io.IOException
- Specified by:
generate
in interfaceGeneratorExtension
- Throws:
java.io.IOException
-
-