Class ASTMCOptionalType
- java.lang.Object
-
- de.monticore.ast.ASTCNode
-
- de.monticore.types.mccollectiontypes._ast.ASTMCOptionalTypeTOP
-
- de.monticore.types.mccollectiontypes._ast.ASTMCOptionalType
-
- All Implemented Interfaces:
de.monticore.ast.ASTNode,ASTMCBasicTypesNode,ASTMCObjectType,ASTMCType,ASTMCTypeTOP,ASTMCCollectionTypesNode,ASTMCGenericType,ASTMCGenericTypeTOP,java.lang.Cloneable
public class ASTMCOptionalType extends ASTMCOptionalTypeTOP
-
-
Field Summary
Fields Modifier and Type Field Description protected de.monticore.symboltable.ISymboldefiningSymbolprotected java.util.List<java.lang.String>namesprotected java.util.List<ASTMCTypeArgument>typeArguments-
Fields inherited from class de.monticore.types.mccollectiontypes._ast.ASTMCOptionalTypeTOP
enclosingScope, mCTypeArgument
-
-
Constructor Summary
Constructors Constructor Description ASTMCOptionalType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<de.monticore.symboltable.ISymbol>getDefiningSymbol()java.util.List<ASTMCTypeArgument>getMCTypeArgumentList()java.util.List<java.lang.String>getNameList()voidsetDefiningSymbol(de.monticore.symboltable.ISymbol symbol)voidsetMCTypeArgument(ASTMCTypeArgument mCTypeArgument)-
Methods inherited from class de.monticore.types.mccollectiontypes._ast.ASTMCOptionalTypeTOP
_construct, accept, accept, accept, accept, deepClone, deepClone, deepEquals, deepEquals, deepEqualsWithComments, deepEqualsWithComments, equalAttributes, equalsWithComments, evaluate, evaluate, getEnclosingScope, getMCTypeArgument, setEnclosingScope, setEnclosingScope, setEnclosingScope
-
Methods inherited from class de.monticore.ast.ASTCNode
add_PostComment, add_PostComment, add_PreComment, add_PreComment, addAll_PostComments, addAll_PostComments, addAll_PreComments, addAll_PreComments, clear_PostComments, clear_PreComments, contains_PostComment, contains_PreComment, containsAll_PostComments, containsAll_PreComments, equals_PostComments, equals_PreComments, forEach_PostComments, forEach_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, remove_PostComment, remove_PostComment, remove_PreComment, remove_PreComment, removeAll_PostComments, removeAll_PreComments, removeIf_PostComment, removeIf_PreComment, replaceAll_PostComments, replaceAll_PreComments, retainAll_PostComments, retainAll_PreComments, set_PostComment, set_PostCommentList, set_PreComment, set_PreCommentList, set_SourcePositionEnd, set_SourcePositionEndAbsent, set_SourcePositionStart, set_SourcePositionStartAbsent, size_PostComments, size_PreComments, sort_PostComments, sort_PreComments, spliterator_PostComments, spliterator_PreComments, stream_PostComments, stream_PreComments, subList_PostComments, subList_PreComments, toArray_PostComments, toArray_PostComments, toArray_PreComments, toArray_PreComments
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.monticore.types.mccollectiontypes._ast.ASTMCGenericType
containsAllMCTypeArguments, containsAllNames, containsMCTypeArgument, containsName, getMCTypeArgument, getName, hashCodeMCTypeArguments, hashCodeNames, indexOfMCTypeArgument, indexOfName, isEmptyMCTypeArguments, isEmptyNames, iteratorMCTypeArguments, iteratorNames, lastIndexOfMCTypeArgument, lastIndexOfName, listIteratorMCTypeArguments, listIteratorMCTypeArguments, listIteratorNames, listIteratorNames, parallelStreamMCTypeArguments, parallelStreamNames, printWithoutTypeArguments, sizeMCTypeArguments, sizeNames, spliteratorMCTypeArguments, spliteratorNames, streamMCTypeArguments, streamNames, subListMCTypeArguments, subListNames, toArrayMCTypeArguments, toArrayMCTypeArguments, toArrayNames, toArrayNames
-
Methods inherited from interface de.monticore.ast.ASTNode
add_PostComment, add_PostComment, add_PreComment, add_PreComment, addAll_PostComments, addAll_PostComments, addAll_PreComments, addAll_PreComments, clear_PostComments, clear_PreComments, contains_PostComment, contains_PreComment, containsAll_PostComments, containsAll_PreComments, equals_PostComments, equals_PreComments, forEach_PostComments, forEach_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, remove_PostComment, remove_PostComment, remove_PreComment, remove_PreComment, removeAll_PostComments, removeAll_PreComments, removeIf_PostComment, removeIf_PreComment, replaceAll_PostComments, replaceAll_PreComments, retainAll_PostComments, retainAll_PreComments, set_PostComment, set_PostCommentList, set_PreComment, set_PreCommentList, set_SourcePositionEnd, set_SourcePositionEndAbsent, set_SourcePositionStart, set_SourcePositionStartAbsent, size_PostComments, size_PreComments, sort_PostComments, sort_PreComments, spliterator_PostComments, spliterator_PreComments, stream_PostComments, stream_PreComments, subList_PostComments, subList_PreComments, toArray_PostComments, toArray_PostComments, toArray_PreComments, toArray_PreComments
-
-
-
-
Field Detail
-
definingSymbol
protected de.monticore.symboltable.ISymbol definingSymbol
-
names
protected java.util.List<java.lang.String> names
-
typeArguments
protected java.util.List<ASTMCTypeArgument> typeArguments
-
-
Method Detail
-
getDefiningSymbol
public java.util.Optional<de.monticore.symboltable.ISymbol> getDefiningSymbol()
-
setDefiningSymbol
public void setDefiningSymbol(de.monticore.symboltable.ISymbol symbol)
-
setMCTypeArgument
public void setMCTypeArgument(ASTMCTypeArgument mCTypeArgument)
- Overrides:
setMCTypeArgumentin classASTMCOptionalTypeTOP
-
getMCTypeArgumentList
public java.util.List<ASTMCTypeArgument> getMCTypeArgumentList()
-
getNameList
public java.util.List<java.lang.String> getNameList()
-
-