Class ASTStreamConstructorExpressionBuilder
java.lang.Object
de.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
de.monticore.expressions.streamexpressions._ast.ASTStreamConstructorExpressionBuilder
public class ASTStreamConstructorExpressionBuilder
extends de.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Optional<ASTMCTypeArgument> protected ASTStreamConstructorExpressionBuilderprotected List<ASTStreamConstructorElement> protected intFields inherited from class de.monticore.ast.ASTNodeBuilder
postcomments, precomments, sourcePositionEnd, sourcePositionStart -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd_PostComment(int index, de.monticore.ast.Comment postcomment) add_PostComment(de.monticore.ast.Comment postcomment) add_PreComment(int index, de.monticore.ast.Comment precomment) add_PreComment(de.monticore.ast.Comment precomment) addAll_PostComments(int index, Collection<de.monticore.ast.Comment> postcomments) addAll_PostComments(Collection<de.monticore.ast.Comment> postcomments) addAll_PreComments(int index, Collection<de.monticore.ast.Comment> precomments) addAll_PreComments(Collection<de.monticore.ast.Comment> precomments) addAllStreamConstructorElements(int index, Collection<? extends ASTStreamConstructorElement> collection) addAllStreamConstructorElements(Collection<? extends ASTStreamConstructorElement> collection) addStreamConstructorElement(int index, ASTStreamConstructorElement element) build()booleancontainsAllStreamConstructorElements(Collection<?> collection) booleancontainsStreamConstructorElement(Object element) booleanforEach_PostComments(Consumer<? super de.monticore.ast.Comment> action) forEach_PreComments(Consumer<? super de.monticore.ast.Comment> action) forEachStreamConstructorElements(Consumer<? super ASTStreamConstructorElement> action) getStreamConstructorElement(int index) intintintindexOfStreamConstructorElement(Object element) booleanbooleanbooleanisValid()intlistIteratorStreamConstructorElements(int index) remove_PostComment(int index) remove_PostComment(Object element) remove_PreComment(int index) remove_PreComment(Object element) removeAll_PostComments(Collection<?> element) removeAll_PreComments(Collection<?> element) removeAllStreamConstructorElements(Collection<?> collection) removeIf_PostComment(Predicate<? super de.monticore.ast.Comment> filter) removeIf_PreComment(Predicate<? super de.monticore.ast.Comment> filter) removeIfStreamConstructorElement(Predicate<? super ASTStreamConstructorElement> filter) removeStreamConstructorElement(int index) removeStreamConstructorElement(Object element) replaceAll_PostComments(UnaryOperator<de.monticore.ast.Comment> operator) replaceAll_PreComments(UnaryOperator<de.monticore.ast.Comment> operator) retainAll_PostComments(Collection<?> element) retainAll_PreComments(Collection<?> element) retainAllStreamConstructorElements(Collection<?> collection) set_PostComment(int index, de.monticore.ast.Comment postcomment) set_PostCommentList(List<de.monticore.ast.Comment> postComments) set_PreComment(int index, de.monticore.ast.Comment precomment) set_PreCommentList(List<de.monticore.ast.Comment> preComments) set_SourcePositionEnd(de.se_rwth.commons.SourcePosition end) set_SourcePositionStart(de.se_rwth.commons.SourcePosition start) setMCTypeArgument(ASTMCTypeArgument mCTypeArgument) setStreamConstructorElement(int index, ASTStreamConstructorElement element) setStreamConstructorElementsList(List<ASTStreamConstructorElement> streamConstructorElements) setTiming(int timing) intsort_PostComments(Comparator<? super de.monticore.ast.Comment> comparator) sort_PreComments(Comparator<? super de.monticore.ast.Comment> comparator) sortStreamConstructorElements(Comparator<? super ASTStreamConstructorElement> comparator) subListStreamConstructorElements(int start, int end) Object[]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 Details
-
realBuilder
-
mCTypeArgument
-
streamConstructorElements
-
timing
protected int timing
-
-
Constructor Details
-
ASTStreamConstructorExpressionBuilder
public ASTStreamConstructorExpressionBuilder()
-
-
Method Details
-
build
-
isValid
public boolean isValid() -
getMCTypeArgument
-
isPresentMCTypeArgument
public boolean isPresentMCTypeArgument() -
containsStreamConstructorElement
-
containsAllStreamConstructorElements
-
isEmptyStreamConstructorElements
public boolean isEmptyStreamConstructorElements() -
iteratorStreamConstructorElements
-
sizeStreamConstructorElements
public int sizeStreamConstructorElements() -
toArrayStreamConstructorElements
public ASTStreamConstructorElement[] toArrayStreamConstructorElements(ASTStreamConstructorElement[] array) -
toArrayStreamConstructorElements
-
spliteratorStreamConstructorElements
-
streamStreamConstructorElements
-
parallelStreamStreamConstructorElements
-
getStreamConstructorElement
-
indexOfStreamConstructorElement
-
lastIndexOfStreamConstructorElement
-
equalsStreamConstructorElements
-
hashCodeStreamConstructorElements
public int hashCodeStreamConstructorElements() -
listIteratorStreamConstructorElements
-
listIteratorStreamConstructorElements
-
subListStreamConstructorElements
-
getStreamConstructorElementList
-
getTiming
public int getTiming() -
setMCTypeArgument
-
setMCTypeArgumentAbsent
-
clearStreamConstructorElements
-
addStreamConstructorElement
public ASTStreamConstructorExpressionBuilder addStreamConstructorElement(ASTStreamConstructorElement element) -
addAllStreamConstructorElements
public ASTStreamConstructorExpressionBuilder addAllStreamConstructorElements(Collection<? extends ASTStreamConstructorElement> collection) -
removeStreamConstructorElement
-
removeAllStreamConstructorElements
public ASTStreamConstructorExpressionBuilder removeAllStreamConstructorElements(Collection<?> collection) -
retainAllStreamConstructorElements
public ASTStreamConstructorExpressionBuilder retainAllStreamConstructorElements(Collection<?> collection) -
removeIfStreamConstructorElement
public ASTStreamConstructorExpressionBuilder removeIfStreamConstructorElement(Predicate<? super ASTStreamConstructorElement> filter) -
forEachStreamConstructorElements
public ASTStreamConstructorExpressionBuilder forEachStreamConstructorElements(Consumer<? super ASTStreamConstructorElement> action) -
addStreamConstructorElement
public ASTStreamConstructorExpressionBuilder addStreamConstructorElement(int index, ASTStreamConstructorElement element) -
addAllStreamConstructorElements
public ASTStreamConstructorExpressionBuilder addAllStreamConstructorElements(int index, Collection<? extends ASTStreamConstructorElement> collection) -
removeStreamConstructorElement
-
setStreamConstructorElement
public ASTStreamConstructorExpressionBuilder setStreamConstructorElement(int index, ASTStreamConstructorElement element) -
replaceAllStreamConstructorElements
public ASTStreamConstructorExpressionBuilder replaceAllStreamConstructorElements(UnaryOperator<ASTStreamConstructorElement> operator) -
sortStreamConstructorElements
public ASTStreamConstructorExpressionBuilder sortStreamConstructorElements(Comparator<? super ASTStreamConstructorElement> comparator) -
setStreamConstructorElementsList
public ASTStreamConstructorExpressionBuilder setStreamConstructorElementsList(List<ASTStreamConstructorElement> streamConstructorElements) -
setTiming
-
set_SourcePositionEnd
public ASTStreamConstructorExpressionBuilder set_SourcePositionEnd(de.se_rwth.commons.SourcePosition end) - Overrides:
set_SourcePositionEndin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
set_SourcePositionEndAbsent
- Overrides:
set_SourcePositionEndAbsentin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
set_SourcePositionStart
public ASTStreamConstructorExpressionBuilder set_SourcePositionStart(de.se_rwth.commons.SourcePosition start) - Overrides:
set_SourcePositionStartin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
set_SourcePositionStartAbsent
- Overrides:
set_SourcePositionStartAbsentin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
clear_PreComments
- Overrides:
clear_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
add_PreComment
- Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
add_PreComment
public ASTStreamConstructorExpressionBuilder add_PreComment(int index, de.monticore.ast.Comment precomment) - Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
addAll_PreComments
public ASTStreamConstructorExpressionBuilder addAll_PreComments(Collection<de.monticore.ast.Comment> precomments) - Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
addAll_PreComments
public ASTStreamConstructorExpressionBuilder addAll_PreComments(int index, Collection<de.monticore.ast.Comment> precomments) - Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
remove_PreComment
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
remove_PreComment
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
removeAll_PreComments
- Overrides:
removeAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
retainAll_PreComments
- Overrides:
retainAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
removeIf_PreComment
public ASTStreamConstructorExpressionBuilder removeIf_PreComment(Predicate<? super de.monticore.ast.Comment> filter) - Overrides:
removeIf_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
forEach_PreComments
public ASTStreamConstructorExpressionBuilder forEach_PreComments(Consumer<? super de.monticore.ast.Comment> action) - Overrides:
forEach_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
replaceAll_PreComments
public ASTStreamConstructorExpressionBuilder replaceAll_PreComments(UnaryOperator<de.monticore.ast.Comment> operator) - Overrides:
replaceAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
sort_PreComments
public ASTStreamConstructorExpressionBuilder sort_PreComments(Comparator<? super de.monticore.ast.Comment> comparator) - Overrides:
sort_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
set_PreCommentList
public ASTStreamConstructorExpressionBuilder set_PreCommentList(List<de.monticore.ast.Comment> preComments) - Overrides:
set_PreCommentListin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
set_PreComment
public ASTStreamConstructorExpressionBuilder set_PreComment(int index, de.monticore.ast.Comment precomment) - Overrides:
set_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
clear_PostComments
- Overrides:
clear_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
add_PostComment
- Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
add_PostComment
public ASTStreamConstructorExpressionBuilder add_PostComment(int index, de.monticore.ast.Comment postcomment) - Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
addAll_PostComments
public ASTStreamConstructorExpressionBuilder addAll_PostComments(Collection<de.monticore.ast.Comment> postcomments) - Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
addAll_PostComments
public ASTStreamConstructorExpressionBuilder addAll_PostComments(int index, Collection<de.monticore.ast.Comment> postcomments) - Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
remove_PostComment
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
remove_PostComment
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
removeAll_PostComments
- Overrides:
removeAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
retainAll_PostComments
- Overrides:
retainAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
removeIf_PostComment
public ASTStreamConstructorExpressionBuilder removeIf_PostComment(Predicate<? super de.monticore.ast.Comment> filter) - Overrides:
removeIf_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
forEach_PostComments
public ASTStreamConstructorExpressionBuilder forEach_PostComments(Consumer<? super de.monticore.ast.Comment> action) - Overrides:
forEach_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
replaceAll_PostComments
public ASTStreamConstructorExpressionBuilder replaceAll_PostComments(UnaryOperator<de.monticore.ast.Comment> operator) - Overrides:
replaceAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
sort_PostComments
public ASTStreamConstructorExpressionBuilder sort_PostComments(Comparator<? super de.monticore.ast.Comment> comparator) - Overrides:
sort_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
set_PostCommentList
public ASTStreamConstructorExpressionBuilder set_PostCommentList(List<de.monticore.ast.Comment> postComments) - Overrides:
set_PostCommentListin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
set_PostComment
public ASTStreamConstructorExpressionBuilder set_PostComment(int index, de.monticore.ast.Comment postcomment) - Overrides:
set_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorExpressionBuilder>
-
uncheckedBuild
-