Class TypeSymbolTOP

  • All Implemented Interfaces:
    ICommonBasicSymbolsSymbol, de.monticore.symboltable.IScopeSpanningSymbol, de.monticore.symboltable.ISymbol
    Direct Known Subclasses:
    TypeSymbol

    public abstract class TypeSymbolTOP
    extends java.lang.Object
    implements ICommonBasicSymbolsSymbol, de.monticore.symboltable.IScopeSpanningSymbol
    • Field Detail

      • name

        protected java.lang.String name
      • astNode

        protected java.util.Optional<ASTType> astNode
      • accessModifier

        protected de.monticore.symboltable.modifiers.AccessModifier accessModifier
      • stereoinfo

        protected java.util.Map<de.monticore.symboltable.stereotypes.IStereotypeReference,​java.util.Optional<de.monticore.interpreter.Value>> stereoinfo
      • fullName

        protected java.lang.String fullName
      • packageName

        protected java.lang.String packageName
    • Constructor Detail

      • TypeSymbolTOP

        public TypeSymbolTOP​(java.lang.String name)
    • Method Detail

      • containsSuperTypes

        public boolean containsSuperTypes​(java.lang.Object element)
      • containsAllSuperTypes

        public boolean containsAllSuperTypes​(java.util.Collection<?> collection)
      • isEmptySuperTypes

        public boolean isEmptySuperTypes()
      • iteratorSuperTypes

        public java.util.Iterator<SymTypeExpression> iteratorSuperTypes()
      • sizeSuperTypes

        public int sizeSuperTypes()
      • toArraySuperTypes

        public java.lang.Object[] toArraySuperTypes()
      • spliteratorSuperTypes

        public java.util.Spliterator<SymTypeExpression> spliteratorSuperTypes()
      • streamSuperTypes

        public java.util.stream.Stream<SymTypeExpression> streamSuperTypes()
      • parallelStreamSuperTypes

        public java.util.stream.Stream<SymTypeExpression> parallelStreamSuperTypes()
      • indexOfSuperTypes

        public int indexOfSuperTypes​(java.lang.Object element)
      • lastIndexOfSuperTypes

        public int lastIndexOfSuperTypes​(java.lang.Object element)
      • equalsSuperTypes

        public boolean equalsSuperTypes​(java.lang.Object o)
      • hashCodeSuperTypes

        public int hashCodeSuperTypes()
      • listIteratorSuperTypes

        public java.util.ListIterator<SymTypeExpression> listIteratorSuperTypes()
      • listIteratorSuperTypes

        public java.util.ListIterator<SymTypeExpression> listIteratorSuperTypes​(int index)
      • subListSuperTypes

        public java.util.List<SymTypeExpression> subListSuperTypes​(int start,
                                                                   int end)
      • clearSuperTypes

        public void clearSuperTypes()
      • addAllSuperTypes

        public boolean addAllSuperTypes​(java.util.Collection<? extends SymTypeExpression> collection)
      • removeSuperTypes

        public boolean removeSuperTypes​(java.lang.Object element)
      • removeAllSuperTypes

        public boolean removeAllSuperTypes​(java.util.Collection<?> collection)
      • retainAllSuperTypes

        public boolean retainAllSuperTypes​(java.util.Collection<?> collection)
      • removeIfSuperTypes

        public boolean removeIfSuperTypes​(java.util.function.Predicate<? super SymTypeExpression> filter)
      • forEachSuperTypes

        public void forEachSuperTypes​(java.util.function.Consumer<? super SymTypeExpression> action)
      • addSuperTypes

        public void addSuperTypes​(int index,
                                  SymTypeExpression element)
      • addAllSuperTypes

        public boolean addAllSuperTypes​(int index,
                                        java.util.Collection<? extends SymTypeExpression> collection)
      • replaceAllSuperTypes

        public void replaceAllSuperTypes​(java.util.function.UnaryOperator<SymTypeExpression> operator)
      • sortSuperTypes

        public void sortSuperTypes​(java.util.Comparator<? super SymTypeExpression> comparator)
      • setSuperTypesList

        public void setSuperTypesList​(java.util.List<SymTypeExpression> superTypes)
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface de.monticore.symboltable.ISymbol
      • setName

        public void setName​(java.lang.String name)
      • getAstNode

        public ASTType getAstNode()
        Specified by:
        getAstNode in interface de.monticore.symboltable.ISymbol
      • isPresentAstNode

        public boolean isPresentAstNode()
        Specified by:
        isPresentAstNode in interface de.monticore.symboltable.ISymbol
      • setAstNode

        public void setAstNode​(ASTType astNode)
      • setAstNodeAbsent

        public void setAstNodeAbsent()
      • getAccessModifier

        public de.monticore.symboltable.modifiers.AccessModifier getAccessModifier()
        Specified by:
        getAccessModifier in interface de.monticore.symboltable.ISymbol
      • setAccessModifier

        public void setAccessModifier​(de.monticore.symboltable.modifiers.AccessModifier accessModifier)
        Specified by:
        setAccessModifier in interface de.monticore.symboltable.ISymbol
      • getStereoinfo

        public java.util.Map<de.monticore.symboltable.stereotypes.IStereotypeReference,​java.util.Optional<de.monticore.interpreter.Value>> getStereoinfo()
        Specified by:
        getStereoinfo in interface de.monticore.symboltable.ISymbol
      • setStereoinfo

        public void setStereoinfo​(java.util.Map<de.monticore.symboltable.stereotypes.IStereotypeReference,​java.util.Optional<de.monticore.interpreter.Value>> stereoinfo)
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • setFullName

        public void setFullName​(java.lang.String fullName)
      • getFullName

        public java.lang.String getFullName()
        Specified by:
        getFullName in interface de.monticore.symboltable.ISymbol
      • setPackageName

        public void setPackageName​(java.lang.String packageName)
      • getPackageName

        public java.lang.String getPackageName()
        Specified by:
        getPackageName in interface de.monticore.symboltable.ISymbol
      • accept

        public void accept​(de.monticore.visitor.ITraverser visitor)
        Specified by:
        accept in interface de.monticore.symboltable.ISymbol
      • determinePackageName

        protected java.lang.String determinePackageName()
      • determineFullName

        protected java.lang.String determineFullName()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getSpannedScope

        public IBasicSymbolsScope getSpannedScope()
        Specified by:
        getSpannedScope in interface de.monticore.symboltable.IScopeSpanningSymbol