Class<? extends Annotation> entities = QueryEntities.class;
Class<? extends Annotation> entity = Entity.class;
Class<? extends Annotation> superType = QuerySupertype.class;
Class<? extends Annotation> embedded = Embedded.class;
Class<? extends Annotation> skip = Transient.class;
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;
}