code: public static Control createInstance(ControlVersion version)
      {
          switch (version)
          {
              case _0_24:
                  return new Control0_24();
  
              case _0_25:
                  return new Control0_25();
  
              default:
                  throw new IllegalArgumentException("Unknown control version: " + version);
          }
      }
docs: Create a new instance of the frontend network control for the desired
  version.
  
  @param version
  the desired network control version
  @return a new network control instance