Interface CodeComment
- All Superinterfaces:
CodeItem, CodeItemWithVariables, CodeStatement, Iterable<String>
- All Known Subinterfaces:
CodeBlockComment, CodeComments, CodeInlineComment, CodeSingleComment, CodeSingleLineComment
CodeStatement for a comment.- Since:
- 1.0.0
- Author:
- hohwille
-
Field Summary
Fields inherited from interface CodeItem
DEFAULT_INDENT, DEFAULT_NEWLINE -
Method Summary
Methods inherited from interface CodeItem
getLanguage, getSourceCode, write, write, write, write, write, writeMethods inherited from interface Iterable
forEach, spliterator
-
Method Details
-
getVariable
- Specified by:
getVariablein interfaceCodeItemWithVariables- Parameters:
name- thenameof the requestedCodeVariable.- Returns:
- the
CodeVariablewith the givennameornullif not found.
-
iterator
-
getCommentLines
-