public class DefaultNEmptyElementBuilder extends AbstractNElementBuilder implements NEmptyElementBuilder
| Constructor and Description |
|---|
DefaultNEmptyElementBuilder() |
addNewLineAffix, addNewLineAffix, addSeparatorAffix, addSeparatorAffix, addSpaceAffix, addSpaceAffix, affixes, annotations, comments, diagnostics, isCustomTree, leadingComments, metadata, removeAffix, removeAffix, removeAffixIf, toString, trailingCommentsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddNewLineAffix, addNewLineAffix, addSeparatorAffix, addSeparatorAffix, addSpaceAffix, addSpaceAffix, affixes, annotations, comments, diagnostics, isCustomTree, leadingComments, metadata, removeAffix, removeAffix, removeAffixIf, trailingCommentspublic NEmptyElementBuilder doWith(Consumer<NEmptyElementBuilder> con)
doWith in interface NEmptyElementBuilderpublic NEmptyElement build()
build in interface NElementBuilderbuild in interface NEmptyElementBuilderpublic NElementType type()
type in interface NElementBuilderpublic NEmptyElementBuilder copyFrom(NElementBuilder other, NAssignmentPolicy assignmentPolicy)
copyFrom in interface NElementBuildercopyFrom in interface NEmptyElementBuildercopyFrom in class AbstractNElementBuilderpublic NEmptyElementBuilder copyFrom(NElement other, NAssignmentPolicy assignmentPolicy)
copyFrom in interface NElementBuildercopyFrom in interface NEmptyElementBuildercopyFrom in class AbstractNElementBuilderpublic NEmptyElementBuilder addAnnotations(List<NElementAnnotation> annotations)
addAnnotations in interface NElementBuilderaddAnnotations in interface NEmptyElementBuilderaddAnnotations in class AbstractNElementBuilderpublic NEmptyElementBuilder addAnnotation(String name, NElement... args)
addAnnotation in interface NElementBuilderaddAnnotation in interface NEmptyElementBuilderaddAnnotation in class AbstractNElementBuilderpublic NEmptyElementBuilder addAnnotation(NElementAnnotation annotation)
addAnnotation in interface NElementBuilderaddAnnotation in interface NEmptyElementBuilderaddAnnotation in class AbstractNElementBuilderpublic NEmptyElementBuilder addAffixAt(int index, NBoundAffix affix)
addAffixAt in interface NElementBuilderaddAffixAt in interface NEmptyElementBuilderaddAffixAt in class AbstractNElementBuilderpublic NEmptyElementBuilder removeAffix(int affix)
removeAffix in interface NElementBuilderremoveAffix in interface NEmptyElementBuilderremoveAffix in class AbstractNElementBuilderpublic NEmptyElementBuilder clearAnnotations()
clearAnnotations in interface NElementBuilderclearAnnotations in interface NEmptyElementBuilderclearAnnotations in class AbstractNElementBuilderpublic NEmptyElementBuilder clearAffixes()
clearAffixes in interface NElementBuilderclearAffixes in interface NEmptyElementBuilderclearAffixes in class AbstractNElementBuilderpublic NEmptyElementBuilder clearComments()
clearComments in interface NElementBuilderclearComments in interface NEmptyElementBuilderclearComments in class AbstractNElementBuilderpublic NEmptyElementBuilder setAffixAt(int index, NBoundAffix affix)
setAffixAt in interface NElementBuildersetAffixAt in interface NEmptyElementBuildersetAffixAt in class AbstractNElementBuilderpublic NEmptyElementBuilder setAffixes(List<NBoundAffix> affixes)
setAffixes in interface NElementBuildersetAffixes in interface NEmptyElementBuildersetAffixes in class AbstractNElementBuilderpublic NEmptyElementBuilder addAffix(NBoundAffix affix)
addAffix in interface NElementBuilderaddAffix in interface NEmptyElementBuilderaddAffix in class AbstractNElementBuilderpublic NEmptyElementBuilder addAffixAt(int index, NAffix affix, NAffixAnchor anchor)
addAffixAt in interface NElementBuilderaddAffixAt in interface NEmptyElementBuilderaddAffixAt in class AbstractNElementBuilderpublic NEmptyElementBuilder setAffixAt(int index, NAffix affix, NAffixAnchor anchor)
setAffixAt in interface NElementBuildersetAffixAt in interface NEmptyElementBuildersetAffixAt in class AbstractNElementBuilderpublic NEmptyElementBuilder removeDiagnostic(NElementDiagnostic error)
removeDiagnostic in interface NElementBuilderremoveDiagnostic in interface NEmptyElementBuilderremoveDiagnostic in class AbstractNElementBuilderpublic NEmptyElementBuilder addAffixes(List<NBoundAffix> affixes)
addAffixes in interface NElementBuilderaddAffixes in interface NEmptyElementBuilderaddAffixes in class AbstractNElementBuilderpublic NEmptyElementBuilder addDiagnostic(NElementDiagnostic error)
addDiagnostic in interface NElementBuilderaddDiagnostic in interface NEmptyElementBuilderaddDiagnostic in class AbstractNElementBuilderpublic NEmptyElementBuilder addAffixes(List<? extends NAffix> affixes, NAffixAnchor anchor)
addAffixes in class AbstractNElementBuilderpublic NEmptyElementBuilder addAffix(NAffix affix, NAffixAnchor anchor)
addAffix in interface NElementBuilderaddAffix in class AbstractNElementBuilderpublic NEmptyElementBuilder removeAffixes(NAffixType type, NAffixAnchor anchor)
removeAffixes in interface NElementBuilderremoveAffixes in interface NEmptyElementBuilderremoveAffixes in class AbstractNElementBuilderpublic NEmptyElementBuilder addLeadingComment(NElementComment comment)
addLeadingComment in interface NElementBuilderaddLeadingComment in interface NEmptyElementBuilderaddLeadingComment in class AbstractNElementBuilderpublic NEmptyElementBuilder addLeadingComments(NElementComment... comments)
addLeadingComments in interface NElementBuilderaddLeadingComments in interface NEmptyElementBuilderaddLeadingComments in class AbstractNElementBuilderpublic NEmptyElementBuilder addTrailingComment(NElementComment comment)
addTrailingComment in interface NElementBuilderaddTrailingComment in interface NEmptyElementBuilderaddTrailingComment in class AbstractNElementBuilderpublic NEmptyElementBuilder addTrailingComments(NElementComment... comments)
addTrailingComments in interface NElementBuilderaddTrailingComments in interface NEmptyElementBuilderaddTrailingComments in class AbstractNElementBuilderpublic NEmptyElementBuilder removeAnnotation(NElementAnnotation annotation)
removeAnnotation in interface NElementBuilderremoveAnnotation in interface NEmptyElementBuilderremoveAnnotation in class AbstractNElementBuilderpublic NEmptyElementBuilder copyFrom(NElementBuilder other)
copyFrom in interface NElementBuildercopyFrom in interface NEmptyElementBuildercopyFrom in class AbstractNElementBuilderpublic NEmptyElementBuilder copyFrom(NElement other)
copyFrom in interface NElementBuildercopyFrom in interface NEmptyElementBuildercopyFrom in class AbstractNElementBuilderpublic NEmptyElementBuilder metadata(NElementMetadata metadata)
metadata in interface NElementBuildermetadata in interface NEmptyElementBuildermetadata in class AbstractNElementBuilderCopyright © 2026 vpc open source initiative. All rights reserved.