code: @Override
    public Object eGet(int featureID, boolean resolve, boolean coreType)
    {
      switch (featureID)
      {
        case SimpleAntlrPackage.ELEMENT_WITH_CARDINALITY__ELEMENT:
          return getElement();
        case SimpleAntlrPackage.ELEMENT_WITH_CARDINALITY__CARDINALITY:
          return getCardinality();
      }
      return super.eGet(featureID, resolve, coreType);
    }
docs: <!-- begin-user-doc -->
  <!-- end-user-doc -->
  @generated