name = NAMES[type];
  public Cursor(int type)  {    if (type < 0 || type >= PREDEFINED_COUNT)      throw new IllegalArgumentException ("invalid cursor " + type);    this.type = type;    // FIXME: lookup and set name?  }