Package com.github.antlrjavaparser.api

Examples of com.github.antlrjavaparser.api.Comment


     * @param rooComment
     * @return
     */
    private static Comment adaptComment(
            final org.springframework.roo.classpath.details.comments.AbstractComment rooComment) {
        Comment comment;

        if (rooComment instanceof org.springframework.roo.classpath.details.comments.LineComment) {
            comment = new LineComment();
        }
        else if (rooComment instanceof org.springframework.roo.classpath.details.comments.JavadocComment) {
            comment = new JavadocComment();
        }
        else {
            comment = new BlockComment();
        }

        comment.setContent(rooComment.getComment());

        return comment;
    }
View Full Code Here

TOP

Related Classes of com.github.antlrjavaparser.api.Comment

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.