| /**
|
| * *******************************************************************************
|
| * Copyright (c) 2009, 2019 Mia-Software and others.
|
| * All rights reserved. This program and the accompanying materials
|
| * are made available under the terms of the Eclipse Public License v2.0
|
| * which accompanies this distribution, and is available at
|
| * http://www.eclipse.org/legal/epl-v20.html
|
| *
|
| * Contributors:
|
| *
|
| * Sebastien Minguet (Mia-Software) - initial API and implementation
|
| * Frederic Madiot (Mia-Software) - initial API and implementation
|
| * Fabien Giquel (Mia-Software) - initial API and implementation
|
| * Gabriel Barbier (Mia-Software) - initial API and implementation
|
| * Erwan Breton (Sodifrance) - initial API and implementation
|
| * Romain Dervaux (Mia-Software) - initial API and implementation
|
| * *******************************************************************************
|
| *
|
| * $Id$
|
| */ |
| package org.eclipse.modisco.java;
|
|
|
| import org.eclipse.emf.common.util.EList;
|
| import org.eclipse.modisco.java.Block;
|
| import org.eclipse.modisco.java.CatchClause;
|
| import org.eclipse.modisco.java.Statement;
|
|
|
| /**
|
| * <!-- begin-user-doc -->
|
| * A representation of the model object '<em><b>Try Statement</b></em>'.
|
| * <!-- end-user-doc -->
|
| *
|
| * <p>
|
| * The following features are supported:
|
| * <ul>
|
| * <li>{@link org.eclipse.modisco.java.TryStatement#getBody <em>Body</em>}</li>
|
| * <li>{@link org.eclipse.modisco.java.TryStatement#getFinally <em>Finally</em>}</li>
|
| * <li>{@link org.eclipse.modisco.java.TryStatement#getCatchClauses <em>Catch Clauses</em>}</li>
|
| * </ul>
|
| * </p>
|
| *
|
| * @see org.eclipse.modisco.java.emf.JavaPackage#getTryStatement()
|
| * @model
|
| * @generated
|
| */
|
| public interface TryStatement extends Statement {
|
| /**
|
| * Returns the value of the '<em><b>Body</b></em>' containment reference.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Body</em>' containment reference isn't clear,
|
| * there really should be more of a description here...
|
| * </p>
|
| * <!-- end-user-doc -->
|
| * @return the value of the '<em>Body</em>' containment reference.
|
| * @see #setBody(Block)
|
| * @see org.eclipse.modisco.java.emf.JavaPackage#getTryStatement_Body()
|
| * @model containment="true" required="true" ordered="false"
|
| * @generated
|
| */
|
| Block getBody();
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.modisco.java.TryStatement#getBody <em>Body</em>}' containment reference.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @param value the new value of the '<em>Body</em>' containment reference.
|
| * @see #getBody()
|
| * @generated
|
| */
|
| void setBody(Block value);
|
|
|
| /**
|
| * Returns the value of the '<em><b>Finally</b></em>' containment reference.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Finally</em>' containment reference isn't clear,
|
| * there really should be more of a description here...
|
| * </p>
|
| * <!-- end-user-doc -->
|
| * @return the value of the '<em>Finally</em>' containment reference.
|
| * @see #setFinally(Block)
|
| * @see org.eclipse.modisco.java.emf.JavaPackage#getTryStatement_Finally()
|
| * @model containment="true" ordered="false"
|
| * @generated
|
| */
|
| Block getFinally();
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.modisco.java.TryStatement#getFinally <em>Finally</em>}' containment reference.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @param value the new value of the '<em>Finally</em>' containment reference.
|
| * @see #getFinally()
|
| * @generated
|
| */
|
| void setFinally(Block value);
|
|
|
| /**
|
| * Returns the value of the '<em><b>Catch Clauses</b></em>' containment reference list.
|
| * The list contents are of type {@link org.eclipse.modisco.java.CatchClause}.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Catch Clauses</em>' containment reference list isn't clear,
|
| * there really should be more of a description here...
|
| * </p>
|
| * <!-- end-user-doc -->
|
| * @return the value of the '<em>Catch Clauses</em>' containment reference list.
|
| * @see org.eclipse.modisco.java.emf.JavaPackage#getTryStatement_CatchClauses()
|
| * @model containment="true"
|
| * @generated
|
| */
|
| EList<CatchClause> getCatchClauses();
|
|
|
| } // TryStatement
|