DefaultConfiguration conf = new DefaultConfiguration(roundEnv,
processingEnv.getOptions(), Collections.<String>emptySet(),
entities, entity, superType, null, embedded, skip);
try {
Class cl = Class.forName("com.mysema.query.mongodb.Point");
conf.addCustomType(Double[].class, cl);
} catch (ClassNotFoundException e) {
throw new IllegalStateException(e);
}
return conf;
}