{
    EStructuralFeature eStructuralFeature = eClass.getEStructuralFeature(name);
    if (eStructuralFeature instanceof EAttribute)
    {
      return (EAttribute)eStructuralFeature;
    }
    throw new IllegalArgumentException("The feature '" + name + "' is not a valid attribute");
  }