Class ASTStereotype

java.lang.Object
de.monticore.ast.ASTCNode
de.monticore.umlstereotype._ast.ASTStereotype
All Implemented Interfaces:
de.monticore.ast.ASTNode, ASTUMLStereotypeNode, Cloneable

public class ASTStereotype extends de.monticore.ast.ASTCNode implements ASTUMLStereotypeNode
  • Field Details

  • Constructor Details

    • ASTStereotype

      protected ASTStereotype()
  • Method Details

    • contains

      public boolean contains(String name)
    • contains

      public boolean contains(String name, String value)
    • getValue

      public String getValue(String name)
    • deepEquals

      public boolean deepEquals(Object o)
      Specified by:
      deepEquals in interface de.monticore.ast.ASTNode
    • deepEquals

      public boolean deepEquals(Object o, boolean forceSameOrder)
      Specified by:
      deepEquals in interface de.monticore.ast.ASTNode
    • deepEqualsWithComments

      public boolean deepEqualsWithComments(Object o)
      Specified by:
      deepEqualsWithComments in interface de.monticore.ast.ASTNode
    • deepEqualsWithComments

      public boolean deepEqualsWithComments(Object o, boolean forceSameOrder)
      Specified by:
      deepEqualsWithComments in interface de.monticore.ast.ASTNode
    • equalAttributes

      public boolean equalAttributes(Object o)
      Specified by:
      equalAttributes in interface de.monticore.ast.ASTNode
    • equalsWithComments

      public boolean equalsWithComments(Object o)
      Specified by:
      equalsWithComments in interface de.monticore.ast.ASTNode
    • deepClone

      public ASTStereotype deepClone()
      Specified by:
      deepClone in interface de.monticore.ast.ASTNode
      Specified by:
      deepClone in class de.monticore.ast.ASTCNode
    • deepClone

      public ASTStereotype deepClone(ASTStereotype result)
    • containsValues

      public boolean containsValues(Object element)
    • containsAllValues

      public boolean containsAllValues(Collection<?> collection)
    • isEmptyValues

      public boolean isEmptyValues()
    • iteratorValues

      public Iterator<ASTStereoValue> iteratorValues()
    • sizeValues

      public int sizeValues()
    • toArrayValues

      public ASTStereoValue[] toArrayValues(ASTStereoValue[] array)
    • toArrayValues

      public Object[] toArrayValues()
    • spliteratorValues

      public Spliterator<ASTStereoValue> spliteratorValues()
    • streamValues

      public Stream<ASTStereoValue> streamValues()
    • parallelStreamValues

      public Stream<ASTStereoValue> parallelStreamValues()
    • getValues

      public ASTStereoValue getValues(int index)
    • indexOfValues

      public int indexOfValues(Object element)
    • lastIndexOfValues

      public int lastIndexOfValues(Object element)
    • equalsValues

      public boolean equalsValues(Object o)
    • hashCodeValues

      public int hashCodeValues()
    • listIteratorValues

      public ListIterator<ASTStereoValue> listIteratorValues()
    • listIteratorValues

      public ListIterator<ASTStereoValue> listIteratorValues(int index)
    • subListValues

      public List<ASTStereoValue> subListValues(int start, int end)
    • getValuesList

      public List<ASTStereoValue> getValuesList()
    • clearValues

      public void clearValues()
    • addValues

      public boolean addValues(ASTStereoValue element)
    • addAllValues

      public boolean addAllValues(Collection<? extends ASTStereoValue> collection)
    • removeValues

      public boolean removeValues(Object element)
    • removeAllValues

      public boolean removeAllValues(Collection<?> collection)
    • retainAllValues

      public boolean retainAllValues(Collection<?> collection)
    • removeIfValues

      public boolean removeIfValues(Predicate<? super ASTStereoValue> filter)
    • forEachValues

      public void forEachValues(Consumer<? super ASTStereoValue> action)
    • addValues

      public void addValues(int index, ASTStereoValue element)
    • addAllValues

      public boolean addAllValues(int index, Collection<? extends ASTStereoValue> collection)
    • removeValues

      public ASTStereoValue removeValues(int index)
    • setValues

      public ASTStereoValue setValues(int index, ASTStereoValue element)
    • replaceAllValues

      public void replaceAllValues(UnaryOperator<ASTStereoValue> operator)
    • sortValues

      public void sortValues(Comparator<? super ASTStereoValue> comparator)
    • setValuesList

      public void setValuesList(List<ASTStereoValue> values)
    • accept

      public void accept(UMLStereotypeTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Specified by:
      accept in interface ASTUMLStereotypeNode
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(ExpressionsBasisTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(MCCommonLiteralsTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(MCBasicsTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(MCLiteralsBasisTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(de.monticore.visitor.ITraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Specified by:
      accept in interface de.monticore.ast.ASTNode
      Parameters:
      visitor - the visitor to dispatch to
    • _construct

      protected ASTStereotype _construct()
    • getEnclosingScope

      public IUMLStereotypeScope getEnclosingScope()
      Specified by:
      getEnclosingScope in interface de.monticore.ast.ASTNode
    • setEnclosingScope

      public void setEnclosingScope(IUMLStereotypeScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IExpressionsBasisScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCCommonLiteralsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCLiteralsBasisScope enclosingScope)