Class ASTChangeBuilder
java.lang.Object
de.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
de.monticore.tf.odrulegeneration._ast.ASTChangeBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected Stringprotected booleanprotected booleanprotected booleanprotected Stringprotected Stringprotected Stringprotected booleanprotected Stringprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected ASTChangeBuilderprotected Stringprotected Stringprotected Stringprotected Stringprotected booleanprotected booleanprotected Stringprotected booleanprotected booleanFields 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) build()forEach_PostComments(Consumer<? super de.monticore.ast.Comment> action) forEach_PreComments(Consumer<? super de.monticore.ast.Comment> action) getType()getValue()booleanbooleanbooleanbooleanisCopy()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisValid()booleanbooleanbooleanbooleanremove_PostComment(int index) remove_PostComment(Object element) remove_PreComment(int index) remove_PreComment(Object element) removeAll_PostComments(Collection<?> element) removeAll_PreComments(Collection<?> element) removeIf_PostComment(Predicate<? super de.monticore.ast.Comment> filter) removeIf_PreComment(Predicate<? super de.monticore.ast.Comment> 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) 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) setAttributeIterated(boolean attributeIterated) setAttributeName(String attributeName) setAttributeOptional(boolean attributeOptional) setBoxingType(String boxingType) setComposite(boolean composite) setCopy(boolean copy) setGenericType(String genericType) setGetIsPresent(String getIsPresent) setInsertPosition(String insertPosition) setObjectGetter(String objectGetter) setObjectInList(boolean objectInList) setObjectName(String objectName) setObjectType(String objectType) setObjectWithinList(boolean objectWithinList) setObjectWithinOpt(boolean objectWithinOpt) setOldValue(String oldValue) setOldValueGetter(String oldValueGetter) setOldValueWithinList(boolean oldValueWithinList) setOldValueWithinOpt(boolean oldValueWithinOpt) setPrimitiveType(boolean primitiveType) setSimpleType(String simpleType) setUnsetter(String unsetter) setValueGetter(String valueGetter) setValueListObject(boolean valueListObject) setValueStringList(boolean valueStringList) setValueType(String valueType) setValueWithinList(boolean valueWithinList) setValueWithinOpt(boolean valueWithinOpt) sort_PostComments(Comparator<? super de.monticore.ast.Comment> comparator) sort_PreComments(Comparator<? super de.monticore.ast.Comment> comparator) 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
-
objectGetter
-
valueGetter
-
oldValueGetter
-
type
-
objectType
-
objectName
-
attributeName
-
value
-
oldValue
-
getter
-
getIsPresent
-
setter
-
unsetter
-
simpleType
-
boxingType
-
valueType
-
insertPosition
-
genericType
-
objectWithinOpt
protected boolean objectWithinOpt -
objectWithinList
protected boolean objectWithinList -
valueWithinOpt
protected boolean valueWithinOpt -
valueWithinList
protected boolean valueWithinList -
oldValueWithinOpt
protected boolean oldValueWithinOpt -
oldValueWithinList
protected boolean oldValueWithinList -
primitiveType
protected boolean primitiveType -
attributeIterated
protected boolean attributeIterated -
attributeOptional
protected boolean attributeOptional -
copy
protected boolean copy -
objectInList
protected boolean objectInList -
valueStringList
protected boolean valueStringList -
valueListObject
protected boolean valueListObject -
composite
protected boolean composite
-
-
Constructor Details
-
ASTChangeBuilder
public ASTChangeBuilder()
-
-
Method Details
-
build
-
isValid
public boolean isValid() -
getObjectGetter
-
getValueGetter
-
isPresentValueGetter
public boolean isPresentValueGetter() -
getOldValueGetter
-
isPresentOldValueGetter
public boolean isPresentOldValueGetter() -
getType
-
getObjectType
-
isPresentObjectType
public boolean isPresentObjectType() -
getObjectName
-
getAttributeName
-
getValue
-
isPresentValue
public boolean isPresentValue() -
getOldValue
-
isPresentOldValue
public boolean isPresentOldValue() -
getGetter
-
getGetIsPresent
-
isPresentGetIsPresent
public boolean isPresentGetIsPresent() -
getSetter
-
getUnsetter
-
getSimpleType
-
getBoxingType
-
isPresentBoxingType
public boolean isPresentBoxingType() -
getValueType
-
getInsertPosition
-
isPresentInsertPosition
public boolean isPresentInsertPosition() -
getGenericType
-
isObjectWithinOpt
public boolean isObjectWithinOpt() -
isObjectWithinList
public boolean isObjectWithinList() -
isValueWithinOpt
public boolean isValueWithinOpt() -
isValueWithinList
public boolean isValueWithinList() -
isOldValueWithinOpt
public boolean isOldValueWithinOpt() -
isOldValueWithinList
public boolean isOldValueWithinList() -
isPrimitiveType
public boolean isPrimitiveType() -
isAttributeIterated
public boolean isAttributeIterated() -
isAttributeOptional
public boolean isAttributeOptional() -
isCopy
public boolean isCopy() -
isObjectInList
public boolean isObjectInList() -
isValueStringList
public boolean isValueStringList() -
isValueListObject
public boolean isValueListObject() -
isComposite
public boolean isComposite() -
setObjectGetter
-
setValueGetter
-
setValueGetterAbsent
-
setOldValueGetter
-
setOldValueGetterAbsent
-
setType
-
setObjectType
-
setObjectTypeAbsent
-
setObjectName
-
setAttributeName
-
setValue
-
setValueAbsent
-
setOldValue
-
setOldValueAbsent
-
setGetter
-
setGetIsPresent
-
setGetIsPresentAbsent
-
setSetter
-
setUnsetter
-
setSimpleType
-
setBoxingType
-
setBoxingTypeAbsent
-
setValueType
-
setInsertPosition
-
setInsertPositionAbsent
-
setGenericType
-
setObjectWithinOpt
-
setObjectWithinList
-
setValueWithinOpt
-
setValueWithinList
-
setOldValueWithinOpt
-
setOldValueWithinList
-
setPrimitiveType
-
setAttributeIterated
-
setAttributeOptional
-
setCopy
-
setObjectInList
-
setValueStringList
-
setValueListObject
-
setComposite
-
set_SourcePositionEnd
- Overrides:
set_SourcePositionEndin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
set_SourcePositionEndAbsent
- Overrides:
set_SourcePositionEndAbsentin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
set_SourcePositionStart
- Overrides:
set_SourcePositionStartin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
set_SourcePositionStartAbsent
- Overrides:
set_SourcePositionStartAbsentin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
clear_PreComments
- Overrides:
clear_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
add_PreComment
- Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
add_PreComment
- Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
addAll_PreComments
- Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
addAll_PreComments
public ASTChangeBuilder addAll_PreComments(int index, Collection<de.monticore.ast.Comment> precomments) - Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
remove_PreComment
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
remove_PreComment
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
removeAll_PreComments
- Overrides:
removeAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
retainAll_PreComments
- Overrides:
retainAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
removeIf_PreComment
- Overrides:
removeIf_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
forEach_PreComments
- Overrides:
forEach_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
replaceAll_PreComments
- Overrides:
replaceAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
sort_PreComments
- Overrides:
sort_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
set_PreCommentList
- Overrides:
set_PreCommentListin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
set_PreComment
- Overrides:
set_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
clear_PostComments
- Overrides:
clear_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
add_PostComment
- Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
add_PostComment
- Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
addAll_PostComments
- Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
addAll_PostComments
public ASTChangeBuilder addAll_PostComments(int index, Collection<de.monticore.ast.Comment> postcomments) - Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
remove_PostComment
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
remove_PostComment
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
removeAll_PostComments
- Overrides:
removeAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
retainAll_PostComments
- Overrides:
retainAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
removeIf_PostComment
- Overrides:
removeIf_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
forEach_PostComments
- Overrides:
forEach_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
replaceAll_PostComments
- Overrides:
replaceAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
sort_PostComments
- Overrides:
sort_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
set_PostCommentList
- Overrides:
set_PostCommentListin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
set_PostComment
- Overrides:
set_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTChangeBuilder>
-
uncheckedBuild
-