* Revisit this after javassist support java 8
*/
@SuppressWarnings({ "unchecked", "unused" })
private <E extends Serializable> CopyExtractor<E> getExtractor(Class<E> clz, List<Method> fieldMethods) {
ClassPool pool = ClassPool.getDefault();
CtClass cc = pool.makeClass("com.eclecticlogic.pedal.dialect.postgresql." + clz.getSimpleName()
+ "$CopyExtractor");
try {
cc.addInterface(pool.getCtClass(CopyExtractor.class.getName()));
StringBuilder methodBody = new StringBuilder();
methodBody.append("public String getValueList(Object entity) {\n");