Class ASTMCInnerType

java.lang.Object
de.monticore.ast.ASTCNode
de.monticore.types.mcfullgenerictypes._ast.ASTMCInnerType
All Implemented Interfaces:
de.monticore.ast.ASTNode, ASTMCFullGenericTypesNode, Cloneable

public class ASTMCInnerType extends de.monticore.ast.ASTCNode implements ASTMCFullGenericTypesNode
  • Field Details

  • Constructor Details

    • ASTMCInnerType

      protected ASTMCInnerType()
  • Method Details

    • 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 ASTMCInnerType deepClone()
      Specified by:
      deepClone in interface de.monticore.ast.ASTNode
      Specified by:
      deepClone in class de.monticore.ast.ASTCNode
    • deepClone

      public ASTMCInnerType deepClone(ASTMCInnerType result)
    • getName

      public String getName()
    • containsMCTypeArgument

      public boolean containsMCTypeArgument(Object element)
    • containsAllMCTypeArguments

      public boolean containsAllMCTypeArguments(Collection<?> collection)
    • isEmptyMCTypeArguments

      public boolean isEmptyMCTypeArguments()
    • iteratorMCTypeArguments

      public Iterator<ASTMCTypeArgument> iteratorMCTypeArguments()
    • sizeMCTypeArguments

      public int sizeMCTypeArguments()
    • toArrayMCTypeArguments

      public ASTMCTypeArgument[] toArrayMCTypeArguments(ASTMCTypeArgument[] array)
    • toArrayMCTypeArguments

      public Object[] toArrayMCTypeArguments()
    • spliteratorMCTypeArguments

      public Spliterator<ASTMCTypeArgument> spliteratorMCTypeArguments()
    • streamMCTypeArguments

      public Stream<ASTMCTypeArgument> streamMCTypeArguments()
    • parallelStreamMCTypeArguments

      public Stream<ASTMCTypeArgument> parallelStreamMCTypeArguments()
    • getMCTypeArgument

      public ASTMCTypeArgument getMCTypeArgument(int index)
    • indexOfMCTypeArgument

      public int indexOfMCTypeArgument(Object element)
    • lastIndexOfMCTypeArgument

      public int lastIndexOfMCTypeArgument(Object element)
    • equalsMCTypeArguments

      public boolean equalsMCTypeArguments(Object o)
    • hashCodeMCTypeArguments

      public int hashCodeMCTypeArguments()
    • listIteratorMCTypeArguments

      public ListIterator<ASTMCTypeArgument> listIteratorMCTypeArguments()
    • listIteratorMCTypeArguments

      public ListIterator<ASTMCTypeArgument> listIteratorMCTypeArguments(int index)
    • subListMCTypeArguments

      public List<ASTMCTypeArgument> subListMCTypeArguments(int start, int end)
    • getMCTypeArgumentList

      public List<ASTMCTypeArgument> getMCTypeArgumentList()
    • setName

      public void setName(String name)
    • clearMCTypeArguments

      public void clearMCTypeArguments()
    • addMCTypeArgument

      public boolean addMCTypeArgument(ASTMCTypeArgument element)
    • addAllMCTypeArguments

      public boolean addAllMCTypeArguments(Collection<? extends ASTMCTypeArgument> collection)
    • removeMCTypeArgument

      public boolean removeMCTypeArgument(Object element)
    • removeAllMCTypeArguments

      public boolean removeAllMCTypeArguments(Collection<?> collection)
    • retainAllMCTypeArguments

      public boolean retainAllMCTypeArguments(Collection<?> collection)
    • removeIfMCTypeArgument

      public boolean removeIfMCTypeArgument(Predicate<? super ASTMCTypeArgument> filter)
    • forEachMCTypeArguments

      public void forEachMCTypeArguments(Consumer<? super ASTMCTypeArgument> action)
    • addMCTypeArgument

      public void addMCTypeArgument(int index, ASTMCTypeArgument element)
    • addAllMCTypeArguments

      public boolean addAllMCTypeArguments(int index, Collection<? extends ASTMCTypeArgument> collection)
    • removeMCTypeArgument

      public ASTMCTypeArgument removeMCTypeArgument(int index)
    • setMCTypeArgument

      public ASTMCTypeArgument setMCTypeArgument(int index, ASTMCTypeArgument element)
    • replaceAllMCTypeArguments

      public void replaceAllMCTypeArguments(UnaryOperator<ASTMCTypeArgument> operator)
    • sortMCTypeArguments

      public void sortMCTypeArguments(Comparator<? super ASTMCTypeArgument> comparator)
    • setMCTypeArgumentList

      public void setMCTypeArgumentList(List<ASTMCTypeArgument> mCTypeArguments)
    • accept

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

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

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

      public void accept(MCBasicTypesTraverser 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(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 ASTMCInnerType _construct()
    • getEnclosingScope

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

      public void setEnclosingScope(IMCFullGenericTypesScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCSimpleGenericTypesScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCCollectionTypesScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicTypesScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicsScope enclosingScope)