Class ASTSuperSuffixBuilder
java.lang.Object
de.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
de.monticore.expressions.javaclassexpressions._ast.ASTSuperSuffixBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Optional<ASTArguments> protected List<ASTMCTypeArgument> protected ASTSuperSuffixBuilderFields 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) addAllMCTypeArguments(int index, Collection<? extends ASTMCTypeArgument> collection) addAllMCTypeArguments(Collection<? extends ASTMCTypeArgument> collection) addMCTypeArgument(int index, ASTMCTypeArgument element) addMCTypeArgument(ASTMCTypeArgument element) build()booleancontainsAllMCTypeArguments(Collection<?> collection) booleancontainsMCTypeArgument(Object element) booleanforEach_PostComments(Consumer<? super de.monticore.ast.Comment> action) forEach_PreComments(Consumer<? super de.monticore.ast.Comment> action) forEachMCTypeArguments(Consumer<? super ASTMCTypeArgument> action) getMCTypeArgument(int index) getName()intintindexOfMCTypeArgument(Object element) booleanbooleanbooleanbooleanisValid()intlastIndexOfMCTypeArgument(Object element) listIteratorMCTypeArguments(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) removeAllMCTypeArguments(Collection<?> collection) removeIf_PostComment(Predicate<? super de.monticore.ast.Comment> filter) removeIf_PreComment(Predicate<? super de.monticore.ast.Comment> filter) removeIfMCTypeArgument(Predicate<? super ASTMCTypeArgument> filter) removeMCTypeArgument(int index) removeMCTypeArgument(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) retainAllMCTypeArguments(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) setArguments(ASTArguments arguments) setMCTypeArgument(int index, ASTMCTypeArgument element) setMCTypeArgumentsList(List<ASTMCTypeArgument> mCTypeArguments) intsort_PostComments(Comparator<? super de.monticore.ast.Comment> comparator) sort_PreComments(Comparator<? super de.monticore.ast.Comment> comparator) sortMCTypeArguments(Comparator<? super ASTMCTypeArgument> comparator) subListMCTypeArguments(int start, int end) Object[]toArrayMCTypeArguments(ASTMCTypeArgument[] array) 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
-
arguments
-
mCTypeArguments
-
name
-
-
Constructor Details
-
ASTSuperSuffixBuilder
public ASTSuperSuffixBuilder()
-
-
Method Details
-
build
-
isValid
public boolean isValid() -
getArguments
-
isPresentArguments
public boolean isPresentArguments() -
containsMCTypeArgument
-
containsAllMCTypeArguments
-
isEmptyMCTypeArguments
public boolean isEmptyMCTypeArguments() -
iteratorMCTypeArguments
-
sizeMCTypeArguments
public int sizeMCTypeArguments() -
toArrayMCTypeArguments
-
toArrayMCTypeArguments
-
spliteratorMCTypeArguments
-
streamMCTypeArguments
-
parallelStreamMCTypeArguments
-
getMCTypeArgument
-
indexOfMCTypeArgument
-
lastIndexOfMCTypeArgument
-
equalsMCTypeArguments
-
hashCodeMCTypeArguments
public int hashCodeMCTypeArguments() -
listIteratorMCTypeArguments
-
listIteratorMCTypeArguments
-
subListMCTypeArguments
-
getMCTypeArgumentList
-
getName
-
isPresentName
public boolean isPresentName() -
setArguments
-
setArgumentsAbsent
-
clearMCTypeArguments
-
addMCTypeArgument
-
addAllMCTypeArguments
public ASTSuperSuffixBuilder addAllMCTypeArguments(Collection<? extends ASTMCTypeArgument> collection) -
removeMCTypeArgument
-
removeAllMCTypeArguments
-
retainAllMCTypeArguments
-
removeIfMCTypeArgument
-
forEachMCTypeArguments
-
addMCTypeArgument
-
addAllMCTypeArguments
public ASTSuperSuffixBuilder addAllMCTypeArguments(int index, Collection<? extends ASTMCTypeArgument> collection) -
removeMCTypeArgument
-
setMCTypeArgument
-
replaceAllMCTypeArguments
-
sortMCTypeArguments
-
setMCTypeArgumentsList
-
setName
-
setNameAbsent
-
set_SourcePositionEnd
- Overrides:
set_SourcePositionEndin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
set_SourcePositionEndAbsent
- Overrides:
set_SourcePositionEndAbsentin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
set_SourcePositionStart
- Overrides:
set_SourcePositionStartin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
set_SourcePositionStartAbsent
- Overrides:
set_SourcePositionStartAbsentin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
clear_PreComments
- Overrides:
clear_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
add_PreComment
- Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
add_PreComment
- Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
addAll_PreComments
- Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
addAll_PreComments
public ASTSuperSuffixBuilder addAll_PreComments(int index, Collection<de.monticore.ast.Comment> precomments) - Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
remove_PreComment
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
remove_PreComment
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
removeAll_PreComments
- Overrides:
removeAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
retainAll_PreComments
- Overrides:
retainAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
removeIf_PreComment
public ASTSuperSuffixBuilder removeIf_PreComment(Predicate<? super de.monticore.ast.Comment> filter) - Overrides:
removeIf_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
forEach_PreComments
- Overrides:
forEach_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
replaceAll_PreComments
public ASTSuperSuffixBuilder replaceAll_PreComments(UnaryOperator<de.monticore.ast.Comment> operator) - Overrides:
replaceAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
sort_PreComments
public ASTSuperSuffixBuilder sort_PreComments(Comparator<? super de.monticore.ast.Comment> comparator) - Overrides:
sort_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
set_PreCommentList
- Overrides:
set_PreCommentListin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
set_PreComment
- Overrides:
set_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
clear_PostComments
- Overrides:
clear_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
add_PostComment
- Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
add_PostComment
- Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
addAll_PostComments
- Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
addAll_PostComments
public ASTSuperSuffixBuilder addAll_PostComments(int index, Collection<de.monticore.ast.Comment> postcomments) - Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
remove_PostComment
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
remove_PostComment
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
removeAll_PostComments
- Overrides:
removeAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
retainAll_PostComments
- Overrides:
retainAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
removeIf_PostComment
public ASTSuperSuffixBuilder removeIf_PostComment(Predicate<? super de.monticore.ast.Comment> filter) - Overrides:
removeIf_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
forEach_PostComments
public ASTSuperSuffixBuilder forEach_PostComments(Consumer<? super de.monticore.ast.Comment> action) - Overrides:
forEach_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
replaceAll_PostComments
public ASTSuperSuffixBuilder replaceAll_PostComments(UnaryOperator<de.monticore.ast.Comment> operator) - Overrides:
replaceAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
sort_PostComments
public ASTSuperSuffixBuilder sort_PostComments(Comparator<? super de.monticore.ast.Comment> comparator) - Overrides:
sort_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
set_PostCommentList
- Overrides:
set_PostCommentListin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
set_PostComment
- Overrides:
set_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTSuperSuffixBuilder>
-
uncheckedBuild
-