/** * <copyright> * </copyright> * * $Id$ */ package org.eclipse.gmt.modisco.java.emffrag.impl; import org.eclipse.emf.ecore.EClass; import org.eclipse.gmt.modisco.java.CastExpression; import org.eclipse.gmt.modisco.java.Expression; import org.eclipse.gmt.modisco.java.TypeAccess; import org.eclipse.gmt.modisco.java.emffrag.metadata.JavaPackage; /** * <!-- begin-user-doc --> * An implementation of the model object '<em><b>Cast Expression</b></em>'. * <!-- end-user-doc --> * <p> * The following features are implemented: * </p> * <ul> * <li>{@link org.eclipse.gmt.modisco.java.emffrag.impl.CastExpressionImpl#getExpression <em>Expression</em>}</li> * <li>{@link org.eclipse.gmt.modisco.java.emffrag.impl.CastExpressionImpl#getType <em>Type</em>}</li> * </ul> * * @generated */ public class CastExpressionImpl extends ExpressionImpl implements CastExpression { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected CastExpressionImpl() { super(); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override protected EClass eStaticClass() { return JavaPackage.eINSTANCE.getCastExpression(); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Expression getExpression() { return (Expression)eGet(JavaPackage.eINSTANCE.getCastExpression_Expression(), true); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setExpression(Expression newExpression) { eSet(JavaPackage.eINSTANCE.getCastExpression_Expression(), newExpression); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public TypeAccess getType() { return (TypeAccess)eGet(JavaPackage.eINSTANCE.getCastExpression_Type(), true); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setType(TypeAccess newType) { eSet(JavaPackage.eINSTANCE.getCastExpression_Type(), newType); } } //CastExpressionImpl