if( cmdObj instanceof CompleteWorkItemCommand ) {
addPossiblyNullObject(((CompleteWorkItemCommand) cmdObj).getResult(), extraClassInstanceList);
} else if( cmdObj instanceof SignalEventCommand ) {
addPossiblyNullObject(((SignalEventCommand) cmdObj).getEvent(), extraClassInstanceList);
} else if( cmdObj instanceof StartCorrelatedProcessCommand ) {
StartCorrelatedProcessCommand cmd = (StartCorrelatedProcessCommand) cmdObj;
if( cmd.getData() != null ) {
addPossiblyNullObject(cmd.getData().getDatas(), extraClassInstanceList);
}
addPossiblyNullObject(cmd.getParameter(), extraClassInstanceList);
} else if( cmdObj instanceof StartProcessCommand ) {
StartProcessCommand startProcCmd = (StartProcessCommand) cmdObj;
if( startProcCmd.getData() != null ) {
addPossiblyNullObject(startProcCmd.getData().getDatas(), extraClassInstanceList);
}