Package org.ec4j.core.model
Class Comments.CommentBlock.Builder
java.lang.Object
org.ec4j.core.model.Adaptable.DefaultAdaptable.Builder<Comments.CommentBlock.Builder>
org.ec4j.core.model.Comments.CommentBlock.Builder
- Enclosing class:
Comments.CommentBlock
public static class Comments.CommentBlock.Builder
extends Adaptable.DefaultAdaptable.Builder<Comments.CommentBlock.Builder>
A
Comments.CommentBlock builder.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<Comments.CommentLine> private final Comments.CommentBlocks.Builderprivate LocationFields inherited from class org.ec4j.core.model.Adaptable.DefaultAdaptable.Builder
adapters -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()commentLine(Comments.CommentLine commentLine) Adds a singleComments.CommentLine.commentLines(Collection<Comments.CommentLine> commentLines) Adds multipleComments.CommentLines.commentLines(Comments.CommentLine... commentLines) Adds multipleComments.CommentLines.Methods inherited from class org.ec4j.core.model.Adaptable.DefaultAdaptable.Builder
adapter, adapters, adapters, sealAdapters
-
Field Details
-
commentLines
-
parentBuilder
-
start
-
-
Constructor Details
-
Builder
-
-
Method Details
-
build
- Returns:
- a new
Comments.CommentBlock
-
closeCommentBlock
- Returns:
parentBuilder
-
commentLine
Adds a singleComments.CommentLine.- Parameters:
commentLine- theComments.CommentLineto add- Returns:
- this
Comments.CommentBlock.Builder
-
commentLines
Adds multipleComments.CommentLines.- Parameters:
commentLines- theComments.CommentLines to add- Returns:
- this
Comments.CommentBlock.Builder
-
commentLines
Adds multipleComments.CommentLines.- Parameters:
commentLines- theComments.CommentLines to add- Returns:
- this
Comments.CommentBlock.Builder
-
openCommentLine
- Returns:
- a new
Comments.CommentLine.Builder
-