Class BaseSingleComment

All Implemented Interfaces:
io.github.mmm.code.api.comment.CodeComment, io.github.mmm.code.api.comment.CodeSingleComment, io.github.mmm.code.api.item.CodeItem, io.github.mmm.code.api.item.CodeItemWithVariables, io.github.mmm.code.api.statement.CodeStatement, Iterable<String>
Direct Known Subclasses:
BaseInlineComment, BaseSingleLineComment

public abstract class BaseSingleComment extends BaseComment implements io.github.mmm.code.api.comment.CodeSingleComment
Base implementation of CodeSingleComment.
Since:
1.0.0
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)
  • Constructor Details

    • BaseSingleComment

      public BaseSingleComment(String comment)
      The constructor.
      Parameters:
      comment - the single comment line.
  • Method Details

    • getComment

      public String getComment()
      Specified by:
      getComment in interface io.github.mmm.code.api.comment.CodeSingleComment