Class ASTMCQualifiedNameBuilder
- java.lang.Object
-
- de.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
- de.monticore.types.mcbasictypes._ast.ASTMCQualifiedNameBuilder
-
public class ASTMCQualifiedNameBuilder extends de.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.String>partsprotected ASTMCQualifiedNameBuilderrealBuilder
-
Constructor Summary
Constructors Constructor Description ASTMCQualifiedNameBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ASTMCQualifiedNameBuilderadd_PostComment(int index, de.monticore.ast.Comment postcomment)ASTMCQualifiedNameBuilderadd_PostComment(de.monticore.ast.Comment postcomment)ASTMCQualifiedNameBuilderadd_PreComment(int index, de.monticore.ast.Comment precomment)ASTMCQualifiedNameBuilderadd_PreComment(de.monticore.ast.Comment precomment)ASTMCQualifiedNameBuilderaddAll_PostComments(int index, java.util.Collection<de.monticore.ast.Comment> postcomments)ASTMCQualifiedNameBuilderaddAll_PostComments(java.util.Collection<de.monticore.ast.Comment> postcomments)ASTMCQualifiedNameBuilderaddAll_PreComments(int index, java.util.Collection<de.monticore.ast.Comment> precomments)ASTMCQualifiedNameBuilderaddAll_PreComments(java.util.Collection<de.monticore.ast.Comment> precomments)ASTMCQualifiedNameBuilderaddAllParts(int index, java.util.Collection<? extends java.lang.String> collection)ASTMCQualifiedNameBuilderaddAllParts(java.util.Collection<? extends java.lang.String> collection)ASTMCQualifiedNameBuilderaddParts(int index, java.lang.String element)ASTMCQualifiedNameBuilderaddParts(java.lang.String element)ASTMCQualifiedNamebuild()ASTMCQualifiedNameBuilderclear_PostComments()ASTMCQualifiedNameBuilderclear_PreComments()ASTMCQualifiedNameBuilderclearParts()booleancontainsAllParts(java.util.Collection<?> collection)booleancontainsParts(java.lang.Object element)booleanequalsParts(java.lang.Object o)ASTMCQualifiedNameBuilderforEach_PostComments(java.util.function.Consumer<? super de.monticore.ast.Comment> action)ASTMCQualifiedNameBuilderforEach_PreComments(java.util.function.Consumer<? super de.monticore.ast.Comment> action)ASTMCQualifiedNameBuilderforEachParts(java.util.function.Consumer<? super java.lang.String> action)java.lang.StringgetParts(int index)java.util.List<java.lang.String>getPartsList()inthashCodeParts()intindexOfParts(java.lang.Object element)booleanisEmptyParts()booleanisValid()java.util.Iterator<java.lang.String>iteratorParts()intlastIndexOfParts(java.lang.Object element)java.util.ListIterator<java.lang.String>listIteratorParts()java.util.ListIterator<java.lang.String>listIteratorParts(int index)java.util.stream.Stream<java.lang.String>parallelStreamParts()ASTMCQualifiedNameBuilderremove_PostComment(int index)ASTMCQualifiedNameBuilderremove_PostComment(java.lang.Object element)ASTMCQualifiedNameBuilderremove_PreComment(int index)ASTMCQualifiedNameBuilderremove_PreComment(java.lang.Object element)ASTMCQualifiedNameBuilderremoveAll_PostComments(java.util.Collection<?> element)ASTMCQualifiedNameBuilderremoveAll_PreComments(java.util.Collection<?> element)ASTMCQualifiedNameBuilderremoveAllParts(java.util.Collection<?> collection)ASTMCQualifiedNameBuilderremoveIf_PostComment(java.util.function.Predicate<? super de.monticore.ast.Comment> filter)ASTMCQualifiedNameBuilderremoveIf_PreComment(java.util.function.Predicate<? super de.monticore.ast.Comment> filter)ASTMCQualifiedNameBuilderremoveIfParts(java.util.function.Predicate<? super java.lang.String> filter)ASTMCQualifiedNameBuilderremoveParts(int index)ASTMCQualifiedNameBuilderremoveParts(java.lang.Object element)ASTMCQualifiedNameBuilderreplaceAll_PostComments(java.util.function.UnaryOperator<de.monticore.ast.Comment> operator)ASTMCQualifiedNameBuilderreplaceAll_PreComments(java.util.function.UnaryOperator<de.monticore.ast.Comment> operator)ASTMCQualifiedNameBuilderreplaceAllParts(java.util.function.UnaryOperator<java.lang.String> operator)ASTMCQualifiedNameBuilderretainAll_PostComments(java.util.Collection<?> element)ASTMCQualifiedNameBuilderretainAll_PreComments(java.util.Collection<?> element)ASTMCQualifiedNameBuilderretainAllParts(java.util.Collection<?> collection)ASTMCQualifiedNameBuilderset_PostComment(int index, de.monticore.ast.Comment postcomment)ASTMCQualifiedNameBuilderset_PostCommentList(java.util.List<de.monticore.ast.Comment> postComments)ASTMCQualifiedNameBuilderset_PreComment(int index, de.monticore.ast.Comment precomment)ASTMCQualifiedNameBuilderset_PreCommentList(java.util.List<de.monticore.ast.Comment> preComments)ASTMCQualifiedNameBuilderset_SourcePositionEnd(de.se_rwth.commons.SourcePosition end)ASTMCQualifiedNameBuilderset_SourcePositionEndAbsent()ASTMCQualifiedNameBuilderset_SourcePositionStart(de.se_rwth.commons.SourcePosition start)ASTMCQualifiedNameBuilderset_SourcePositionStartAbsent()ASTMCQualifiedNameBuildersetParts(int index, java.lang.String element)ASTMCQualifiedNameBuildersetPartsList(java.util.List<java.lang.String> parts)intsizeParts()ASTMCQualifiedNameBuildersort_PostComments(java.util.Comparator<? super de.monticore.ast.Comment> comparator)ASTMCQualifiedNameBuildersort_PreComments(java.util.Comparator<? super de.monticore.ast.Comment> comparator)ASTMCQualifiedNameBuildersortParts(java.util.Comparator<? super java.lang.String> comparator)java.util.Spliterator<java.lang.String>spliteratorParts()java.util.stream.Stream<java.lang.String>streamParts()java.util.List<java.lang.String>subListParts(int start, int end)java.lang.Object[]toArrayParts()java.lang.String[]toArrayParts(java.lang.String[] array)ASTMCQualifiedNameuncheckedBuild()-
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 ASTMCQualifiedNameBuilder realBuilder
-
parts
protected java.util.List<java.lang.String> parts
-
-
Method Detail
-
build
public ASTMCQualifiedName build()
-
isValid
public boolean isValid()
-
containsParts
public boolean containsParts(java.lang.Object element)
-
containsAllParts
public boolean containsAllParts(java.util.Collection<?> collection)
-
isEmptyParts
public boolean isEmptyParts()
-
iteratorParts
public java.util.Iterator<java.lang.String> iteratorParts()
-
sizeParts
public int sizeParts()
-
toArrayParts
public java.lang.String[] toArrayParts(java.lang.String[] array)
-
toArrayParts
public java.lang.Object[] toArrayParts()
-
spliteratorParts
public java.util.Spliterator<java.lang.String> spliteratorParts()
-
streamParts
public java.util.stream.Stream<java.lang.String> streamParts()
-
parallelStreamParts
public java.util.stream.Stream<java.lang.String> parallelStreamParts()
-
getParts
public java.lang.String getParts(int index)
-
indexOfParts
public int indexOfParts(java.lang.Object element)
-
lastIndexOfParts
public int lastIndexOfParts(java.lang.Object element)
-
equalsParts
public boolean equalsParts(java.lang.Object o)
-
hashCodeParts
public int hashCodeParts()
-
listIteratorParts
public java.util.ListIterator<java.lang.String> listIteratorParts()
-
listIteratorParts
public java.util.ListIterator<java.lang.String> listIteratorParts(int index)
-
subListParts
public java.util.List<java.lang.String> subListParts(int start, int end)
-
getPartsList
public java.util.List<java.lang.String> getPartsList()
-
clearParts
public ASTMCQualifiedNameBuilder clearParts()
-
addParts
public ASTMCQualifiedNameBuilder addParts(java.lang.String element)
-
addAllParts
public ASTMCQualifiedNameBuilder addAllParts(java.util.Collection<? extends java.lang.String> collection)
-
removeParts
public ASTMCQualifiedNameBuilder removeParts(java.lang.Object element)
-
removeAllParts
public ASTMCQualifiedNameBuilder removeAllParts(java.util.Collection<?> collection)
-
retainAllParts
public ASTMCQualifiedNameBuilder retainAllParts(java.util.Collection<?> collection)
-
removeIfParts
public ASTMCQualifiedNameBuilder removeIfParts(java.util.function.Predicate<? super java.lang.String> filter)
-
forEachParts
public ASTMCQualifiedNameBuilder forEachParts(java.util.function.Consumer<? super java.lang.String> action)
-
addParts
public ASTMCQualifiedNameBuilder addParts(int index, java.lang.String element)
-
addAllParts
public ASTMCQualifiedNameBuilder addAllParts(int index, java.util.Collection<? extends java.lang.String> collection)
-
removeParts
public ASTMCQualifiedNameBuilder removeParts(int index)
-
setParts
public ASTMCQualifiedNameBuilder setParts(int index, java.lang.String element)
-
replaceAllParts
public ASTMCQualifiedNameBuilder replaceAllParts(java.util.function.UnaryOperator<java.lang.String> operator)
-
sortParts
public ASTMCQualifiedNameBuilder sortParts(java.util.Comparator<? super java.lang.String> comparator)
-
setPartsList
public ASTMCQualifiedNameBuilder setPartsList(java.util.List<java.lang.String> parts)
-
set_SourcePositionEnd
public ASTMCQualifiedNameBuilder set_SourcePositionEnd(de.se_rwth.commons.SourcePosition end)
- Overrides:
set_SourcePositionEndin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
set_SourcePositionEndAbsent
public ASTMCQualifiedNameBuilder set_SourcePositionEndAbsent()
- Overrides:
set_SourcePositionEndAbsentin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
set_SourcePositionStart
public ASTMCQualifiedNameBuilder set_SourcePositionStart(de.se_rwth.commons.SourcePosition start)
- Overrides:
set_SourcePositionStartin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
set_SourcePositionStartAbsent
public ASTMCQualifiedNameBuilder set_SourcePositionStartAbsent()
- Overrides:
set_SourcePositionStartAbsentin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
clear_PreComments
public ASTMCQualifiedNameBuilder clear_PreComments()
- Overrides:
clear_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
add_PreComment
public ASTMCQualifiedNameBuilder add_PreComment(de.monticore.ast.Comment precomment)
- Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
add_PreComment
public ASTMCQualifiedNameBuilder add_PreComment(int index, de.monticore.ast.Comment precomment)
- Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
addAll_PreComments
public ASTMCQualifiedNameBuilder addAll_PreComments(java.util.Collection<de.monticore.ast.Comment> precomments)
- Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
addAll_PreComments
public ASTMCQualifiedNameBuilder addAll_PreComments(int index, java.util.Collection<de.monticore.ast.Comment> precomments)
- Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
remove_PreComment
public ASTMCQualifiedNameBuilder remove_PreComment(java.lang.Object element)
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
remove_PreComment
public ASTMCQualifiedNameBuilder remove_PreComment(int index)
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
removeAll_PreComments
public ASTMCQualifiedNameBuilder removeAll_PreComments(java.util.Collection<?> element)
- Overrides:
removeAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
retainAll_PreComments
public ASTMCQualifiedNameBuilder retainAll_PreComments(java.util.Collection<?> element)
- Overrides:
retainAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
removeIf_PreComment
public ASTMCQualifiedNameBuilder removeIf_PreComment(java.util.function.Predicate<? super de.monticore.ast.Comment> filter)
- Overrides:
removeIf_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
forEach_PreComments
public ASTMCQualifiedNameBuilder forEach_PreComments(java.util.function.Consumer<? super de.monticore.ast.Comment> action)
- Overrides:
forEach_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
replaceAll_PreComments
public ASTMCQualifiedNameBuilder replaceAll_PreComments(java.util.function.UnaryOperator<de.monticore.ast.Comment> operator)
- Overrides:
replaceAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
sort_PreComments
public ASTMCQualifiedNameBuilder sort_PreComments(java.util.Comparator<? super de.monticore.ast.Comment> comparator)
- Overrides:
sort_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
set_PreCommentList
public ASTMCQualifiedNameBuilder set_PreCommentList(java.util.List<de.monticore.ast.Comment> preComments)
- Overrides:
set_PreCommentListin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
set_PreComment
public ASTMCQualifiedNameBuilder set_PreComment(int index, de.monticore.ast.Comment precomment)
- Overrides:
set_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
clear_PostComments
public ASTMCQualifiedNameBuilder clear_PostComments()
- Overrides:
clear_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
add_PostComment
public ASTMCQualifiedNameBuilder add_PostComment(de.monticore.ast.Comment postcomment)
- Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
add_PostComment
public ASTMCQualifiedNameBuilder add_PostComment(int index, de.monticore.ast.Comment postcomment)
- Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
addAll_PostComments
public ASTMCQualifiedNameBuilder addAll_PostComments(java.util.Collection<de.monticore.ast.Comment> postcomments)
- Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
addAll_PostComments
public ASTMCQualifiedNameBuilder addAll_PostComments(int index, java.util.Collection<de.monticore.ast.Comment> postcomments)
- Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
remove_PostComment
public ASTMCQualifiedNameBuilder remove_PostComment(java.lang.Object element)
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
remove_PostComment
public ASTMCQualifiedNameBuilder remove_PostComment(int index)
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
removeAll_PostComments
public ASTMCQualifiedNameBuilder removeAll_PostComments(java.util.Collection<?> element)
- Overrides:
removeAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
retainAll_PostComments
public ASTMCQualifiedNameBuilder retainAll_PostComments(java.util.Collection<?> element)
- Overrides:
retainAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
removeIf_PostComment
public ASTMCQualifiedNameBuilder removeIf_PostComment(java.util.function.Predicate<? super de.monticore.ast.Comment> filter)
- Overrides:
removeIf_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
forEach_PostComments
public ASTMCQualifiedNameBuilder forEach_PostComments(java.util.function.Consumer<? super de.monticore.ast.Comment> action)
- Overrides:
forEach_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
replaceAll_PostComments
public ASTMCQualifiedNameBuilder replaceAll_PostComments(java.util.function.UnaryOperator<de.monticore.ast.Comment> operator)
- Overrides:
replaceAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
sort_PostComments
public ASTMCQualifiedNameBuilder sort_PostComments(java.util.Comparator<? super de.monticore.ast.Comment> comparator)
- Overrides:
sort_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
set_PostCommentList
public ASTMCQualifiedNameBuilder set_PostCommentList(java.util.List<de.monticore.ast.Comment> postComments)
- Overrides:
set_PostCommentListin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
set_PostComment
public ASTMCQualifiedNameBuilder set_PostComment(int index, de.monticore.ast.Comment postcomment)
- Overrides:
set_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTMCQualifiedNameBuilder>
-
uncheckedBuild
public ASTMCQualifiedName uncheckedBuild()
-
-