StringReader in = new StringReader(text);
ANTLRReaderStream cs = new ANTLRReaderStream(in);
JavadocLexer lexer = new JavadocLexer(cs);
LinkedListTokenSource source = new LinkedListTokenSource(lexer);
LinkedListTokenStream stream = new LinkedListTokenStream(source);
JavadocParser parser = new JavadocParser(stream);
parser.setTreeAdaptor(TREE_ADAPTOR);
return parser;
}