public abstract class AbstractNElementBuilder extends Object implements NElementBuilder
| Constructor and Description |
|---|
AbstractNElementBuilder() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbuild, typepublic NElementMetadata metadata()
metadata in interface NElementBuilderpublic NElementBuilder metadata(NElementMetadata metadata)
metadata in interface NElementBuilderpublic List<NBoundAffix> affixes()
affixes in interface NElementBuilderpublic NElementBuilder addDiagnostic(NElementDiagnostic error)
addDiagnostic in interface NElementBuilderpublic NElementBuilder removeDiagnostic(NElementDiagnostic error)
removeDiagnostic in interface NElementBuilderpublic List<NElementDiagnostic> diagnostics()
diagnostics in interface NElementBuilderpublic boolean isCustomTree()
isCustomTree in interface NElementBuilderpublic List<NElementComment> comments()
comments in interface NElementBuilderpublic NElementBuilder clearComments()
clearComments in interface NElementBuilderpublic List<NElementComment> trailingComments()
trailingComments in interface NElementBuilderpublic List<NElementComment> leadingComments()
leadingComments in interface NElementBuilderpublic NElementBuilder addAnnotations(List<NElementAnnotation> annotations)
addAnnotations in interface NElementBuilderpublic NElementBuilder addAffixes(List<NBoundAffix> affixes)
addAffixes in interface NElementBuilderpublic NElementBuilder addAffixes(List<? extends NAffix> affixes, NAffixAnchor anchor)
public NElementBuilder addAffix(NAffix affix, NAffixAnchor anchor)
addAffix in interface NElementBuilderpublic NElementBuilder addAnnotation(String name, NElement... args)
addAnnotation in interface NElementBuilderpublic NElementBuilder addAnnotation(NElementAnnotation annotation)
addAnnotation in interface NElementBuilderpublic NElementBuilder addAffixAt(int index, NBoundAffix affix)
addAffixAt in interface NElementBuilderpublic NElementBuilder removeAnnotation(NElementAnnotation annotation)
removeAnnotation in interface NElementBuilderpublic NElementBuilder removeAffix(int affix)
removeAffix in interface NElementBuilderpublic NElementBuilder removeAffix(NAffix affix)
removeAffix in interface NElementBuilderpublic NElementBuilder removeAffix(NBoundAffix affix)
removeAffix in interface NElementBuilderpublic NElementBuilder clearAnnotations()
clearAnnotations in interface NElementBuilderpublic NElementBuilder clearAffixes()
clearAffixes in interface NElementBuilderpublic List<NElementAnnotation> annotations()
annotations in interface NElementBuilderpublic NElementBuilder copyFrom(NElementBuilder other)
copyFrom in interface NElementBuilderpublic NElementBuilder copyFrom(NElement other)
copyFrom in interface NElementBuilderpublic NElementBuilder copyFrom(NElementBuilder other, NAssignmentPolicy assignmentPolicy)
copyFrom in interface NElementBuilderpublic NElementBuilder copyFrom(NElement other, NAssignmentPolicy assignmentPolicy)
copyFrom in interface NElementBuilderpublic NElementBuilder setAffixAt(int index, NBoundAffix affix)
setAffixAt in interface NElementBuilderpublic NElementBuilder setAffixes(List<NBoundAffix> affixes)
setAffixes in interface NElementBuilderpublic NElementBuilder addAffixAt(int index, NAffix affix, NAffixAnchor anchor)
addAffixAt in interface NElementBuilderpublic NElementBuilder addAffix(NBoundAffix affix)
addAffix in interface NElementBuilderpublic NElementBuilder setAffixAt(int index, NAffix affix, NAffixAnchor anchor)
setAffixAt in interface NElementBuilderpublic NElementBuilder removeAffixes(NAffixType type, NAffixAnchor anchor)
removeAffixes in interface NElementBuilderpublic NElementBuilder addLeadingComment(NElementComment comment)
addLeadingComment in interface NElementBuilderpublic NElementBuilder addLeadingComments(NElementComment... comments)
addLeadingComments in interface NElementBuilderpublic NElementBuilder addTrailingComment(NElementComment comment)
addTrailingComment in interface NElementBuilderpublic NElementBuilder addTrailingComments(NElementComment... comments)
addTrailingComments in interface NElementBuilderpublic NElementBuilder addSpaceAffix(String space, NAffixAnchor anchor)
addSpaceAffix in interface NElementBuilderpublic NElementBuilder addNewLineAffix(NNewLineMode newLineMode, NAffixAnchor anchor)
addNewLineAffix in interface NElementBuilderpublic NElementBuilder addSeparatorAffix(String separator, NAffixAnchor anchor)
addSeparatorAffix in interface NElementBuilderpublic NElementBuilder addSpaceAffix(int index, String space, NAffixAnchor anchor)
addSpaceAffix in interface NElementBuilderpublic NElementBuilder addSeparatorAffix(int index, String separator, NAffixAnchor anchor)
addSeparatorAffix in interface NElementBuilderpublic NElementBuilder addNewLineAffix(int index, NNewLineMode newLineMode, NAffixAnchor anchor)
addNewLineAffix in interface NElementBuilderpublic NElementBuilder removeAffixIf(Predicate<NBoundAffix> affixPredicate)
removeAffixIf in interface NElementBuilderCopyright © 2026 vpc open source initiative. All rights reserved.