code: @Override
    public boolean eIsSet(int featureID)
    {
      switch (featureID)
      {
        case SimpleAntlrPackage.RULE__FRAGMENT:
          return fragment != FRAGMENT_EDEFAULT;
        case SimpleAntlrPackage.RULE__NAME:
          return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
        case SimpleAntlrPackage.RULE__PARAMETERS:
          return parameters != null && !parameters.isEmpty();
        case SimpleAntlrPackage.RULE__BODY:
          return body != null;
      }
      return super.eIsSet(featureID);
    }
docs: <!-- begin-user-doc -->
  <!-- end-user-doc -->
  @generated