Package com.mchange.v2.c3p0.codegen
Class JdbcProxyGenerator
java.lang.Object
com.mchange.v2.codegen.intfc.DelegatorGenerator
com.mchange.v2.c3p0.codegen.JdbcProxyGenerator
public abstract class JdbcProxyGenerator
extends com.mchange.v2.codegen.intfc.DelegatorGenerator
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
generateDelegateCode
(Class intfcl, String genclass, Method method, com.mchange.v2.codegen.IndentedWriter iw) protected void
generateExtraDeclarations
(Class intfcl, String genclass, com.mchange.v2.codegen.IndentedWriter iw) protected void
generateExtraImports
(com.mchange.v2.codegen.IndentedWriter iw) protected void
generatePostDelegateCode
(Class intfcl, String genclass, Method method, com.mchange.v2.codegen.IndentedWriter iw) protected void
generatePreDelegateCode
(Class intfcl, String genclass, Method method, com.mchange.v2.codegen.IndentedWriter iw) static void
protected void
writeDetachBody
(com.mchange.v2.codegen.IndentedWriter iw) Methods inherited from class com.mchange.v2.codegen.intfc.DelegatorGenerator
generateBannerComment, generateClassJavaDocComment, generateReflectiveDelegateCode, getClassModifiers, getExtraInterfaces, getMethodModifiers, getNoArgConstructorModifiers, getReflectiveDelegateMethods, getReflectiveDelegationPolicy, getSuperclass, getWrappingConstructorModifiers, isGenerateInnerGetter, isGenerateInnerSetter, isGenerateNoArgConstructor, isGenerateWrappingConstructor, setClassModifiers, setExtraInterfaces, setGenerateInnerGetter, setGenerateInnerSetter, setGenerateNoArgConstructor, setGenerateWrappingConstructor, setMethodModifiers, setNoArgConstructorModifiers, setReflectiveDelegateMethods, setReflectiveDelegationPolicy, setSuperclass, setWrappingConstructorModifiers, writeDelegator
-
Method Details
-
generateDelegateCode
protected void generateDelegateCode(Class intfcl, String genclass, Method method, com.mchange.v2.codegen.IndentedWriter iw) throws IOException - Overrides:
generateDelegateCode
in classcom.mchange.v2.codegen.intfc.DelegatorGenerator
- Throws:
IOException
-
generatePreDelegateCode
protected void generatePreDelegateCode(Class intfcl, String genclass, Method method, com.mchange.v2.codegen.IndentedWriter iw) throws IOException - Overrides:
generatePreDelegateCode
in classcom.mchange.v2.codegen.intfc.DelegatorGenerator
- Throws:
IOException
-
generatePostDelegateCode
protected void generatePostDelegateCode(Class intfcl, String genclass, Method method, com.mchange.v2.codegen.IndentedWriter iw) throws IOException - Overrides:
generatePostDelegateCode
in classcom.mchange.v2.codegen.intfc.DelegatorGenerator
- Throws:
IOException
-
generateExtraDeclarations
protected void generateExtraDeclarations(Class intfcl, String genclass, com.mchange.v2.codegen.IndentedWriter iw) throws IOException - Overrides:
generateExtraDeclarations
in classcom.mchange.v2.codegen.intfc.DelegatorGenerator
- Throws:
IOException
-
writeDetachBody
- Throws:
IOException
-
generateExtraImports
- Overrides:
generateExtraImports
in classcom.mchange.v2.codegen.intfc.DelegatorGenerator
- Throws:
IOException
-
main
-