code: public int getLength() {
          int length = 12;
  
          if (mCodeBuffer != null) {
              length += mCodeBuffer.getByteCodes().length;
              ExceptionHandler[] handlers = mCodeBuffer.getExceptionHandlers();
              if (handlers != null) {
                  length += 8 * handlers.length;
              }
          }
          
          int size = mAttributes.size();
          for (int i=0; i<size; i++) {
              length += mAttributes.get(i).getLength();
              length += 6; // attributes have an intial 6 byte length
          }
          
          return length;
      }
docs: Returns the length (in bytes) of this object in the class file.