public class DefaultNArrayElementBuilder extends AbstractNElementBuilder implements NArrayElementBuilder
| Constructor and Description |
|---|
DefaultNArrayElementBuilder() |
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, waitofaddNewLineAffix, addNewLineAffix, addSeparatorAffix, addSeparatorAffix, addSpaceAffix, addSpaceAffix, affixes, annotations, comments, diagnostics, isCustomTree, leadingComments, metadata, removeAffix, removeAffix, removeAffixIf, trailingCommentspublic NArrayElementBuilder doWith(Consumer<NArrayElementBuilder> con)
doWith in interface NArrayElementBuilderpublic NOptional<String> name()
name in interface NArrayElementBuilderpublic NArrayElementBuilder name(String name)
name in interface NArrayElementBuilderpublic boolean isParametrized()
isParametrized in interface NArrayElementBuilderpublic NArrayElementBuilder setParametrized(boolean parametrized)
setParametrized in interface NArrayElementBuilderpublic NArrayElementBuilder addParams(List<NElement> params)
addParams in interface NArrayElementBuilderpublic NArrayElementBuilder addParam(NElement param)
addParam in interface NArrayElementBuilderpublic NArrayElementBuilder setParamAt(int index, NElement param)
setParamAt in interface NArrayElementBuilderpublic NArrayElementBuilder setParamAt(int index, boolean value)
setParamAt in interface NArrayElementBuilderpublic NArrayElementBuilder setParamAt(int index, int value)
setParamAt in interface NArrayElementBuilderpublic NArrayElementBuilder setParamAt(int index, double value)
setParamAt in interface NArrayElementBuilderpublic NArrayElementBuilder setParamAt(int index, String value)
setParamAt in interface NArrayElementBuilderpublic NArrayElementBuilder setParams(List<NElement> params)
setParams in interface NArrayElementBuilderpublic NArrayElementBuilder setChildren(List<NElement> values)
setChildren in interface NArrayElementBuilderpublic NArrayElementBuilder addParamAt(int index, NElement param)
addParamAt in interface NArrayElementBuilderpublic NArrayElementBuilder removeParamAt(int index)
removeParamAt in interface NArrayElementBuilderpublic NArrayElementBuilder clearParams()
clearParams in interface NArrayElementBuilderpublic NOptional<List<NElement>> params()
params in interface NArrayElementBuilderpublic List<NElement> children()
children in interface NArrayElementBuilderpublic int size()
size in interface NArrayElementBuilderpublic List<NElement> getAll(NElement s)
getAll in interface NArrayElementBuilderpublic NOptional<NElement> get(NElement s)
get in interface NArrayElementBuilderpublic NOptional<NElement> get(String s)
get in interface NArrayElementBuilderpublic NOptional<NElement> getAt(int index)
getAt in interface NArrayElementBuilderpublic NArrayElementBuilder add(String name, NElement value)
add in interface NArrayElementBuilderpublic NArrayElementBuilder add(String name, Number value)
add in interface NArrayElementBuilderpublic NArrayElementBuilder add(NElement name, NElement value)
add in interface NArrayElementBuilderpublic NArrayElementBuilder set(NElement name, NElement value)
set in interface NArrayElementBuilderpublic NArrayElementBuilder setAt(int index, NElement e)
setAt in interface NArrayElementBuilderpublic NArrayElementBuilder set(String name, NElement value)
set in interface NArrayElementBuilderpublic NArrayElementBuilder set(String name, boolean value)
set in interface NArrayElementBuilderpublic NArrayElementBuilder set(String name, int value)
set in interface NArrayElementBuilderpublic NArrayElementBuilder set(String name, double value)
set in interface NArrayElementBuilderpublic NArrayElementBuilder set(String name, String value)
set in interface NArrayElementBuilderpublic NArrayElementBuilder removeAt(int index)
removeAt in interface NArrayElementBuilderpublic NArrayElementBuilder remove(NElement child)
remove in interface NArrayElementBuilderpublic NArrayElementBuilder removePair(NElement entryKey)
removePair in interface NArrayElementBuilderpublic NArrayElementBuilder removeAll(NElement child)
removeAll in interface NArrayElementBuilderpublic NArrayElementBuilder removeAllPairs(NElement name)
removeAllPairs in interface NArrayElementBuilderpublic NArrayElementBuilder removePair(String name)
removePair in interface NArrayElementBuilderpublic NArrayElementBuilder removeAllPairs(String name)
removeAllPairs in interface NArrayElementBuilderpublic NArrayElementBuilder addAll(Map<NElement,NElement> other)
addAll in interface NArrayElementBuilderpublic NArrayElementBuilder addAll(List<NElement> other)
addAll in interface NArrayElementBuilderpublic NArrayElementBuilder setAll(Map<NElement,NElement> other)
setAll in interface NArrayElementBuilderpublic NArrayElementBuilder set(NElement name, boolean value)
set in interface NArrayElementBuilderpublic NArrayElementBuilder set(NElement name, int value)
set in interface NArrayElementBuilderpublic NArrayElementBuilder set(NElement name, double value)
set in interface NArrayElementBuilderpublic NArrayElementBuilder set(NElement name, String value)
set in interface NArrayElementBuilderpublic NArrayElementBuilder clear()
clear in interface NArrayElementBuilderpublic NArrayElementBuilder clearChildren()
clearChildren in interface NArrayElementBuilderpublic NArrayElementBuilder add(NElement e)
add in interface NArrayElementBuilderpublic NArrayElementBuilder addAt(int index, NElement item)
addAt in interface NArrayElementBuilderpublic NArrayElementBuilder set(NPairElement entry)
set in interface NArrayElementBuilderpublic NArrayElementBuilder addAll(NElement... values)
addAll in interface NArrayElementBuilderpublic NArrayElementBuilder add(String name, boolean value)
add in interface NArrayElementBuilderpublic NArrayElementBuilder add(String name, int value)
add in interface NArrayElementBuilderpublic NArrayElementBuilder add(String name, double value)
add in interface NArrayElementBuilderpublic NArrayElementBuilder add(String name, String value)
add in interface NArrayElementBuilderpublic NArrayElementBuilder addAll(Collection<NElement> value)
addAll in interface NArrayElementBuilderpublic NArrayElementBuilder addAll(NArrayElementBuilder value)
addAll in interface NArrayElementBuilderpublic NArrayElementBuilder addAll(String[] value)
addAll in interface NArrayElementBuilderpublic NArrayElementBuilder addAll(int[] value)
addAll in interface NArrayElementBuilderpublic NArrayElementBuilder addAll(double[] value)
addAll in interface NArrayElementBuilderpublic NArrayElementBuilder addAll(long[] value)
addAll in interface NArrayElementBuilderpublic NArrayElementBuilder addAll(float[] value)
addAll in interface NArrayElementBuilderpublic NArrayElementBuilder addAll(boolean[] value)
addAll in interface NArrayElementBuilderpublic NArrayElementBuilder addAll(char[] value)
addAll in interface NArrayElementBuilderpublic NArrayElementBuilder addAll(byte[] value)
addAll in interface NArrayElementBuilderpublic NArrayElementBuilder add(int value)
add in interface NArrayElementBuilderpublic NArrayElementBuilder add(long value)
add in interface NArrayElementBuilderpublic NArrayElementBuilder add(double value)
add in interface NArrayElementBuilderpublic NArrayElementBuilder add(float value)
add in interface NArrayElementBuilderpublic NArrayElementBuilder add(byte value)
add in interface NArrayElementBuilderpublic NArrayElementBuilder add(boolean value)
add in interface NArrayElementBuilderpublic NArrayElementBuilder add(char value)
add in interface NArrayElementBuilderpublic NArrayElementBuilder add(Number value)
add in interface NArrayElementBuilderpublic NArrayElementBuilder add(String value)
add in interface NArrayElementBuilderpublic NArrayElement build()
build in interface NArrayElementBuilderbuild in interface NElementBuilderpublic NElementType type()
type in interface NElementBuilderpublic NArrayElementBuilder addParam(String name, NElement value)
addParam in interface NArrayElementBuilderpublic NArrayElementBuilder addParam(String name, String value)
addParam in interface NArrayElementBuilderpublic NArrayElementBuilder addParam(String name, Integer value)
addParam in interface NArrayElementBuilderpublic NArrayElementBuilder addParam(String name, Long value)
addParam in interface NArrayElementBuilderpublic NArrayElementBuilder addParam(String name, Double value)
addParam in interface NArrayElementBuilderpublic NArrayElementBuilder addParam(String name, Boolean value)
addParam in interface NArrayElementBuilderpublic NArrayElementBuilder copyFrom(NElementBuilder other, NAssignmentPolicy assignmentPolicy)
copyFrom in interface NArrayElementBuildercopyFrom in interface NElementBuildercopyFrom in class AbstractNElementBuilderpublic NArrayElementBuilder copyFrom(NElement other, NAssignmentPolicy assignmentPolicy)
copyFrom in interface NArrayElementBuildercopyFrom in interface NElementBuildercopyFrom in class AbstractNElementBuilderpublic NArrayElementBuilder addAnnotations(List<NElementAnnotation> annotations)
addAnnotations in interface NArrayElementBuilderaddAnnotations in interface NElementBuilderaddAnnotations in class AbstractNElementBuilderpublic NArrayElementBuilder addAnnotation(String name, NElement... args)
addAnnotation in interface NArrayElementBuilderaddAnnotation in interface NElementBuilderaddAnnotation in class AbstractNElementBuilderpublic NArrayElementBuilder addAnnotation(NElementAnnotation annotation)
addAnnotation in interface NArrayElementBuilderaddAnnotation in interface NElementBuilderaddAnnotation in class AbstractNElementBuilderpublic NArrayElementBuilder addAffixAt(int index, NBoundAffix affix)
addAffixAt in interface NArrayElementBuilderaddAffixAt in interface NElementBuilderaddAffixAt in class AbstractNElementBuilderpublic NArrayElementBuilder removeAffix(int affix)
removeAffix in interface NArrayElementBuilderremoveAffix in interface NElementBuilderremoveAffix in class AbstractNElementBuilderpublic NArrayElementBuilder clearAnnotations()
clearAnnotations in interface NArrayElementBuilderclearAnnotations in interface NElementBuilderclearAnnotations in class AbstractNElementBuilderpublic NArrayElementBuilder clearAffixes()
clearAffixes in interface NArrayElementBuilderclearAffixes in interface NElementBuilderclearAffixes in class AbstractNElementBuilderpublic NArrayElementBuilder clearComments()
clearComments in interface NArrayElementBuilderclearComments in interface NElementBuilderclearComments in class AbstractNElementBuilderpublic NArrayElementBuilder setAffixAt(int index, NBoundAffix affix)
setAffixAt in interface NArrayElementBuildersetAffixAt in interface NElementBuildersetAffixAt in class AbstractNElementBuilderpublic NArrayElementBuilder setAffixes(List<NBoundAffix> affixes)
setAffixes in interface NArrayElementBuildersetAffixes in interface NElementBuildersetAffixes in class AbstractNElementBuilderpublic NArrayElementBuilder addAffix(NBoundAffix affix)
addAffix in interface NArrayElementBuilderaddAffix in interface NElementBuilderaddAffix in class AbstractNElementBuilderpublic NArrayElementBuilder addAffixAt(int index, NAffix affix, NAffixAnchor anchor)
addAffixAt in interface NArrayElementBuilderaddAffixAt in interface NElementBuilderaddAffixAt in class AbstractNElementBuilderpublic NArrayElementBuilder setAffixAt(int index, NAffix affix, NAffixAnchor anchor)
setAffixAt in interface NArrayElementBuildersetAffixAt in interface NElementBuildersetAffixAt in class AbstractNElementBuilderpublic NArrayElementBuilder removeDiagnostic(NElementDiagnostic error)
removeDiagnostic in interface NArrayElementBuilderremoveDiagnostic in interface NElementBuilderremoveDiagnostic in class AbstractNElementBuilderpublic NArrayElementBuilder addAffixes(List<NBoundAffix> affixes)
addAffixes in interface NArrayElementBuilderaddAffixes in interface NElementBuilderaddAffixes in class AbstractNElementBuilderpublic NArrayElementBuilder addDiagnostic(NElementDiagnostic error)
addDiagnostic in interface NArrayElementBuilderaddDiagnostic in interface NElementBuilderaddDiagnostic in class AbstractNElementBuilderpublic NArrayElementBuilder addAffixes(List<? extends NAffix> affixes, NAffixAnchor anchor)
addAffixes in class AbstractNElementBuilderpublic NArrayElementBuilder addAffix(NAffix affix, NAffixAnchor anchor)
addAffix in interface NElementBuilderaddAffix in class AbstractNElementBuilderpublic NArrayElementBuilder removeAffixes(NAffixType type, NAffixAnchor anchor)
removeAffixes in interface NArrayElementBuilderremoveAffixes in interface NElementBuilderremoveAffixes in class AbstractNElementBuilderpublic NArrayElementBuilder addLeadingComment(NElementComment comment)
addLeadingComment in interface NArrayElementBuilderaddLeadingComment in interface NElementBuilderaddLeadingComment in class AbstractNElementBuilderpublic NArrayElementBuilder addLeadingComments(NElementComment... comments)
addLeadingComments in interface NArrayElementBuilderaddLeadingComments in interface NElementBuilderaddLeadingComments in class AbstractNElementBuilderpublic NArrayElementBuilder addTrailingComment(NElementComment comment)
addTrailingComment in interface NArrayElementBuilderaddTrailingComment in interface NElementBuilderaddTrailingComment in class AbstractNElementBuilderpublic NArrayElementBuilder addTrailingComments(NElementComment... comments)
addTrailingComments in interface NArrayElementBuilderaddTrailingComments in interface NElementBuilderaddTrailingComments in class AbstractNElementBuilderpublic NArrayElementBuilder removeAnnotation(NElementAnnotation annotation)
removeAnnotation in interface NArrayElementBuilderremoveAnnotation in interface NElementBuilderremoveAnnotation in class AbstractNElementBuilderpublic NArrayElementBuilder copyFrom(NElementBuilder other)
copyFrom in interface NArrayElementBuildercopyFrom in interface NElementBuildercopyFrom in class AbstractNElementBuilderpublic NArrayElementBuilder copyFrom(NElement other)
copyFrom in interface NArrayElementBuildercopyFrom in interface NElementBuildercopyFrom in class AbstractNElementBuilderpublic NArrayElementBuilder metadata(NElementMetadata metadata)
metadata in interface NArrayElementBuildermetadata in interface NElementBuildermetadata in class AbstractNElementBuilderCopyright © 2026 vpc open source initiative. All rights reserved.