Class JavaSingleLineComment

java.lang.Object
com.github.tadukoo.java.comment.JavaSingleLineComment
All Implemented Interfaces:
JavaCodeType, JavaTokens
Direct Known Subclasses:
EditableJavaSingleLineComment, UneditableJavaSingleLineComment

public abstract class JavaSingleLineComment extends Object implements JavaCodeType
Represents a Single-Line Comment in Java
Version:
Beta v.0.5
Author:
Logan Ferree (Tadukoo)
  • Field Details

    • content

      protected String content
      The content of the comment
  • Constructor Details

    • JavaSingleLineComment

      protected JavaSingleLineComment(boolean editable, String content)
      Constructs a new single-line comment with the given parameters
      Parameters:
      editable - Whether the comment is editable or not
      content - The content of the comment
  • Method Details