parser.setSource((ICompilationUnit) JavaCore.create(resource));
CompilationUnit astRoot = (CompilationUnit) parser.createAST(null);
// AST ast = context.getASTRoot().getAST();
AST ast = astRoot.getAST();
ASTRewrite rewriter = new AnnotationRewriter().createRewriter(astRoot, ast);
try {
TextEdit edit = rewriter.rewriteAST();
result = new TextFileChange(resource.getName(), (IFile) resource);
result.setEdit(edit);
} catch (JavaModelException e) {