code: private void discardData() throws ClassNotFoundException, IOException {
          primitiveData = emptyStream;
          boolean resolve = mustResolve;
          mustResolve = false;
          do {
              byte tc = nextTC();
              if (tc == TC_ENDBLOCKDATA) {
                  mustResolve = resolve;
                  return; // End of annotation
              }
              readContent(tc);
          } while (true);
      }
docs: Reads and discards block data and objects until TC_ENDBLOCKDATA is found.
  
  @throws IOException
  If an IO exception happened when reading the optional class
  annotation.
  @throws ClassNotFoundException
  If the class corresponding to the class descriptor could not
  be found.