Search in sources :

Example 1 with CtCommentImpl

use of spoon.support.reflect.code.CtCommentImpl in project spoon by INRIA.

the class DefaultCoreFactory method createComment.

public CtComment createComment() {
    CtComment e = new CtCommentImpl();
    e.setFactory(getMainFactory());
    e.setCommentType(CtComment.CommentType.BLOCK);
    e.setContent("");
    return e;
}
Also used : CtComment(spoon.reflect.code.CtComment) CtCommentImpl(spoon.support.reflect.code.CtCommentImpl)

Aggregations

CtComment (spoon.reflect.code.CtComment)1 CtCommentImpl (spoon.support.reflect.code.CtCommentImpl)1