code: @SuppressWarnings("unchecked")
    @Override
    public void eSet(int featureID, Object newValue)
    {
      switch (featureID)
      {
        case SimpleAntlrPackage.ANTLR_GRAMMAR__NAME:
          setName((String)newValue);
          return;
        case SimpleAntlrPackage.ANTLR_GRAMMAR__OPTIONS:
          setOptions((Options)newValue);
          return;
        case SimpleAntlrPackage.ANTLR_GRAMMAR__RULES:
          getRules().clear();
          getRules().addAll((Collection<? extends Rule>)newValue);
          return;
      }
      super.eSet(featureID, newValue);
    }
docs: <!-- begin-user-doc -->
  <!-- end-user-doc -->
  @generated