Class ASTMCMultipleGenericTypeBuilder
java.lang.Object
de.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
de.monticore.types.mcfullgenerictypes._ast.ASTMCMultipleGenericTypeBuilder
public class ASTMCMultipleGenericTypeBuilder
extends de.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ASTMCBasicGenericTypeprotected List<ASTMCInnerType> protected ASTMCMultipleGenericTypeBuilderFields 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) addAllMCInnerTypes(int index, Collection<? extends ASTMCInnerType> collection) addAllMCInnerTypes(Collection<? extends ASTMCInnerType> collection) addMCInnerType(int index, ASTMCInnerType element) addMCInnerType(ASTMCInnerType element) build()booleancontainsAllMCInnerTypes(Collection<?> collection) booleancontainsMCInnerType(Object element) booleanforEach_PostComments(Consumer<? super de.monticore.ast.Comment> action) forEach_PreComments(Consumer<? super de.monticore.ast.Comment> action) forEachMCInnerTypes(Consumer<? super ASTMCInnerType> action) getMCInnerType(int index) intintindexOfMCInnerType(Object element) booleanbooleanisValid()intlastIndexOfMCInnerType(Object element) listIteratorMCInnerTypes(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) removeAllMCInnerTypes(Collection<?> collection) removeIf_PostComment(Predicate<? super de.monticore.ast.Comment> filter) removeIf_PreComment(Predicate<? super de.monticore.ast.Comment> filter) removeIfMCInnerType(Predicate<? super ASTMCInnerType> filter) removeMCInnerType(int index) removeMCInnerType(Object element) replaceAll_PostComments(UnaryOperator<de.monticore.ast.Comment> operator) replaceAll_PreComments(UnaryOperator<de.monticore.ast.Comment> operator) replaceAllMCInnerTypes(UnaryOperator<ASTMCInnerType> operator) retainAll_PostComments(Collection<?> element) retainAll_PreComments(Collection<?> element) retainAllMCInnerTypes(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) setMCBasicGenericType(ASTMCBasicGenericType mCBasicGenericType) setMCInnerType(int index, ASTMCInnerType element) setMCInnerTypesList(List<ASTMCInnerType> mCInnerTypes) intsort_PostComments(Comparator<? super de.monticore.ast.Comment> comparator) sort_PreComments(Comparator<? super de.monticore.ast.Comment> comparator) sortMCInnerTypes(Comparator<? super ASTMCInnerType> comparator) subListMCInnerTypes(int start, int end) Object[]toArrayMCInnerTypes(ASTMCInnerType[] 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
-
mCBasicGenericType
-
mCInnerTypes
-
-
Constructor Details
-
ASTMCMultipleGenericTypeBuilder
public ASTMCMultipleGenericTypeBuilder()
-
-
Method Details
-
build
-
isValid
public boolean isValid() -
getMCBasicGenericType
-
containsMCInnerType
-
containsAllMCInnerTypes
-
isEmptyMCInnerTypes
public boolean isEmptyMCInnerTypes() -
iteratorMCInnerTypes
-
sizeMCInnerTypes
public int sizeMCInnerTypes() -
toArrayMCInnerTypes
-
toArrayMCInnerTypes
-
spliteratorMCInnerTypes
-
streamMCInnerTypes
-
parallelStreamMCInnerTypes
-
getMCInnerType
-
indexOfMCInnerType
-
lastIndexOfMCInnerType
-
equalsMCInnerTypes
-
hashCodeMCInnerTypes
public int hashCodeMCInnerTypes() -
listIteratorMCInnerTypes
-
listIteratorMCInnerTypes
-
subListMCInnerTypes
-
getMCInnerTypeList
-
setMCBasicGenericType
public ASTMCMultipleGenericTypeBuilder setMCBasicGenericType(ASTMCBasicGenericType mCBasicGenericType) -
clearMCInnerTypes
-
addMCInnerType
-
addAllMCInnerTypes
public ASTMCMultipleGenericTypeBuilder addAllMCInnerTypes(Collection<? extends ASTMCInnerType> collection) -
removeMCInnerType
-
removeAllMCInnerTypes
-
retainAllMCInnerTypes
-
removeIfMCInnerType
public ASTMCMultipleGenericTypeBuilder removeIfMCInnerType(Predicate<? super ASTMCInnerType> filter) -
forEachMCInnerTypes
-
addMCInnerType
-
addAllMCInnerTypes
public ASTMCMultipleGenericTypeBuilder addAllMCInnerTypes(int index, Collection<? extends ASTMCInnerType> collection) -
removeMCInnerType
-
setMCInnerType
-
replaceAllMCInnerTypes
public ASTMCMultipleGenericTypeBuilder replaceAllMCInnerTypes(UnaryOperator<ASTMCInnerType> operator) -
sortMCInnerTypes
public ASTMCMultipleGenericTypeBuilder sortMCInnerTypes(Comparator<? super ASTMCInnerType> comparator) -
setMCInnerTypesList
-
set_SourcePositionEnd
- Overrides:
set_SourcePositionEndin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
set_SourcePositionEndAbsent
- Overrides:
set_SourcePositionEndAbsentin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
set_SourcePositionStart
public ASTMCMultipleGenericTypeBuilder set_SourcePositionStart(de.se_rwth.commons.SourcePosition start) - Overrides:
set_SourcePositionStartin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
set_SourcePositionStartAbsent
- Overrides:
set_SourcePositionStartAbsentin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
clear_PreComments
- Overrides:
clear_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
add_PreComment
- Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
add_PreComment
public ASTMCMultipleGenericTypeBuilder add_PreComment(int index, de.monticore.ast.Comment precomment) - Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
addAll_PreComments
public ASTMCMultipleGenericTypeBuilder addAll_PreComments(Collection<de.monticore.ast.Comment> precomments) - Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
addAll_PreComments
public ASTMCMultipleGenericTypeBuilder addAll_PreComments(int index, Collection<de.monticore.ast.Comment> precomments) - Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
remove_PreComment
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
remove_PreComment
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
removeAll_PreComments
- Overrides:
removeAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
retainAll_PreComments
- Overrides:
retainAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
removeIf_PreComment
public ASTMCMultipleGenericTypeBuilder removeIf_PreComment(Predicate<? super de.monticore.ast.Comment> filter) - Overrides:
removeIf_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
forEach_PreComments
public ASTMCMultipleGenericTypeBuilder forEach_PreComments(Consumer<? super de.monticore.ast.Comment> action) - Overrides:
forEach_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
replaceAll_PreComments
public ASTMCMultipleGenericTypeBuilder replaceAll_PreComments(UnaryOperator<de.monticore.ast.Comment> operator) - Overrides:
replaceAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
sort_PreComments
public ASTMCMultipleGenericTypeBuilder sort_PreComments(Comparator<? super de.monticore.ast.Comment> comparator) - Overrides:
sort_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
set_PreCommentList
public ASTMCMultipleGenericTypeBuilder set_PreCommentList(List<de.monticore.ast.Comment> preComments) - Overrides:
set_PreCommentListin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
set_PreComment
public ASTMCMultipleGenericTypeBuilder set_PreComment(int index, de.monticore.ast.Comment precomment) - Overrides:
set_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
clear_PostComments
- Overrides:
clear_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
add_PostComment
- Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
add_PostComment
public ASTMCMultipleGenericTypeBuilder add_PostComment(int index, de.monticore.ast.Comment postcomment) - Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
addAll_PostComments
public ASTMCMultipleGenericTypeBuilder addAll_PostComments(Collection<de.monticore.ast.Comment> postcomments) - Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
addAll_PostComments
public ASTMCMultipleGenericTypeBuilder addAll_PostComments(int index, Collection<de.monticore.ast.Comment> postcomments) - Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
remove_PostComment
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
remove_PostComment
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
removeAll_PostComments
- Overrides:
removeAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
retainAll_PostComments
- Overrides:
retainAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
removeIf_PostComment
public ASTMCMultipleGenericTypeBuilder removeIf_PostComment(Predicate<? super de.monticore.ast.Comment> filter) - Overrides:
removeIf_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
forEach_PostComments
public ASTMCMultipleGenericTypeBuilder forEach_PostComments(Consumer<? super de.monticore.ast.Comment> action) - Overrides:
forEach_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
replaceAll_PostComments
public ASTMCMultipleGenericTypeBuilder replaceAll_PostComments(UnaryOperator<de.monticore.ast.Comment> operator) - Overrides:
replaceAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
sort_PostComments
public ASTMCMultipleGenericTypeBuilder sort_PostComments(Comparator<? super de.monticore.ast.Comment> comparator) - Overrides:
sort_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
set_PostCommentList
public ASTMCMultipleGenericTypeBuilder set_PostCommentList(List<de.monticore.ast.Comment> postComments) - Overrides:
set_PostCommentListin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
set_PostComment
public ASTMCMultipleGenericTypeBuilder set_PostComment(int index, de.monticore.ast.Comment postcomment) - Overrides:
set_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTMCMultipleGenericTypeBuilder>
-
uncheckedBuild
-