public class DefaultNPairElementBuilder extends AbstractNElementBuilder implements NPairElementBuilder
| Constructor and Description |
|---|
DefaultNPairElementBuilder() |
DefaultNPairElementBuilder(NElement key,
NElement value) |
annotations, comments, leadingComments, trailingCommentsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitannotationscomments, leadingComments, trailingCommentspublic NPairElementBuilder doWith(Consumer<NPairElementBuilder> con)
doWith in interface NPairElementBuilderpublic NPairElementBuilder value(NElement value)
value in interface NPairElementBuilderpublic NPairElementBuilder copyFrom(NPairElement element)
copyFrom in interface NPairElementBuilderpublic NPairElementBuilder copyFrom(NPairElementBuilder element)
copyFrom in interface NPairElementBuilderpublic NPairElementBuilder key(NElement key)
key in interface NPairElementBuilderpublic NPairElementBuilder key(String key)
key in interface NPairElementBuilderpublic NPairElement build()
build in interface NElementBuilderbuild in interface NPairElementBuilderpublic NElementType type()
type in interface NElementBuilderpublic NElement value()
value in interface NPairElementBuilderpublic NElement key()
key in interface NPairElementBuilderpublic NPairElementBuilder addLeadingComment(NElementCommentType type, String text)
addLeadingComment in interface NElementBuilderaddLeadingComment in interface NPairElementBuilderaddLeadingComment in class AbstractNElementBuilderpublic NPairElementBuilder addTrailingComment(NElementCommentType type, String text)
addTrailingComment in interface NElementBuilderaddTrailingComment in interface NPairElementBuilderaddTrailingComment in class AbstractNElementBuilderpublic NPairElementBuilder addLeadingComment(NElementComment comment)
addLeadingComment in interface NElementBuilderaddLeadingComment in interface NPairElementBuilderaddLeadingComment in class AbstractNElementBuilderpublic NPairElementBuilder addLeadingComments(NElementComment... comments)
addLeadingComments in interface NElementBuilderaddLeadingComments in interface NPairElementBuilderaddLeadingComments in class AbstractNElementBuilderpublic NPairElementBuilder addTrailingComment(NElementComment comment)
addTrailingComment in interface NElementBuilderaddTrailingComment in interface NPairElementBuilderaddTrailingComment in class AbstractNElementBuilderpublic NPairElementBuilder addTrailingComments(NElementComment... comments)
addTrailingComments in interface NElementBuilderaddTrailingComments in interface NPairElementBuilderaddTrailingComments in class AbstractNElementBuilderpublic NPairElementBuilder removeTrailingCommentAt(int index)
removeTrailingCommentAt in interface NElementBuilderremoveTrailingCommentAt in interface NPairElementBuilderremoveTrailingCommentAt in class AbstractNElementBuilderpublic NPairElementBuilder removeLeadingCommentAt(int index)
removeLeadingCommentAt in interface NElementBuilderremoveLeadingCommentAt in interface NPairElementBuilderremoveLeadingCommentAt in class AbstractNElementBuilderpublic NPairElementBuilder removeTrailingComment(NElementComment comment)
removeTrailingComment in interface NElementBuilderremoveTrailingComment in interface NPairElementBuilderremoveTrailingComment in class AbstractNElementBuilderpublic NPairElementBuilder removeLeadingComment(NElementComment comment)
removeLeadingComment in interface NElementBuilderremoveLeadingComment in interface NPairElementBuilderremoveLeadingComment in class AbstractNElementBuilderpublic NPairElementBuilder addComments(NElementComments comments)
addComments in interface NElementBuilderaddComments in interface NPairElementBuilderaddComments in class AbstractNElementBuilderpublic NPairElementBuilder addAnnotations(List<NElementAnnotation> annotations)
addAnnotations in interface NElementBuilderaddAnnotations in interface NPairElementBuilderaddAnnotations in class AbstractNElementBuilderpublic NPairElementBuilder addAnnotation(String name, NElement... args)
addAnnotation in interface NElementBuilderaddAnnotation in interface NPairElementBuilderaddAnnotation in class AbstractNElementBuilderpublic NPairElementBuilder addAnnotation(NElementAnnotation annotation)
addAnnotation in interface NElementBuilderaddAnnotation in interface NPairElementBuilderaddAnnotation in class AbstractNElementBuilderpublic NPairElementBuilder addAnnotationAt(int index, NElementAnnotation annotation)
addAnnotationAt in interface NElementBuilderaddAnnotationAt in interface NPairElementBuilderaddAnnotationAt in class AbstractNElementBuilderpublic NPairElementBuilder removeAnnotationAt(int index)
removeAnnotationAt in interface NElementBuilderremoveAnnotationAt in interface NPairElementBuilderremoveAnnotationAt in class AbstractNElementBuilderpublic NPairElementBuilder clearAnnotations()
clearAnnotations in interface NElementBuilderclearAnnotations in interface NPairElementBuilderclearAnnotations in class AbstractNElementBuilderpublic NPairElementBuilder clearComments()
clearComments in interface NElementBuilderclearComments in class AbstractNElementBuilderCopyright © 2025 vpc open source initiative. All rights reserved.