printSchedule(schedObject, "entering gettwostage: ");
    private JMethodDeclaration getTwoStageWork(List schedObject) {	printSchedule(schedObject, "entering gettwostage: ");	// see if we have a list corresponding to a two-stage filter	SIRTwoStageFilter filter = getTwoStageFilter(schedObject);	if (filter!=null) {	    // return the init or steady-state work function depending	    // on how long the list is.  If the list is just one	    // element, then we must be doing init; otherwise steady.	    if (schedObject.size()==1) {		return filter.getInitWork();	    } else {		Utils.assert(schedObject.size()==2,			     "Unexpected size of " + schedObject.size() + 			     " for size of list simulating two-stage filter");		return filter.getWork();	    }	}	// otherwise, not a two-stage filter; return null	return null;    }