Class ASTCatchClauseBuilder
java.lang.Object
de.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
de.monticore.statements.mcexceptionstatements._ast.ASTCatchClauseBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ASTCatchTypeListprotected List<ASTJavaModifier> protected ASTMCJavaBlockprotected Stringprotected ASTCatchClauseBuilderFields 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) addAllJavaModifiers(int index, Collection<? extends ASTJavaModifier> collection) addAllJavaModifiers(Collection<? extends ASTJavaModifier> collection) addJavaModifier(int index, ASTJavaModifier element) addJavaModifier(ASTJavaModifier element) build()booleancontainsAllJavaModifiers(Collection<?> collection) booleancontainsJavaModifier(Object element) booleanforEach_PostComments(Consumer<? super de.monticore.ast.Comment> action) forEach_PreComments(Consumer<? super de.monticore.ast.Comment> action) forEachJavaModifiers(Consumer<? super ASTJavaModifier> action) getJavaModifier(int index) getName()intintindexOfJavaModifier(Object element) booleanbooleanisValid()intlastIndexOfJavaModifier(Object element) listIteratorJavaModifiers(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) removeAllJavaModifiers(Collection<?> collection) removeIf_PostComment(Predicate<? super de.monticore.ast.Comment> filter) removeIf_PreComment(Predicate<? super de.monticore.ast.Comment> filter) removeIfJavaModifier(Predicate<? super ASTJavaModifier> filter) removeJavaModifier(int index) removeJavaModifier(Object element) replaceAll_PostComments(UnaryOperator<de.monticore.ast.Comment> operator) replaceAll_PreComments(UnaryOperator<de.monticore.ast.Comment> operator) replaceAllJavaModifiers(UnaryOperator<ASTJavaModifier> operator) retainAll_PostComments(Collection<?> element) retainAll_PreComments(Collection<?> element) retainAllJavaModifiers(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) setCatchTypeList(ASTCatchTypeList catchTypeList) setJavaModifier(int index, ASTJavaModifier element) setJavaModifiersList(List<ASTJavaModifier> javaModifiers) setMCJavaBlock(ASTMCJavaBlock mCJavaBlock) intsort_PostComments(Comparator<? super de.monticore.ast.Comment> comparator) sort_PreComments(Comparator<? super de.monticore.ast.Comment> comparator) sortJavaModifiers(Comparator<? super ASTJavaModifier> comparator) subListJavaModifiers(int start, int end) Object[]toArrayJavaModifiers(ASTJavaModifier[] 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
-
javaModifiers
-
catchTypeList
-
name
-
mCJavaBlock
-
-
Constructor Details
-
ASTCatchClauseBuilder
public ASTCatchClauseBuilder()
-
-
Method Details
-
build
-
isValid
public boolean isValid() -
containsJavaModifier
-
containsAllJavaModifiers
-
isEmptyJavaModifiers
public boolean isEmptyJavaModifiers() -
iteratorJavaModifiers
-
sizeJavaModifiers
public int sizeJavaModifiers() -
toArrayJavaModifiers
-
toArrayJavaModifiers
-
spliteratorJavaModifiers
-
streamJavaModifiers
-
parallelStreamJavaModifiers
-
getJavaModifier
-
indexOfJavaModifier
-
lastIndexOfJavaModifier
-
equalsJavaModifiers
-
hashCodeJavaModifiers
public int hashCodeJavaModifiers() -
listIteratorJavaModifiers
-
listIteratorJavaModifiers
-
subListJavaModifiers
-
getJavaModifierList
-
getCatchTypeList
-
getName
-
getMCJavaBlock
-
clearJavaModifiers
-
addJavaModifier
-
addAllJavaModifiers
-
removeJavaModifier
-
removeAllJavaModifiers
-
retainAllJavaModifiers
-
removeIfJavaModifier
-
forEachJavaModifiers
-
addJavaModifier
-
addAllJavaModifiers
public ASTCatchClauseBuilder addAllJavaModifiers(int index, Collection<? extends ASTJavaModifier> collection) -
removeJavaModifier
-
setJavaModifier
-
replaceAllJavaModifiers
-
sortJavaModifiers
-
setJavaModifiersList
-
setCatchTypeList
-
setName
-
setMCJavaBlock
-
set_SourcePositionEnd
- Overrides:
set_SourcePositionEndin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
set_SourcePositionEndAbsent
- Overrides:
set_SourcePositionEndAbsentin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
set_SourcePositionStart
- Overrides:
set_SourcePositionStartin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
set_SourcePositionStartAbsent
- Overrides:
set_SourcePositionStartAbsentin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
clear_PreComments
- Overrides:
clear_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
add_PreComment
- Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
add_PreComment
- Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
addAll_PreComments
- Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
addAll_PreComments
public ASTCatchClauseBuilder addAll_PreComments(int index, Collection<de.monticore.ast.Comment> precomments) - Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
remove_PreComment
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
remove_PreComment
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
removeAll_PreComments
- Overrides:
removeAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
retainAll_PreComments
- Overrides:
retainAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
removeIf_PreComment
public ASTCatchClauseBuilder removeIf_PreComment(Predicate<? super de.monticore.ast.Comment> filter) - Overrides:
removeIf_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
forEach_PreComments
- Overrides:
forEach_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
replaceAll_PreComments
public ASTCatchClauseBuilder replaceAll_PreComments(UnaryOperator<de.monticore.ast.Comment> operator) - Overrides:
replaceAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
sort_PreComments
public ASTCatchClauseBuilder sort_PreComments(Comparator<? super de.monticore.ast.Comment> comparator) - Overrides:
sort_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
set_PreCommentList
- Overrides:
set_PreCommentListin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
set_PreComment
- Overrides:
set_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
clear_PostComments
- Overrides:
clear_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
add_PostComment
- Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
add_PostComment
- Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
addAll_PostComments
- Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
addAll_PostComments
public ASTCatchClauseBuilder addAll_PostComments(int index, Collection<de.monticore.ast.Comment> postcomments) - Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
remove_PostComment
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
remove_PostComment
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
removeAll_PostComments
- Overrides:
removeAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
retainAll_PostComments
- Overrides:
retainAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
removeIf_PostComment
public ASTCatchClauseBuilder removeIf_PostComment(Predicate<? super de.monticore.ast.Comment> filter) - Overrides:
removeIf_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
forEach_PostComments
public ASTCatchClauseBuilder forEach_PostComments(Consumer<? super de.monticore.ast.Comment> action) - Overrides:
forEach_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
replaceAll_PostComments
public ASTCatchClauseBuilder replaceAll_PostComments(UnaryOperator<de.monticore.ast.Comment> operator) - Overrides:
replaceAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
sort_PostComments
public ASTCatchClauseBuilder sort_PostComments(Comparator<? super de.monticore.ast.Comment> comparator) - Overrides:
sort_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
set_PostCommentList
- Overrides:
set_PostCommentListin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
set_PostComment
- Overrides:
set_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTCatchClauseBuilder>
-
uncheckedBuild
-