Interface JComment

  • All Superinterfaces:
    JElement
    All Known Subinterfaces:
    MComment
    All Known Implementing Classes:
    CommentImpl

    public interface JComment
    extends JElement

    Encapsulates comment associated with a package, class, method, and so on. Although they are often declared in the same place (code comments) JComment is a distinct entity from JAnnotation.

    • Method Detail

      • getText

        String getText()
        Returns the text of this comment.