code: public ArrayList<MtasTokenString> getObjects(List<MtasTreeHit<?>> hits)
        throws IOException {
      ArrayList<MtasTokenString> tokens = new ArrayList<>();
      IndexInput inObject = indexInputList.get("object");
      IndexInput inTerm = indexInputList.get("term");
      for (MtasTreeHit<?> hit : hits) {
        MtasTokenString token = MtasCodecPostingsFormat.getToken(inObject, inTerm,
            hit.ref);
        if (token != null) {
          tokens.add(token);
        }
      }
      return tokens;
    }
docs: Gets the objects.
  
  @param hits
  the hits
  @return the objects
  @throws IOException
  Signals that an I/O exception has occurred.