Package de.monticore.javalight._ast
Class ASTElementValueArrayInitializerBuilder
- java.lang.Object
-
- de.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
- de.monticore.javalight._ast.ASTElementValueArrayInitializerBuilder
-
public class ASTElementValueArrayInitializerBuilder extends de.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<ASTElementValueOrExpr>
elementValueOrExprs
protected ASTElementValueArrayInitializerBuilder
realBuilder
-
Constructor Summary
Constructors Constructor Description ASTElementValueArrayInitializerBuilder()
-
Method Summary
-
Methods inherited from class de.monticore.ast.ASTNodeBuilder
contains_PostComment, contains_PreComment, containsAll_PostComments, containsAll_PreComments, equals_PostComments, equals_PreComments, get_PostComment, get_PostCommentList, get_PreComment, get_PreCommentList, get_SourcePositionEnd, get_SourcePositionStart, hashCode_PostComments, hashCode_PreComments, indexOf_PostComment, indexOf_PreComment, isEmpty_PostComments, isEmpty_PreComments, isPresent_SourcePositionEnd, isPresent_SourcePositionStart, iterator_PostComments, iterator_PreComments, lastIndexOf_PostComment, lastIndexOf_PreComment, listIterator_PostComments, listIterator_PostComments, listIterator_PreComments, listIterator_PreComments, parallelStream_PostComments, parallelStream_PreComments, size_PostComments, size_PreComments, spliterator_PostComments, spliterator_PreComments, stream_PostComments, stream_PreComments, subList_PostComments, subList_PreComments, toArray_PostComments, toArray_PostComments, toArray_PreComments, toArray_PreComments
-
-
-
-
Field Detail
-
realBuilder
protected ASTElementValueArrayInitializerBuilder realBuilder
-
elementValueOrExprs
protected java.util.List<ASTElementValueOrExpr> elementValueOrExprs
-
-
Method Detail
-
build
public ASTElementValueArrayInitializer build()
-
isValid
public boolean isValid()
-
containsElementValueOrExpr
public boolean containsElementValueOrExpr(java.lang.Object element)
-
containsAllElementValueOrExprs
public boolean containsAllElementValueOrExprs(java.util.Collection<?> collection)
-
isEmptyElementValueOrExprs
public boolean isEmptyElementValueOrExprs()
-
iteratorElementValueOrExprs
public java.util.Iterator<ASTElementValueOrExpr> iteratorElementValueOrExprs()
-
sizeElementValueOrExprs
public int sizeElementValueOrExprs()
-
toArrayElementValueOrExprs
public ASTElementValueOrExpr[] toArrayElementValueOrExprs(ASTElementValueOrExpr[] array)
-
toArrayElementValueOrExprs
public java.lang.Object[] toArrayElementValueOrExprs()
-
spliteratorElementValueOrExprs
public java.util.Spliterator<ASTElementValueOrExpr> spliteratorElementValueOrExprs()
-
streamElementValueOrExprs
public java.util.stream.Stream<ASTElementValueOrExpr> streamElementValueOrExprs()
-
parallelStreamElementValueOrExprs
public java.util.stream.Stream<ASTElementValueOrExpr> parallelStreamElementValueOrExprs()
-
getElementValueOrExpr
public ASTElementValueOrExpr getElementValueOrExpr(int index)
-
indexOfElementValueOrExpr
public int indexOfElementValueOrExpr(java.lang.Object element)
-
lastIndexOfElementValueOrExpr
public int lastIndexOfElementValueOrExpr(java.lang.Object element)
-
equalsElementValueOrExprs
public boolean equalsElementValueOrExprs(java.lang.Object o)
-
hashCodeElementValueOrExprs
public int hashCodeElementValueOrExprs()
-
listIteratorElementValueOrExprs
public java.util.ListIterator<ASTElementValueOrExpr> listIteratorElementValueOrExprs()
-
listIteratorElementValueOrExprs
public java.util.ListIterator<ASTElementValueOrExpr> listIteratorElementValueOrExprs(int index)
-
subListElementValueOrExprs
public java.util.List<ASTElementValueOrExpr> subListElementValueOrExprs(int start, int end)
-
getElementValueOrExprList
public java.util.List<ASTElementValueOrExpr> getElementValueOrExprList()
-
clearElementValueOrExprs
public ASTElementValueArrayInitializerBuilder clearElementValueOrExprs()
-
addElementValueOrExpr
public ASTElementValueArrayInitializerBuilder addElementValueOrExpr(ASTElementValueOrExpr element)
-
addAllElementValueOrExprs
public ASTElementValueArrayInitializerBuilder addAllElementValueOrExprs(java.util.Collection<? extends ASTElementValueOrExpr> collection)
-
removeElementValueOrExpr
public ASTElementValueArrayInitializerBuilder removeElementValueOrExpr(java.lang.Object element)
-
removeAllElementValueOrExprs
public ASTElementValueArrayInitializerBuilder removeAllElementValueOrExprs(java.util.Collection<?> collection)
-
retainAllElementValueOrExprs
public ASTElementValueArrayInitializerBuilder retainAllElementValueOrExprs(java.util.Collection<?> collection)
-
removeIfElementValueOrExpr
public ASTElementValueArrayInitializerBuilder removeIfElementValueOrExpr(java.util.function.Predicate<? super ASTElementValueOrExpr> filter)
-
forEachElementValueOrExprs
public ASTElementValueArrayInitializerBuilder forEachElementValueOrExprs(java.util.function.Consumer<? super ASTElementValueOrExpr> action)
-
addElementValueOrExpr
public ASTElementValueArrayInitializerBuilder addElementValueOrExpr(int index, ASTElementValueOrExpr element)
-
addAllElementValueOrExprs
public ASTElementValueArrayInitializerBuilder addAllElementValueOrExprs(int index, java.util.Collection<? extends ASTElementValueOrExpr> collection)
-
removeElementValueOrExpr
public ASTElementValueArrayInitializerBuilder removeElementValueOrExpr(int index)
-
setElementValueOrExpr
public ASTElementValueArrayInitializerBuilder setElementValueOrExpr(int index, ASTElementValueOrExpr element)
-
replaceAllElementValueOrExprs
public ASTElementValueArrayInitializerBuilder replaceAllElementValueOrExprs(java.util.function.UnaryOperator<ASTElementValueOrExpr> operator)
-
sortElementValueOrExprs
public ASTElementValueArrayInitializerBuilder sortElementValueOrExprs(java.util.Comparator<? super ASTElementValueOrExpr> comparator)
-
setElementValueOrExprsList
public ASTElementValueArrayInitializerBuilder setElementValueOrExprsList(java.util.List<ASTElementValueOrExpr> elementValueOrExprs)
-
set_SourcePositionEnd
public ASTElementValueArrayInitializerBuilder set_SourcePositionEnd(de.se_rwth.commons.SourcePosition end)
- Overrides:
set_SourcePositionEnd
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
set_SourcePositionEndAbsent
public ASTElementValueArrayInitializerBuilder set_SourcePositionEndAbsent()
- Overrides:
set_SourcePositionEndAbsent
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
set_SourcePositionStart
public ASTElementValueArrayInitializerBuilder set_SourcePositionStart(de.se_rwth.commons.SourcePosition start)
- Overrides:
set_SourcePositionStart
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
set_SourcePositionStartAbsent
public ASTElementValueArrayInitializerBuilder set_SourcePositionStartAbsent()
- Overrides:
set_SourcePositionStartAbsent
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
clear_PreComments
public ASTElementValueArrayInitializerBuilder clear_PreComments()
- Overrides:
clear_PreComments
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
add_PreComment
public ASTElementValueArrayInitializerBuilder add_PreComment(de.monticore.ast.Comment precomment)
- Overrides:
add_PreComment
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
add_PreComment
public ASTElementValueArrayInitializerBuilder add_PreComment(int index, de.monticore.ast.Comment precomment)
- Overrides:
add_PreComment
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
addAll_PreComments
public ASTElementValueArrayInitializerBuilder addAll_PreComments(java.util.Collection<de.monticore.ast.Comment> precomments)
- Overrides:
addAll_PreComments
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
addAll_PreComments
public ASTElementValueArrayInitializerBuilder addAll_PreComments(int index, java.util.Collection<de.monticore.ast.Comment> precomments)
- Overrides:
addAll_PreComments
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
remove_PreComment
public ASTElementValueArrayInitializerBuilder remove_PreComment(java.lang.Object element)
- Overrides:
remove_PreComment
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
remove_PreComment
public ASTElementValueArrayInitializerBuilder remove_PreComment(int index)
- Overrides:
remove_PreComment
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
removeAll_PreComments
public ASTElementValueArrayInitializerBuilder removeAll_PreComments(java.util.Collection<?> element)
- Overrides:
removeAll_PreComments
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
retainAll_PreComments
public ASTElementValueArrayInitializerBuilder retainAll_PreComments(java.util.Collection<?> element)
- Overrides:
retainAll_PreComments
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
removeIf_PreComment
public ASTElementValueArrayInitializerBuilder removeIf_PreComment(java.util.function.Predicate<? super de.monticore.ast.Comment> filter)
- Overrides:
removeIf_PreComment
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
forEach_PreComments
public ASTElementValueArrayInitializerBuilder forEach_PreComments(java.util.function.Consumer<? super de.monticore.ast.Comment> action)
- Overrides:
forEach_PreComments
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
replaceAll_PreComments
public ASTElementValueArrayInitializerBuilder replaceAll_PreComments(java.util.function.UnaryOperator<de.monticore.ast.Comment> operator)
- Overrides:
replaceAll_PreComments
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
sort_PreComments
public ASTElementValueArrayInitializerBuilder sort_PreComments(java.util.Comparator<? super de.monticore.ast.Comment> comparator)
- Overrides:
sort_PreComments
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
set_PreCommentList
public ASTElementValueArrayInitializerBuilder set_PreCommentList(java.util.List<de.monticore.ast.Comment> preComments)
- Overrides:
set_PreCommentList
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
set_PreComment
public ASTElementValueArrayInitializerBuilder set_PreComment(int index, de.monticore.ast.Comment precomment)
- Overrides:
set_PreComment
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
clear_PostComments
public ASTElementValueArrayInitializerBuilder clear_PostComments()
- Overrides:
clear_PostComments
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
add_PostComment
public ASTElementValueArrayInitializerBuilder add_PostComment(de.monticore.ast.Comment postcomment)
- Overrides:
add_PostComment
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
add_PostComment
public ASTElementValueArrayInitializerBuilder add_PostComment(int index, de.monticore.ast.Comment postcomment)
- Overrides:
add_PostComment
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
addAll_PostComments
public ASTElementValueArrayInitializerBuilder addAll_PostComments(java.util.Collection<de.monticore.ast.Comment> postcomments)
- Overrides:
addAll_PostComments
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
addAll_PostComments
public ASTElementValueArrayInitializerBuilder addAll_PostComments(int index, java.util.Collection<de.monticore.ast.Comment> postcomments)
- Overrides:
addAll_PostComments
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
remove_PostComment
public ASTElementValueArrayInitializerBuilder remove_PostComment(java.lang.Object element)
- Overrides:
remove_PostComment
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
remove_PostComment
public ASTElementValueArrayInitializerBuilder remove_PostComment(int index)
- Overrides:
remove_PostComment
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
removeAll_PostComments
public ASTElementValueArrayInitializerBuilder removeAll_PostComments(java.util.Collection<?> element)
- Overrides:
removeAll_PostComments
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
retainAll_PostComments
public ASTElementValueArrayInitializerBuilder retainAll_PostComments(java.util.Collection<?> element)
- Overrides:
retainAll_PostComments
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
removeIf_PostComment
public ASTElementValueArrayInitializerBuilder removeIf_PostComment(java.util.function.Predicate<? super de.monticore.ast.Comment> filter)
- Overrides:
removeIf_PostComment
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
forEach_PostComments
public ASTElementValueArrayInitializerBuilder forEach_PostComments(java.util.function.Consumer<? super de.monticore.ast.Comment> action)
- Overrides:
forEach_PostComments
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
replaceAll_PostComments
public ASTElementValueArrayInitializerBuilder replaceAll_PostComments(java.util.function.UnaryOperator<de.monticore.ast.Comment> operator)
- Overrides:
replaceAll_PostComments
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
sort_PostComments
public ASTElementValueArrayInitializerBuilder sort_PostComments(java.util.Comparator<? super de.monticore.ast.Comment> comparator)
- Overrides:
sort_PostComments
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
set_PostCommentList
public ASTElementValueArrayInitializerBuilder set_PostCommentList(java.util.List<de.monticore.ast.Comment> postComments)
- Overrides:
set_PostCommentList
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
set_PostComment
public ASTElementValueArrayInitializerBuilder set_PostComment(int index, de.monticore.ast.Comment postcomment)
- Overrides:
set_PostComment
in classde.monticore.ast.ASTNodeBuilder<ASTElementValueArrayInitializerBuilder>
-
uncheckedBuild
public ASTElementValueArrayInitializer uncheckedBuild()
-
-