ErrorMsg.reportStatus("foo", p.sysex);
ErrorMsg.reportStatus("foo", ((Patch)p).sysex);
  public void storePatch (Patch p, int bankNum, int patchNum)  {    // set specified patch in the User bank    byte location = (byte)patchNum;    byte opcode = QSConstants.OPCODE_MIDI_USER_MIX_DUMP;    byte oldOpcode = p.sysex[QSConstants.POSITION_OPCODE];    byte oldLocation = p.sysex[QSConstants.POSITION_LOCATION];    // set the opcode and target location    p.sysex[QSConstants.POSITION_OPCODE] = opcode;    p.sysex[QSConstants.POSITION_LOCATION] = location;    ErrorMsg.reportStatus("foo", p.sysex);    //setBankNum (bankNum);    //setPatchNum (patchNum);    // actually send the patch    sendPatchWorker (p);    // restore the old values    p.sysex[QSConstants.POSITION_OPCODE] = oldOpcode;    p.sysex[QSConstants.POSITION_LOCATION] = oldLocation;  }