try {
JCodeModel jCodeModel = new JCodeModel();
GenerateValueClassForVisitor dataVisitor = element.getAnnotation(GenerateValueClassForVisitor.class);
JCodeModelJavaxLangModelAdapter adapter = new JCodeModelJavaxLangModelAdapter(jCodeModel);
JDefinedClass visitorModel = adapter._class(element);
visitorModel.hide();
ValueClassModelFactory.createValueClass(visitorModel, dataVisitor);
processingEnv.getMessager().printMessage(Diagnostic.Kind.NOTE, "Generated value class for " + element);
FilerCodeWriter writer = new FilerCodeWriter(processingEnv.getFiler(), processingEnv.getMessager());
try {
jCodeModel.build(writer);