public byte[] toByteArray() {
    if (state != State.PASS) {
      logger.log(Level.WARNING, "Failed to instrument class " + className + " because " + message);
      return original;
    }
    return cw.toByteArray();
  }
Returns the byte array that contains the byte code for this class.

@return a byte array.
src/main/java/com/google/monitoring/runtime/instrumentation/VerifyingClassAdapter.java