Package com.dubture.doctrine.annotation.parser.tree.visitor

Examples of com.dubture.doctrine.annotation.parser.tree.visitor.AnnotationNodeVisitor


            AnnotationParser.annotation_return root;

            root = parser.annotation();

            AnnotationCommonTree tree = (AnnotationCommonTree) root.getTree();
            AnnotationNodeVisitor visitor = new AnnotationNodeVisitor();
            tree.accept(visitor);

            if (expectFail && reporter.hasErrors() == false) {
                fail();
            }

            return visitor.getAnnotation();

        } catch (Exception e) {

            e.printStackTrace();
            // we should never be here, if the parser fails it should
View Full Code Here

TOP

Related Classes of com.dubture.doctrine.annotation.parser.tree.visitor.AnnotationNodeVisitor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.