code: @Override
    public boolean eIsSet(int featureID)
    {
      switch (featureID)
      {
        case SimpleAntlrPackage.ANTLR_GRAMMAR__NAME:
          return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
        case SimpleAntlrPackage.ANTLR_GRAMMAR__OPTIONS:
          return options != null;
        case SimpleAntlrPackage.ANTLR_GRAMMAR__RULES:
          return rules != null && !rules.isEmpty();
      }
      return super.eIsSet(featureID);
    }
docs: <!-- begin-user-doc -->
  <!-- end-user-doc -->
  @generated