public class NElementCommentsBuilderImpl extends Object
| Constructor and Description |
|---|
NElementCommentsBuilderImpl() |
NElementCommentsBuilderImpl(NElementComment[] leadingComments,
NElementComment[] trailingComments) |
| Modifier and Type | Method and Description |
|---|---|
NElementCommentsBuilderImpl |
addComments(NElementComments comments) |
NElementCommentsBuilderImpl |
addLeading(NElementComment... leadingComments) |
NElementCommentsBuilderImpl |
addTrailing(NElementComment... trailingComments) |
NElementComments |
build() |
NElementCommentsBuilderImpl |
clear() |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isBlank() |
List<NElementComment> |
leadingComments() |
NElementCommentsBuilderImpl |
removeLeading(NElementComment comment) |
NElementCommentsBuilderImpl |
removeLeadingCommentAt(int index) |
NElementCommentsBuilderImpl |
removeTrailingComment(NElementComment comment) |
NElementCommentsBuilderImpl |
removeTrailingCommentAt(int index) |
String |
toString() |
List<NElementComment> |
trailingComments() |
public NElementCommentsBuilderImpl()
public NElementCommentsBuilderImpl(NElementComment[] leadingComments, NElementComment[] trailingComments)
public NElementCommentsBuilderImpl addLeading(NElementComment... leadingComments)
public NElementCommentsBuilderImpl addTrailing(NElementComment... trailingComments)
public NElementCommentsBuilderImpl removeLeadingCommentAt(int index)
public NElementCommentsBuilderImpl removeLeading(NElementComment comment)
public NElementCommentsBuilderImpl removeTrailingCommentAt(int index)
public NElementCommentsBuilderImpl removeTrailingComment(NElementComment comment)
public List<NElementComment> trailingComments()
public List<NElementComment> leadingComments()
public boolean isBlank()
public NElementComments build()
public NElementCommentsBuilderImpl clear()
public NElementCommentsBuilderImpl addComments(NElementComments comments)
Copyright © 2025 vpc open source initiative. All rights reserved.