Class ASTTryStatement3

    • Constructor Detail

      • ASTTryStatement3

        protected ASTTryStatement3()
    • Method Detail

      • deepEquals

        public boolean deepEquals​(java.lang.Object o,
                                  boolean forceSameOrder)
        Specified by:
        deepEquals in interface ASTMCBlockStatement
        Specified by:
        deepEquals in interface ASTMCStatement
        Specified by:
        deepEquals in interface de.monticore.ast.ASTNode
      • containsTryLocalVariableDeclaration

        public boolean containsTryLocalVariableDeclaration​(java.lang.Object element)
      • containsAllTryLocalVariableDeclarations

        public boolean containsAllTryLocalVariableDeclarations​(java.util.Collection<?> collection)
      • isEmptyTryLocalVariableDeclarations

        public boolean isEmptyTryLocalVariableDeclarations()
      • sizeTryLocalVariableDeclarations

        public int sizeTryLocalVariableDeclarations()
      • toArrayTryLocalVariableDeclarations

        public java.lang.Object[] toArrayTryLocalVariableDeclarations()
      • parallelStreamTryLocalVariableDeclarations

        public java.util.stream.Stream<ASTTryLocalVariableDeclaration> parallelStreamTryLocalVariableDeclarations()
      • indexOfTryLocalVariableDeclaration

        public int indexOfTryLocalVariableDeclaration​(java.lang.Object element)
      • lastIndexOfTryLocalVariableDeclaration

        public int lastIndexOfTryLocalVariableDeclaration​(java.lang.Object element)
      • equalsTryLocalVariableDeclarations

        public boolean equalsTryLocalVariableDeclarations​(java.lang.Object o)
      • hashCodeTryLocalVariableDeclarations

        public int hashCodeTryLocalVariableDeclarations()
      • listIteratorTryLocalVariableDeclarations

        public java.util.ListIterator<ASTTryLocalVariableDeclaration> listIteratorTryLocalVariableDeclarations​(int index)
      • subListTryLocalVariableDeclarations

        public java.util.List<ASTTryLocalVariableDeclaration> subListTryLocalVariableDeclarations​(int start,
                                                                                                  int end)
      • containsCatchClause

        public boolean containsCatchClause​(java.lang.Object element)
      • containsAllCatchClauses

        public boolean containsAllCatchClauses​(java.util.Collection<?> collection)
      • isEmptyCatchClauses

        public boolean isEmptyCatchClauses()
      • iteratorCatchClauses

        public java.util.Iterator<ASTCatchClause> iteratorCatchClauses()
      • sizeCatchClauses

        public int sizeCatchClauses()
      • toArrayCatchClauses

        public java.lang.Object[] toArrayCatchClauses()
      • spliteratorCatchClauses

        public java.util.Spliterator<ASTCatchClause> spliteratorCatchClauses()
      • streamCatchClauses

        public java.util.stream.Stream<ASTCatchClause> streamCatchClauses()
      • parallelStreamCatchClauses

        public java.util.stream.Stream<ASTCatchClause> parallelStreamCatchClauses()
      • getCatchClause

        public ASTCatchClause getCatchClause​(int index)
      • indexOfCatchClause

        public int indexOfCatchClause​(java.lang.Object element)
      • lastIndexOfCatchClause

        public int lastIndexOfCatchClause​(java.lang.Object element)
      • equalsCatchClauses

        public boolean equalsCatchClauses​(java.lang.Object o)
      • hashCodeCatchClauses

        public int hashCodeCatchClauses()
      • listIteratorCatchClauses

        public java.util.ListIterator<ASTCatchClause> listIteratorCatchClauses()
      • listIteratorCatchClauses

        public java.util.ListIterator<ASTCatchClause> listIteratorCatchClauses​(int index)
      • subListCatchClauses

        public java.util.List<ASTCatchClause> subListCatchClauses​(int start,
                                                                  int end)
      • getCatchClauseList

        public java.util.List<ASTCatchClause> getCatchClauseList()
      • isPresentFinally

        public boolean isPresentFinally()
      • clearTryLocalVariableDeclarations

        public void clearTryLocalVariableDeclarations()
      • addAllTryLocalVariableDeclarations

        public boolean addAllTryLocalVariableDeclarations​(java.util.Collection<? extends ASTTryLocalVariableDeclaration> collection)
      • removeTryLocalVariableDeclaration

        public boolean removeTryLocalVariableDeclaration​(java.lang.Object element)
      • removeAllTryLocalVariableDeclarations

        public boolean removeAllTryLocalVariableDeclarations​(java.util.Collection<?> collection)
      • retainAllTryLocalVariableDeclarations

        public boolean retainAllTryLocalVariableDeclarations​(java.util.Collection<?> collection)
      • removeIfTryLocalVariableDeclaration

        public boolean removeIfTryLocalVariableDeclaration​(java.util.function.Predicate<? super ASTTryLocalVariableDeclaration> filter)
      • forEachTryLocalVariableDeclarations

        public void forEachTryLocalVariableDeclarations​(java.util.function.Consumer<? super ASTTryLocalVariableDeclaration> action)
      • addAllTryLocalVariableDeclarations

        public boolean addAllTryLocalVariableDeclarations​(int index,
                                                          java.util.Collection<? extends ASTTryLocalVariableDeclaration> collection)
      • replaceAllTryLocalVariableDeclarations

        public void replaceAllTryLocalVariableDeclarations​(java.util.function.UnaryOperator<ASTTryLocalVariableDeclaration> operator)
      • sortTryLocalVariableDeclarations

        public void sortTryLocalVariableDeclarations​(java.util.Comparator<? super ASTTryLocalVariableDeclaration> comparator)
      • setTryLocalVariableDeclarationList

        public void setTryLocalVariableDeclarationList​(java.util.List<ASTTryLocalVariableDeclaration> tryLocalVariableDeclarations)
      • clearCatchClauses

        public void clearCatchClauses()
      • addCatchClause

        public boolean addCatchClause​(ASTCatchClause element)
      • addAllCatchClauses

        public boolean addAllCatchClauses​(java.util.Collection<? extends ASTCatchClause> collection)
      • removeCatchClause

        public boolean removeCatchClause​(java.lang.Object element)
      • removeAllCatchClauses

        public boolean removeAllCatchClauses​(java.util.Collection<?> collection)
      • retainAllCatchClauses

        public boolean retainAllCatchClauses​(java.util.Collection<?> collection)
      • removeIfCatchClause

        public boolean removeIfCatchClause​(java.util.function.Predicate<? super ASTCatchClause> filter)
      • forEachCatchClauses

        public void forEachCatchClauses​(java.util.function.Consumer<? super ASTCatchClause> action)
      • addCatchClause

        public void addCatchClause​(int index,
                                   ASTCatchClause element)
      • addAllCatchClauses

        public boolean addAllCatchClauses​(int index,
                                          java.util.Collection<? extends ASTCatchClause> collection)
      • removeCatchClause

        public ASTCatchClause removeCatchClause​(int index)
      • replaceAllCatchClauses

        public void replaceAllCatchClauses​(java.util.function.UnaryOperator<ASTCatchClause> operator)
      • sortCatchClauses

        public void sortCatchClauses​(java.util.Comparator<? super ASTCatchClause> comparator)
      • setCatchClauseList

        public void setCatchClauseList​(java.util.List<ASTCatchClause> catchClauses)
      • setFinallyAbsent

        public void setFinallyAbsent()
      • accept

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

        public void accept​(MCVarDeclarationStatementsTraverser 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​(ExpressionsBasisTraverser visitor)
        Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
        Parameters:
        visitor - the visitor to dispatch to
      • accept

        public void accept​(OOSymbolsTraverser 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​(BasicSymbolsTraverser 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
      • setEnclosingScope

        public void setEnclosingScope​(IMCBasicTypesScope enclosingScope)
      • setEnclosingScope

        public void setEnclosingScope​(IOOSymbolsScope enclosingScope)
      • setEnclosingScope

        public void setEnclosingScope​(IMCBasicsScope enclosingScope)
      • setEnclosingScope

        public void setEnclosingScope​(IBasicSymbolsScope enclosingScope)
      • evaluate

        public de.monticore.interpreter.Value evaluate​(de.monticore.interpreter.ModelInterpreter interpreter)
        Specified by:
        evaluate in interface de.monticore.ast.ASTNode