Package de.monticore.javalight._ast
Class ASTAnnotationPairArgumentsBuilder
java.lang.Object
de.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
de.monticore.javalight._ast.ASTAnnotationPairArgumentsBuilder
public class ASTAnnotationPairArgumentsBuilder
extends de.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<ASTElementValuePair> protected ASTAnnotationPairArgumentsBuilderFields 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) addAllElementValuePairs(int index, Collection<? extends ASTElementValuePair> collection) addAllElementValuePairs(Collection<? extends ASTElementValuePair> collection) addElementValuePair(int index, ASTElementValuePair element) addElementValuePair(ASTElementValuePair element) build()booleancontainsAllElementValuePairs(Collection<?> collection) booleancontainsElementValuePair(Object element) booleanforEach_PostComments(Consumer<? super de.monticore.ast.Comment> action) forEach_PreComments(Consumer<? super de.monticore.ast.Comment> action) forEachElementValuePairs(Consumer<? super ASTElementValuePair> action) getElementValuePair(int index) intintindexOfElementValuePair(Object element) booleanbooleanisValid()intlastIndexOfElementValuePair(Object element) listIteratorElementValuePairs(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) removeAllElementValuePairs(Collection<?> collection) removeElementValuePair(int index) removeElementValuePair(Object element) removeIf_PostComment(Predicate<? super de.monticore.ast.Comment> filter) removeIf_PreComment(Predicate<? super de.monticore.ast.Comment> filter) removeIfElementValuePair(Predicate<? super ASTElementValuePair> filter) replaceAll_PostComments(UnaryOperator<de.monticore.ast.Comment> operator) replaceAll_PreComments(UnaryOperator<de.monticore.ast.Comment> operator) retainAll_PostComments(Collection<?> element) retainAll_PreComments(Collection<?> element) retainAllElementValuePairs(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) setElementValuePair(int index, ASTElementValuePair element) setElementValuePairsList(List<ASTElementValuePair> elementValuePairs) intsort_PostComments(Comparator<? super de.monticore.ast.Comment> comparator) sort_PreComments(Comparator<? super de.monticore.ast.Comment> comparator) sortElementValuePairs(Comparator<? super ASTElementValuePair> comparator) subListElementValuePairs(int start, int end) Object[]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
-
elementValuePairs
-
-
Constructor Details
-
ASTAnnotationPairArgumentsBuilder
public ASTAnnotationPairArgumentsBuilder()
-
-
Method Details
-
build
-
isValid
public boolean isValid() -
containsElementValuePair
-
containsAllElementValuePairs
-
isEmptyElementValuePairs
public boolean isEmptyElementValuePairs() -
iteratorElementValuePairs
-
sizeElementValuePairs
public int sizeElementValuePairs() -
toArrayElementValuePairs
-
toArrayElementValuePairs
-
spliteratorElementValuePairs
-
streamElementValuePairs
-
parallelStreamElementValuePairs
-
getElementValuePair
-
indexOfElementValuePair
-
lastIndexOfElementValuePair
-
equalsElementValuePairs
-
hashCodeElementValuePairs
public int hashCodeElementValuePairs() -
listIteratorElementValuePairs
-
listIteratorElementValuePairs
-
subListElementValuePairs
-
getElementValuePairList
-
clearElementValuePairs
-
addElementValuePair
-
addAllElementValuePairs
public ASTAnnotationPairArgumentsBuilder addAllElementValuePairs(Collection<? extends ASTElementValuePair> collection) -
removeElementValuePair
-
removeAllElementValuePairs
-
retainAllElementValuePairs
-
removeIfElementValuePair
public ASTAnnotationPairArgumentsBuilder removeIfElementValuePair(Predicate<? super ASTElementValuePair> filter) -
forEachElementValuePairs
public ASTAnnotationPairArgumentsBuilder forEachElementValuePairs(Consumer<? super ASTElementValuePair> action) -
addElementValuePair
public ASTAnnotationPairArgumentsBuilder addElementValuePair(int index, ASTElementValuePair element) -
addAllElementValuePairs
public ASTAnnotationPairArgumentsBuilder addAllElementValuePairs(int index, Collection<? extends ASTElementValuePair> collection) -
removeElementValuePair
-
setElementValuePair
public ASTAnnotationPairArgumentsBuilder setElementValuePair(int index, ASTElementValuePair element) -
replaceAllElementValuePairs
public ASTAnnotationPairArgumentsBuilder replaceAllElementValuePairs(UnaryOperator<ASTElementValuePair> operator) -
sortElementValuePairs
public ASTAnnotationPairArgumentsBuilder sortElementValuePairs(Comparator<? super ASTElementValuePair> comparator) -
setElementValuePairsList
public ASTAnnotationPairArgumentsBuilder setElementValuePairsList(List<ASTElementValuePair> elementValuePairs) -
set_SourcePositionEnd
public ASTAnnotationPairArgumentsBuilder set_SourcePositionEnd(de.se_rwth.commons.SourcePosition end) - Overrides:
set_SourcePositionEndin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
set_SourcePositionEndAbsent
- Overrides:
set_SourcePositionEndAbsentin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
set_SourcePositionStart
public ASTAnnotationPairArgumentsBuilder set_SourcePositionStart(de.se_rwth.commons.SourcePosition start) - Overrides:
set_SourcePositionStartin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
set_SourcePositionStartAbsent
- Overrides:
set_SourcePositionStartAbsentin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
clear_PreComments
- Overrides:
clear_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
add_PreComment
- Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
add_PreComment
public ASTAnnotationPairArgumentsBuilder add_PreComment(int index, de.monticore.ast.Comment precomment) - Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
addAll_PreComments
public ASTAnnotationPairArgumentsBuilder addAll_PreComments(Collection<de.monticore.ast.Comment> precomments) - Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
addAll_PreComments
public ASTAnnotationPairArgumentsBuilder addAll_PreComments(int index, Collection<de.monticore.ast.Comment> precomments) - Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
remove_PreComment
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
remove_PreComment
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
removeAll_PreComments
- Overrides:
removeAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
retainAll_PreComments
- Overrides:
retainAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
removeIf_PreComment
public ASTAnnotationPairArgumentsBuilder removeIf_PreComment(Predicate<? super de.monticore.ast.Comment> filter) - Overrides:
removeIf_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
forEach_PreComments
public ASTAnnotationPairArgumentsBuilder forEach_PreComments(Consumer<? super de.monticore.ast.Comment> action) - Overrides:
forEach_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
replaceAll_PreComments
public ASTAnnotationPairArgumentsBuilder replaceAll_PreComments(UnaryOperator<de.monticore.ast.Comment> operator) - Overrides:
replaceAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
sort_PreComments
public ASTAnnotationPairArgumentsBuilder sort_PreComments(Comparator<? super de.monticore.ast.Comment> comparator) - Overrides:
sort_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
set_PreCommentList
public ASTAnnotationPairArgumentsBuilder set_PreCommentList(List<de.monticore.ast.Comment> preComments) - Overrides:
set_PreCommentListin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
set_PreComment
public ASTAnnotationPairArgumentsBuilder set_PreComment(int index, de.monticore.ast.Comment precomment) - Overrides:
set_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
clear_PostComments
- Overrides:
clear_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
add_PostComment
- Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
add_PostComment
public ASTAnnotationPairArgumentsBuilder add_PostComment(int index, de.monticore.ast.Comment postcomment) - Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
addAll_PostComments
public ASTAnnotationPairArgumentsBuilder addAll_PostComments(Collection<de.monticore.ast.Comment> postcomments) - Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
addAll_PostComments
public ASTAnnotationPairArgumentsBuilder addAll_PostComments(int index, Collection<de.monticore.ast.Comment> postcomments) - Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
remove_PostComment
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
remove_PostComment
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
removeAll_PostComments
- Overrides:
removeAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
retainAll_PostComments
- Overrides:
retainAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
removeIf_PostComment
public ASTAnnotationPairArgumentsBuilder removeIf_PostComment(Predicate<? super de.monticore.ast.Comment> filter) - Overrides:
removeIf_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
forEach_PostComments
public ASTAnnotationPairArgumentsBuilder forEach_PostComments(Consumer<? super de.monticore.ast.Comment> action) - Overrides:
forEach_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
replaceAll_PostComments
public ASTAnnotationPairArgumentsBuilder replaceAll_PostComments(UnaryOperator<de.monticore.ast.Comment> operator) - Overrides:
replaceAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
sort_PostComments
public ASTAnnotationPairArgumentsBuilder sort_PostComments(Comparator<? super de.monticore.ast.Comment> comparator) - Overrides:
sort_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
set_PostCommentList
public ASTAnnotationPairArgumentsBuilder set_PostCommentList(List<de.monticore.ast.Comment> postComments) - Overrides:
set_PostCommentListin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
set_PostComment
public ASTAnnotationPairArgumentsBuilder set_PostComment(int index, de.monticore.ast.Comment postcomment) - Overrides:
set_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTAnnotationPairArgumentsBuilder>
-
uncheckedBuild
-