Class ASTTryLocalVariableDeclarationBuilder
java.lang.Object
de.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
de.monticore.statements.mcexceptionstatements._ast.ASTTryLocalVariableDeclarationBuilder
@Generated("monticore")
public class ASTTryLocalVariableDeclarationBuilder
extends de.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ASTDeclaratorIdprotected ASTExpressionprotected List<ASTMCModifier> protected ASTMCTypeprotected ASTTryLocalVariableDeclarationBuilderFields 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) addAllMCModifiers(int index, Collection<? extends ASTMCModifier> collection) addAllMCModifiers(Collection<? extends ASTMCModifier> collection) addMCModifier(int index, ASTMCModifier element) addMCModifier(ASTMCModifier element) build()booleancontainsAllMCModifiers(Collection<?> collection) booleancontainsMCModifier(Object element) booleanforEach_PostComments(Consumer<? super de.monticore.ast.Comment> action) forEach_PreComments(Consumer<? super de.monticore.ast.Comment> action) forEachMCModifiers(Consumer<? super ASTMCModifier> action) getMCModifier(int index) intintindexOfMCModifier(Object element) booleanbooleanisValid()intlastIndexOfMCModifier(Object element) listIteratorMCModifiers(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) removeAllMCModifiers(Collection<?> collection) removeIf_PostComment(Predicate<? super de.monticore.ast.Comment> filter) removeIf_PreComment(Predicate<? super de.monticore.ast.Comment> filter) removeIfMCModifier(Predicate<? super ASTMCModifier> filter) removeMCModifier(int index) removeMCModifier(Object element) replaceAll_PostComments(UnaryOperator<de.monticore.ast.Comment> operator) replaceAll_PreComments(UnaryOperator<de.monticore.ast.Comment> operator) replaceAllMCModifiers(UnaryOperator<ASTMCModifier> operator) retainAll_PostComments(Collection<?> element) retainAll_PreComments(Collection<?> element) retainAllMCModifiers(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) setDeclaratorId(ASTDeclaratorId declaratorId) setExpression(ASTExpression expression) setMCModifier(int index, ASTMCModifier element) setMCModifiersList(List<ASTMCModifier> mCModifiers) intsort_PostComments(Comparator<? super de.monticore.ast.Comment> comparator) sort_PreComments(Comparator<? super de.monticore.ast.Comment> comparator) sortMCModifiers(Comparator<? super ASTMCModifier> comparator) subListMCModifiers(int start, int end) Object[]toArrayMCModifiers(ASTMCModifier[] 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
-
mCModifiers
-
mCType
-
declaratorId
-
expression
-
-
Constructor Details
-
ASTTryLocalVariableDeclarationBuilder
public ASTTryLocalVariableDeclarationBuilder()
-
-
Method Details
-
build
-
isValid
public boolean isValid() -
containsMCModifier
-
containsAllMCModifiers
-
isEmptyMCModifiers
public boolean isEmptyMCModifiers() -
iteratorMCModifiers
-
sizeMCModifiers
public int sizeMCModifiers() -
toArrayMCModifiers
-
toArrayMCModifiers
-
spliteratorMCModifiers
-
streamMCModifiers
-
parallelStreamMCModifiers
-
getMCModifier
-
indexOfMCModifier
-
lastIndexOfMCModifier
-
equalsMCModifiers
-
hashCodeMCModifiers
public int hashCodeMCModifiers() -
listIteratorMCModifiers
-
listIteratorMCModifiers
-
subListMCModifiers
-
getMCModifierList
-
getMCType
-
getDeclaratorId
-
getExpression
-
clearMCModifiers
-
addMCModifier
-
addAllMCModifiers
public ASTTryLocalVariableDeclarationBuilder addAllMCModifiers(Collection<? extends ASTMCModifier> collection) -
removeMCModifier
-
removeAllMCModifiers
-
retainAllMCModifiers
-
removeIfMCModifier
public ASTTryLocalVariableDeclarationBuilder removeIfMCModifier(Predicate<? super ASTMCModifier> filter) -
forEachMCModifiers
public ASTTryLocalVariableDeclarationBuilder forEachMCModifiers(Consumer<? super ASTMCModifier> action) -
addMCModifier
-
addAllMCModifiers
public ASTTryLocalVariableDeclarationBuilder addAllMCModifiers(int index, Collection<? extends ASTMCModifier> collection) -
removeMCModifier
-
setMCModifier
-
replaceAllMCModifiers
public ASTTryLocalVariableDeclarationBuilder replaceAllMCModifiers(UnaryOperator<ASTMCModifier> operator) -
sortMCModifiers
public ASTTryLocalVariableDeclarationBuilder sortMCModifiers(Comparator<? super ASTMCModifier> comparator) -
setMCModifiersList
-
setMCType
-
setDeclaratorId
-
setExpression
-
set_SourcePositionEnd
public ASTTryLocalVariableDeclarationBuilder set_SourcePositionEnd(de.se_rwth.commons.SourcePosition end) - Overrides:
set_SourcePositionEndin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
set_SourcePositionEndAbsent
- Overrides:
set_SourcePositionEndAbsentin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
set_SourcePositionStart
public ASTTryLocalVariableDeclarationBuilder set_SourcePositionStart(de.se_rwth.commons.SourcePosition start) - Overrides:
set_SourcePositionStartin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
set_SourcePositionStartAbsent
- Overrides:
set_SourcePositionStartAbsentin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
clear_PreComments
- Overrides:
clear_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
add_PreComment
- Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
add_PreComment
public ASTTryLocalVariableDeclarationBuilder add_PreComment(int index, de.monticore.ast.Comment precomment) - Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
addAll_PreComments
public ASTTryLocalVariableDeclarationBuilder addAll_PreComments(Collection<de.monticore.ast.Comment> precomments) - Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
addAll_PreComments
public ASTTryLocalVariableDeclarationBuilder addAll_PreComments(int index, Collection<de.monticore.ast.Comment> precomments) - Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
remove_PreComment
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
remove_PreComment
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
removeAll_PreComments
- Overrides:
removeAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
retainAll_PreComments
- Overrides:
retainAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
removeIf_PreComment
public ASTTryLocalVariableDeclarationBuilder removeIf_PreComment(Predicate<? super de.monticore.ast.Comment> filter) - Overrides:
removeIf_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
forEach_PreComments
public ASTTryLocalVariableDeclarationBuilder forEach_PreComments(Consumer<? super de.monticore.ast.Comment> action) - Overrides:
forEach_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
replaceAll_PreComments
public ASTTryLocalVariableDeclarationBuilder replaceAll_PreComments(UnaryOperator<de.monticore.ast.Comment> operator) - Overrides:
replaceAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
sort_PreComments
public ASTTryLocalVariableDeclarationBuilder sort_PreComments(Comparator<? super de.monticore.ast.Comment> comparator) - Overrides:
sort_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
set_PreCommentList
public ASTTryLocalVariableDeclarationBuilder set_PreCommentList(List<de.monticore.ast.Comment> preComments) - Overrides:
set_PreCommentListin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
set_PreComment
public ASTTryLocalVariableDeclarationBuilder set_PreComment(int index, de.monticore.ast.Comment precomment) - Overrides:
set_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
clear_PostComments
- Overrides:
clear_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
add_PostComment
- Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
add_PostComment
public ASTTryLocalVariableDeclarationBuilder add_PostComment(int index, de.monticore.ast.Comment postcomment) - Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
addAll_PostComments
public ASTTryLocalVariableDeclarationBuilder addAll_PostComments(Collection<de.monticore.ast.Comment> postcomments) - Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
addAll_PostComments
public ASTTryLocalVariableDeclarationBuilder addAll_PostComments(int index, Collection<de.monticore.ast.Comment> postcomments) - Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
remove_PostComment
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
remove_PostComment
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
removeAll_PostComments
- Overrides:
removeAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
retainAll_PostComments
- Overrides:
retainAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
removeIf_PostComment
public ASTTryLocalVariableDeclarationBuilder removeIf_PostComment(Predicate<? super de.monticore.ast.Comment> filter) - Overrides:
removeIf_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
forEach_PostComments
public ASTTryLocalVariableDeclarationBuilder forEach_PostComments(Consumer<? super de.monticore.ast.Comment> action) - Overrides:
forEach_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
replaceAll_PostComments
public ASTTryLocalVariableDeclarationBuilder replaceAll_PostComments(UnaryOperator<de.monticore.ast.Comment> operator) - Overrides:
replaceAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
sort_PostComments
public ASTTryLocalVariableDeclarationBuilder sort_PostComments(Comparator<? super de.monticore.ast.Comment> comparator) - Overrides:
sort_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
set_PostCommentList
public ASTTryLocalVariableDeclarationBuilder set_PostCommentList(List<de.monticore.ast.Comment> postComments) - Overrides:
set_PostCommentListin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
set_PostComment
public ASTTryLocalVariableDeclarationBuilder set_PostComment(int index, de.monticore.ast.Comment postcomment) - Overrides:
set_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTTryLocalVariableDeclarationBuilder>
-
uncheckedBuild
-