try {
CharStream content = new ANTLRStringStream(line);
AnnotationLexer lexer = new AnnotationLexer(content, reporter);
AnnotationParser parser = new AnnotationParser(new CommonTokenStream(lexer));
parser.setErrorReporter(reporter);
parser.setTreeAdaptor(new AnnotationCommonTreeAdaptor());
AnnotationParser.annotation_return root;
root = parser.annotation();
AnnotationCommonTree tree = (AnnotationCommonTree) root.getTree();
AnnotationNodeVisitor visitor = new AnnotationNodeVisitor();
tree.accept(visitor);