Class BaseSingleComment
java.lang.Object
io.github.mmm.code.base.item.BaseItem
io.github.mmm.code.base.comment.BaseComment
io.github.mmm.code.base.comment.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)
-
Field Summary
Fields inherited from interface io.github.mmm.code.api.item.CodeItem
DEFAULT_INDENT, DEFAULT_NEWLINE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class BaseItem
doWrite, getOwningType, getSourceCode, getSpaces, toString, writeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.github.mmm.code.api.comment.CodeComment
getVariable, iteratorMethods inherited from interface io.github.mmm.code.api.item.CodeItem
getLanguage, getSourceCode, write, write, write, write, write, writeMethods inherited from interface io.github.mmm.code.api.comment.CodeSingleComment
getCommentLinesMethods inherited from interface Iterable
forEach, spliterator
-
Constructor Details
-
BaseSingleComment
-
-
Method Details
-
getComment
- Specified by:
getCommentin interfaceio.github.mmm.code.api.comment.CodeSingleComment
-