/** * <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.Initializer; import org.eclipse.gmt.modisco.java.emffrag.metadata.JavaPackage; /** * <!-- begin-user-doc --> * An implementation of the model object '<em><b>Initializer</b></em>'. * <!-- end-user-doc --> * <p> * The following features are implemented: * </p> * <ul> * <li>{@link org.eclipse.gmt.modisco.java.emffrag.impl.InitializerImpl#getBody <em>Body</em>}</li> * </ul> * * @generated */ public class InitializerImpl extends BodyDeclarationImpl implements Initializer { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected InitializerImpl() { super(); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override protected EClass eStaticClass() { return JavaPackage.eINSTANCE.getInitializer(); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Block getBody() { return (Block)eGet(JavaPackage.eINSTANCE.getInitializer_Body(), true); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setBody(Block newBody) { eSet(JavaPackage.eINSTANCE.getInitializer_Body(), newBody); } } //InitializerImpl