code: public static SimpleAntlrFactory init()
    {
      try
      {
        SimpleAntlrFactory theSimpleAntlrFactory = (SimpleAntlrFactory)EPackage.Registry.INSTANCE.getEFactory(SimpleAntlrPackage.eNS_URI);
        if (theSimpleAntlrFactory != null)
        {
          return theSimpleAntlrFactory;
        }
      }
      catch (Exception exception)
      {
        EcorePlugin.INSTANCE.log(exception);
      }
      return new SimpleAntlrFactoryImpl();
    }
docs: Creates the default factory implementation.
  <!-- begin-user-doc -->
  <!-- end-user-doc -->
  @generated