code: static ResponseList<Status> createStatusList(HttpResponse res, Configuration conf) throws TwitterException {
          try {
              if (conf.isJSONStoreEnabled()) {
                  TwitterObjectFactory.clearThreadLocalMap();
              }
              JSONArray list = res.asJSONArray();
              int size = list.length();
              ResponseList<Status> statuses = new ResponseListImpl<Status>(size, res);
              for (int i = 0; i < size; i++) {
                  JSONObject json = list.getJSONObject(i);
                  Status status = new StatusJSONImpl(json);
                  if (conf.isJSONStoreEnabled()) {
                      TwitterObjectFactory.registerJSONObject(status, json);
                  }
                  statuses.add(status);
              }
              if (conf.isJSONStoreEnabled()) {
                  TwitterObjectFactory.registerJSONObject(statuses, list);
              }
              return statuses;
          } catch (JSONException jsone) {
              throw new TwitterException(jsone);
          }
      }
docs: /*package