JavaCompiler compiler = new JavaCompiler(context);
compiler.genEndPos = true;
compiler.keepComments = true;
JCCompilationUnit cu = compiler.parse(new ContentBasedJavaFileObject(source.getName(), source.getRawInput()));
JcTreeConverter converter = new JcTreeConverter();
JcTreeBuilder builder = new JcTreeBuilder();
converter.visit(cu);
builder.visit(converter.getResult());
return builder.get();
}