Class TagTypeSymbol

java.lang.Object
de.monticore.tagging.tagschema._symboltable.TagTypeSymbol
All Implemented Interfaces:
de.monticore.symboltable.ISymbol, ICommonTagSchemaSymbol
Direct Known Subclasses:
ComplexTagTypeSymbol, EnumeratedTagTypeSymbol, SimpleTagTypeSymbol, TagTypeSymbolSurrogate, ValuedTagTypeSymbol

public class TagTypeSymbol extends Object implements ICommonTagSchemaSymbol
  • Field Details

    • name

      protected String name
    • enclosingScope

      protected ITagSchemaScope enclosingScope
    • astNode

      protected Optional<ASTTagType> astNode
    • accessModifier

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

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

      protected String fullName
    • packageName

      protected String packageName
    • r__private

      protected boolean r__private
    • scopeWildcard

      protected boolean scopeWildcard
    • scopes

      protected List<String> scopes
  • Constructor Details

    • TagTypeSymbol

      public TagTypeSymbol(String name)
  • Method Details

    • isPrivate

      public boolean isPrivate()
    • setPrivate

      public void setPrivate(boolean r__private)
    • isScopeWildcard

      public boolean isScopeWildcard()
    • setScopeWildcard

      public void setScopeWildcard(boolean scopeWildcard)
    • containsScopes

      public boolean containsScopes(Object element)
    • containsAllScopes

      public boolean containsAllScopes(Collection<?> collection)
    • isEmptyScopes

      public boolean isEmptyScopes()
    • iteratorScopes

      public Iterator<String> iteratorScopes()
    • sizeScopes

      public int sizeScopes()
    • toArrayScopes

      public String[] toArrayScopes(String[] array)
    • toArrayScopes

      public Object[] toArrayScopes()
    • spliteratorScopes

      public Spliterator<String> spliteratorScopes()
    • streamScopes

      public Stream<String> streamScopes()
    • parallelStreamScopes

      public Stream<String> parallelStreamScopes()
    • getScopes

      public String getScopes(int index)
    • indexOfScopes

      public int indexOfScopes(Object element)
    • lastIndexOfScopes

      public int lastIndexOfScopes(Object element)
    • equalsScopes

      public boolean equalsScopes(Object o)
    • hashCodeScopes

      public int hashCodeScopes()
    • listIteratorScopes

      public ListIterator<String> listIteratorScopes()
    • listIteratorScopes

      public ListIterator<String> listIteratorScopes(int index)
    • subListScopes

      public List<String> subListScopes(int start, int end)
    • getScopesList

      public List<String> getScopesList()
    • clearScopes

      public void clearScopes()
    • addScopes

      public boolean addScopes(String element)
    • addAllScopes

      public boolean addAllScopes(Collection<? extends String> collection)
    • removeScopes

      public boolean removeScopes(Object element)
    • removeAllScopes

      public boolean removeAllScopes(Collection<?> collection)
    • retainAllScopes

      public boolean retainAllScopes(Collection<?> collection)
    • removeIfScopes

      public boolean removeIfScopes(Predicate<? super String> filter)
    • forEachScopes

      public void forEachScopes(Consumer<? super String> action)
    • addScopes

      public void addScopes(int index, String element)
    • addAllScopes

      public boolean addAllScopes(int index, Collection<? extends String> collection)
    • removeScopes

      public String removeScopes(int index)
    • setScopes

      public String setScopes(int index, String element)
    • replaceAllScopes

      public void replaceAllScopes(UnaryOperator<String> operator)
    • sortScopes

      public void sortScopes(Comparator<? super String> comparator)
    • setScopesList

      public void setScopesList(List<String> scopes)
    • getName

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

      public void setName(String name)
    • getEnclosingScope

      public ITagSchemaScope getEnclosingScope()
      Specified by:
      getEnclosingScope in interface ICommonTagSchemaSymbol
      Specified by:
      getEnclosingScope in interface de.monticore.symboltable.ISymbol
    • setEnclosingScope

      public void setEnclosingScope(ITagSchemaScope enclosingScope)
      Specified by:
      setEnclosingScope in interface ICommonTagSchemaSymbol
    • getAstNode

      public ASTTagType 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(ASTTagType 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 Map<de.monticore.symboltable.stereotypes.IStereotypeReference,Optional<de.monticore.interpreter.Value>> getStereoinfo()
      Specified by:
      getStereoinfo in interface de.monticore.symboltable.ISymbol
    • setStereoinfo

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getThis

      protected TagTypeSymbol getThis()
    • setFullName

      public void setFullName(String fullName)
    • getFullName

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

      public void setPackageName(String packageName)
    • getPackageName

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

      public void accept(TagSchemaTraverser visitor)
      Specified by:
      accept in interface ICommonTagSchemaSymbol
    • accept

      public void accept(MCBasicsTraverser visitor)
    • accept

      public void accept(MCCommonLiteralsTraverser visitor)
    • accept

      public void accept(MCBasicTypesTraverser visitor)
    • accept

      public void accept(MCLiteralsBasisTraverser visitor)
    • accept

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

      protected String determinePackageName()
    • determineFullName

      protected String determineFullName()
    • toString

      public String toString()
      Overrides:
      toString in class Object