Class ASTDeclaratorIdBuilder
- java.lang.Object
-
- de.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
- de.monticore.statements.mcvardeclarationstatements._ast.ASTDeclaratorIdBuilder
-
public class ASTDeclaratorIdBuilder extends de.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringnameprotected ASTDeclaratorIdBuilderrealBuilder
-
Constructor Summary
Constructors Constructor Description ASTDeclaratorIdBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ASTDeclaratorIdBuilderadd_PostComment(int index, de.monticore.ast.Comment postcomment)ASTDeclaratorIdBuilderadd_PostComment(de.monticore.ast.Comment postcomment)ASTDeclaratorIdBuilderadd_PreComment(int index, de.monticore.ast.Comment precomment)ASTDeclaratorIdBuilderadd_PreComment(de.monticore.ast.Comment precomment)ASTDeclaratorIdBuilderaddAll_PostComments(int index, java.util.Collection<de.monticore.ast.Comment> postcomments)ASTDeclaratorIdBuilderaddAll_PostComments(java.util.Collection<de.monticore.ast.Comment> postcomments)ASTDeclaratorIdBuilderaddAll_PreComments(int index, java.util.Collection<de.monticore.ast.Comment> precomments)ASTDeclaratorIdBuilderaddAll_PreComments(java.util.Collection<de.monticore.ast.Comment> precomments)ASTDeclaratorIdbuild()ASTDeclaratorIdBuilderclear_PostComments()ASTDeclaratorIdBuilderclear_PreComments()ASTDeclaratorIdBuilderforEach_PostComments(java.util.function.Consumer<? super de.monticore.ast.Comment> action)ASTDeclaratorIdBuilderforEach_PreComments(java.util.function.Consumer<? super de.monticore.ast.Comment> action)java.lang.StringgetName()booleanisValid()ASTDeclaratorIdBuilderremove_PostComment(int index)ASTDeclaratorIdBuilderremove_PostComment(java.lang.Object element)ASTDeclaratorIdBuilderremove_PreComment(int index)ASTDeclaratorIdBuilderremove_PreComment(java.lang.Object element)ASTDeclaratorIdBuilderremoveAll_PostComments(java.util.Collection<?> element)ASTDeclaratorIdBuilderremoveAll_PreComments(java.util.Collection<?> element)ASTDeclaratorIdBuilderremoveIf_PostComment(java.util.function.Predicate<? super de.monticore.ast.Comment> filter)ASTDeclaratorIdBuilderremoveIf_PreComment(java.util.function.Predicate<? super de.monticore.ast.Comment> filter)ASTDeclaratorIdBuilderreplaceAll_PostComments(java.util.function.UnaryOperator<de.monticore.ast.Comment> operator)ASTDeclaratorIdBuilderreplaceAll_PreComments(java.util.function.UnaryOperator<de.monticore.ast.Comment> operator)ASTDeclaratorIdBuilderretainAll_PostComments(java.util.Collection<?> element)ASTDeclaratorIdBuilderretainAll_PreComments(java.util.Collection<?> element)ASTDeclaratorIdBuilderset_PostComment(int index, de.monticore.ast.Comment postcomment)ASTDeclaratorIdBuilderset_PostCommentList(java.util.List<de.monticore.ast.Comment> postComments)ASTDeclaratorIdBuilderset_PreComment(int index, de.monticore.ast.Comment precomment)ASTDeclaratorIdBuilderset_PreCommentList(java.util.List<de.monticore.ast.Comment> preComments)ASTDeclaratorIdBuilderset_SourcePositionEnd(de.se_rwth.commons.SourcePosition end)ASTDeclaratorIdBuilderset_SourcePositionEndAbsent()ASTDeclaratorIdBuilderset_SourcePositionStart(de.se_rwth.commons.SourcePosition start)ASTDeclaratorIdBuilderset_SourcePositionStartAbsent()ASTDeclaratorIdBuildersetName(java.lang.String name)ASTDeclaratorIdBuildersort_PostComments(java.util.Comparator<? super de.monticore.ast.Comment> comparator)ASTDeclaratorIdBuildersort_PreComments(java.util.Comparator<? super de.monticore.ast.Comment> comparator)ASTDeclaratorIduncheckedBuild()-
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 ASTDeclaratorIdBuilder realBuilder
-
name
protected java.lang.String name
-
-
Method Detail
-
build
public ASTDeclaratorId build()
-
isValid
public boolean isValid()
-
getName
public java.lang.String getName()
-
setName
public ASTDeclaratorIdBuilder setName(java.lang.String name)
-
set_SourcePositionEnd
public ASTDeclaratorIdBuilder set_SourcePositionEnd(de.se_rwth.commons.SourcePosition end)
- Overrides:
set_SourcePositionEndin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
set_SourcePositionEndAbsent
public ASTDeclaratorIdBuilder set_SourcePositionEndAbsent()
- Overrides:
set_SourcePositionEndAbsentin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
set_SourcePositionStart
public ASTDeclaratorIdBuilder set_SourcePositionStart(de.se_rwth.commons.SourcePosition start)
- Overrides:
set_SourcePositionStartin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
set_SourcePositionStartAbsent
public ASTDeclaratorIdBuilder set_SourcePositionStartAbsent()
- Overrides:
set_SourcePositionStartAbsentin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
clear_PreComments
public ASTDeclaratorIdBuilder clear_PreComments()
- Overrides:
clear_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
add_PreComment
public ASTDeclaratorIdBuilder add_PreComment(de.monticore.ast.Comment precomment)
- Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
add_PreComment
public ASTDeclaratorIdBuilder add_PreComment(int index, de.monticore.ast.Comment precomment)
- Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
addAll_PreComments
public ASTDeclaratorIdBuilder addAll_PreComments(java.util.Collection<de.monticore.ast.Comment> precomments)
- Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
addAll_PreComments
public ASTDeclaratorIdBuilder addAll_PreComments(int index, java.util.Collection<de.monticore.ast.Comment> precomments)
- Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
remove_PreComment
public ASTDeclaratorIdBuilder remove_PreComment(java.lang.Object element)
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
remove_PreComment
public ASTDeclaratorIdBuilder remove_PreComment(int index)
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
removeAll_PreComments
public ASTDeclaratorIdBuilder removeAll_PreComments(java.util.Collection<?> element)
- Overrides:
removeAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
retainAll_PreComments
public ASTDeclaratorIdBuilder retainAll_PreComments(java.util.Collection<?> element)
- Overrides:
retainAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
removeIf_PreComment
public ASTDeclaratorIdBuilder removeIf_PreComment(java.util.function.Predicate<? super de.monticore.ast.Comment> filter)
- Overrides:
removeIf_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
forEach_PreComments
public ASTDeclaratorIdBuilder forEach_PreComments(java.util.function.Consumer<? super de.monticore.ast.Comment> action)
- Overrides:
forEach_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
replaceAll_PreComments
public ASTDeclaratorIdBuilder replaceAll_PreComments(java.util.function.UnaryOperator<de.monticore.ast.Comment> operator)
- Overrides:
replaceAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
sort_PreComments
public ASTDeclaratorIdBuilder sort_PreComments(java.util.Comparator<? super de.monticore.ast.Comment> comparator)
- Overrides:
sort_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
set_PreCommentList
public ASTDeclaratorIdBuilder set_PreCommentList(java.util.List<de.monticore.ast.Comment> preComments)
- Overrides:
set_PreCommentListin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
set_PreComment
public ASTDeclaratorIdBuilder set_PreComment(int index, de.monticore.ast.Comment precomment)
- Overrides:
set_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
clear_PostComments
public ASTDeclaratorIdBuilder clear_PostComments()
- Overrides:
clear_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
add_PostComment
public ASTDeclaratorIdBuilder add_PostComment(de.monticore.ast.Comment postcomment)
- Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
add_PostComment
public ASTDeclaratorIdBuilder add_PostComment(int index, de.monticore.ast.Comment postcomment)
- Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
addAll_PostComments
public ASTDeclaratorIdBuilder addAll_PostComments(java.util.Collection<de.monticore.ast.Comment> postcomments)
- Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
addAll_PostComments
public ASTDeclaratorIdBuilder addAll_PostComments(int index, java.util.Collection<de.monticore.ast.Comment> postcomments)
- Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
remove_PostComment
public ASTDeclaratorIdBuilder remove_PostComment(java.lang.Object element)
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
remove_PostComment
public ASTDeclaratorIdBuilder remove_PostComment(int index)
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
removeAll_PostComments
public ASTDeclaratorIdBuilder removeAll_PostComments(java.util.Collection<?> element)
- Overrides:
removeAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
retainAll_PostComments
public ASTDeclaratorIdBuilder retainAll_PostComments(java.util.Collection<?> element)
- Overrides:
retainAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
removeIf_PostComment
public ASTDeclaratorIdBuilder removeIf_PostComment(java.util.function.Predicate<? super de.monticore.ast.Comment> filter)
- Overrides:
removeIf_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
forEach_PostComments
public ASTDeclaratorIdBuilder forEach_PostComments(java.util.function.Consumer<? super de.monticore.ast.Comment> action)
- Overrides:
forEach_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
replaceAll_PostComments
public ASTDeclaratorIdBuilder replaceAll_PostComments(java.util.function.UnaryOperator<de.monticore.ast.Comment> operator)
- Overrides:
replaceAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
sort_PostComments
public ASTDeclaratorIdBuilder sort_PostComments(java.util.Comparator<? super de.monticore.ast.Comment> comparator)
- Overrides:
sort_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
set_PostCommentList
public ASTDeclaratorIdBuilder set_PostCommentList(java.util.List<de.monticore.ast.Comment> postComments)
- Overrides:
set_PostCommentListin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
set_PostComment
public ASTDeclaratorIdBuilder set_PostComment(int index, de.monticore.ast.Comment postcomment)
- Overrides:
set_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTDeclaratorIdBuilder>
-
uncheckedBuild
public ASTDeclaratorId uncheckedBuild()
-
-