code: public void setBody(RuleElement newBody)
    {
      if (newBody != body)
      {
        NotificationChain msgs = null;
        if (body != null)
          msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SimpleAntlrPackage.RULE__BODY, null, msgs);
        if (newBody != null)
          msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SimpleAntlrPackage.RULE__BODY, null, msgs);
        msgs = basicSetBody(newBody, msgs);
        if (msgs != null) msgs.dispatch();
      }
      else if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, SimpleAntlrPackage.RULE__BODY, newBody, newBody));
    }
docs: <!-- begin-user-doc -->
  <!-- end-user-doc -->
  @generated