/**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.eclipse.gmt.modisco.java.emffrag.impl;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.gmt.modisco.java.Block;
import org.eclipse.gmt.modisco.java.Expression;
import org.eclipse.gmt.modisco.java.SynchronizedStatement;
import org.eclipse.gmt.modisco.java.emffrag.metadata.JavaPackage;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Synchronized Statement</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* </p>
* <ul>
* <li>{@link org.eclipse.gmt.modisco.java.emffrag.impl.SynchronizedStatementImpl#getBody <em>Body</em>}</li>
* <li>{@link org.eclipse.gmt.modisco.java.emffrag.impl.SynchronizedStatementImpl#getExpression <em>Expression</em>}</li>
* </ul>
*
* @generated
*/
public class SynchronizedStatementImpl extends StatementImpl implements SynchronizedStatement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected SynchronizedStatementImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return JavaPackage.eINSTANCE.getSynchronizedStatement();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Block getBody() {
return (Block)eGet(JavaPackage.eINSTANCE.getSynchronizedStatement_Body(), true);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setBody(Block newBody) {
eSet(JavaPackage.eINSTANCE.getSynchronizedStatement_Body(), newBody);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Expression getExpression() {
return (Expression)eGet(JavaPackage.eINSTANCE.getSynchronizedStatement_Expression(), true);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setExpression(Expression newExpression) {
eSet(JavaPackage.eINSTANCE.getSynchronizedStatement_Expression(), newExpression);
}
} //SynchronizedStatementImpl