Class ASTMatchingObjectBuilder
java.lang.Object
de.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
de.monticore.tf.odrulegeneration._ast.ASTMatchingObjectBuilder
public class ASTMatchingObjectBuilder
extends de.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected booleanprotected Stringprotected booleanprotected ASTMatchingObjectBuilderprotected StringFields 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) addAllInnerLinkObjectNames(int index, Collection<? extends String> collection) addAllInnerLinkObjectNames(Collection<? extends String> collection) addInnerLinkObjectNames(int index, String element) addInnerLinkObjectNames(String element) build()booleancontainsAllInnerLinkObjectNames(Collection<?> collection) booleancontainsInnerLinkObjectNames(Object element) booleanforEach_PostComments(Consumer<? super de.monticore.ast.Comment> action) forEach_PreComments(Consumer<? super de.monticore.ast.Comment> action) forEachInnerLinkObjectNames(Consumer<? super String> action) getInnerLinkObjectNames(int index) getType()intintindexOfInnerLinkObjectNames(Object element) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisValid()intlastIndexOfInnerLinkObjectNames(Object element) listIteratorInnerLinkObjectNames(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) removeAllInnerLinkObjectNames(Collection<?> collection) removeIf_PostComment(Predicate<? super de.monticore.ast.Comment> filter) removeIf_PreComment(Predicate<? super de.monticore.ast.Comment> filter) removeIfInnerLinkObjectNames(Predicate<? super String> filter) removeInnerLinkObjectNames(int index) removeInnerLinkObjectNames(Object element) replaceAll_PostComments(UnaryOperator<de.monticore.ast.Comment> operator) replaceAll_PreComments(UnaryOperator<de.monticore.ast.Comment> operator) replaceAllInnerLinkObjectNames(UnaryOperator<String> operator) retainAll_PostComments(Collection<?> element) retainAll_PreComments(Collection<?> element) retainAllInnerLinkObjectNames(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) setInnerLinkObjectNames(int index, String element) setInnerLinkObjectNamesList(List<String> innerLinkObjectNames) setLHSObject(boolean lHSObject) setListimpltype(String listimpltype) setListObject(boolean listObject) setListtype(String listtype) setNotObject(boolean notObject) setObjectName(String objectName) setOptObject(boolean optObject) intsort_PostComments(Comparator<? super de.monticore.ast.Comment> comparator) sort_PreComments(Comparator<? super de.monticore.ast.Comment> comparator) sortInnerLinkObjectNames(Comparator<? super String> comparator) subListInnerLinkObjectNames(int start, int end) Object[]String[]toArrayInnerLinkObjectNames(String[] 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
-
objectName
-
type
-
listtype
-
listimpltype
-
innerLinkObjectNames
-
lHSObject
protected boolean lHSObject -
notObject
protected boolean notObject -
optObject
protected boolean optObject -
listObject
protected boolean listObject
-
-
Constructor Details
-
ASTMatchingObjectBuilder
public ASTMatchingObjectBuilder()
-
-
Method Details
-
build
-
isValid
public boolean isValid() -
getObjectName
-
getType
-
getListtype
-
isPresentListtype
public boolean isPresentListtype() -
getListimpltype
-
isPresentListimpltype
public boolean isPresentListimpltype() -
containsInnerLinkObjectNames
-
containsAllInnerLinkObjectNames
-
isEmptyInnerLinkObjectNames
public boolean isEmptyInnerLinkObjectNames() -
iteratorInnerLinkObjectNames
-
sizeInnerLinkObjectNames
public int sizeInnerLinkObjectNames() -
toArrayInnerLinkObjectNames
-
toArrayInnerLinkObjectNames
-
spliteratorInnerLinkObjectNames
-
streamInnerLinkObjectNames
-
parallelStreamInnerLinkObjectNames
-
getInnerLinkObjectNames
-
indexOfInnerLinkObjectNames
-
lastIndexOfInnerLinkObjectNames
-
equalsInnerLinkObjectNames
-
hashCodeInnerLinkObjectNames
public int hashCodeInnerLinkObjectNames() -
listIteratorInnerLinkObjectNames
-
listIteratorInnerLinkObjectNames
-
subListInnerLinkObjectNames
-
getInnerLinkObjectNamesList
-
isLHSObject
public boolean isLHSObject() -
isNotObject
public boolean isNotObject() -
isOptObject
public boolean isOptObject() -
isListObject
public boolean isListObject() -
setObjectName
-
setType
-
setListtype
-
setListtypeAbsent
-
setListimpltype
-
setListimpltypeAbsent
-
clearInnerLinkObjectNames
-
addInnerLinkObjectNames
-
addAllInnerLinkObjectNames
-
removeInnerLinkObjectNames
-
removeAllInnerLinkObjectNames
-
retainAllInnerLinkObjectNames
-
removeIfInnerLinkObjectNames
-
forEachInnerLinkObjectNames
-
addInnerLinkObjectNames
-
addAllInnerLinkObjectNames
public ASTMatchingObjectBuilder addAllInnerLinkObjectNames(int index, Collection<? extends String> collection) -
removeInnerLinkObjectNames
-
setInnerLinkObjectNames
-
replaceAllInnerLinkObjectNames
-
sortInnerLinkObjectNames
-
setInnerLinkObjectNamesList
-
setLHSObject
-
setNotObject
-
setOptObject
-
setListObject
-
set_SourcePositionEnd
- Overrides:
set_SourcePositionEndin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
set_SourcePositionEndAbsent
- Overrides:
set_SourcePositionEndAbsentin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
set_SourcePositionStart
- Overrides:
set_SourcePositionStartin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
set_SourcePositionStartAbsent
- Overrides:
set_SourcePositionStartAbsentin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
clear_PreComments
- Overrides:
clear_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
add_PreComment
- Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
add_PreComment
- Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
addAll_PreComments
public ASTMatchingObjectBuilder addAll_PreComments(Collection<de.monticore.ast.Comment> precomments) - Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
addAll_PreComments
public ASTMatchingObjectBuilder addAll_PreComments(int index, Collection<de.monticore.ast.Comment> precomments) - Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
remove_PreComment
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
remove_PreComment
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
removeAll_PreComments
- Overrides:
removeAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
retainAll_PreComments
- Overrides:
retainAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
removeIf_PreComment
public ASTMatchingObjectBuilder removeIf_PreComment(Predicate<? super de.monticore.ast.Comment> filter) - Overrides:
removeIf_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
forEach_PreComments
public ASTMatchingObjectBuilder forEach_PreComments(Consumer<? super de.monticore.ast.Comment> action) - Overrides:
forEach_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
replaceAll_PreComments
public ASTMatchingObjectBuilder replaceAll_PreComments(UnaryOperator<de.monticore.ast.Comment> operator) - Overrides:
replaceAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
sort_PreComments
public ASTMatchingObjectBuilder sort_PreComments(Comparator<? super de.monticore.ast.Comment> comparator) - Overrides:
sort_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
set_PreCommentList
- Overrides:
set_PreCommentListin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
set_PreComment
- Overrides:
set_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
clear_PostComments
- Overrides:
clear_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
add_PostComment
- Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
add_PostComment
- Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
addAll_PostComments
public ASTMatchingObjectBuilder addAll_PostComments(Collection<de.monticore.ast.Comment> postcomments) - Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
addAll_PostComments
public ASTMatchingObjectBuilder addAll_PostComments(int index, Collection<de.monticore.ast.Comment> postcomments) - Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
remove_PostComment
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
remove_PostComment
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
removeAll_PostComments
- Overrides:
removeAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
retainAll_PostComments
- Overrides:
retainAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
removeIf_PostComment
public ASTMatchingObjectBuilder removeIf_PostComment(Predicate<? super de.monticore.ast.Comment> filter) - Overrides:
removeIf_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
forEach_PostComments
public ASTMatchingObjectBuilder forEach_PostComments(Consumer<? super de.monticore.ast.Comment> action) - Overrides:
forEach_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
replaceAll_PostComments
public ASTMatchingObjectBuilder replaceAll_PostComments(UnaryOperator<de.monticore.ast.Comment> operator) - Overrides:
replaceAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
sort_PostComments
public ASTMatchingObjectBuilder sort_PostComments(Comparator<? super de.monticore.ast.Comment> comparator) - Overrides:
sort_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
set_PostCommentList
- Overrides:
set_PostCommentListin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
set_PostComment
- Overrides:
set_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTMatchingObjectBuilder>
-
uncheckedBuild
-