if (str instanceof SIRContainer) {
if (str instanceof SIRContainer && pred.size()>0) {
    public final SIRStream doTransform(SIRStream str) {	// do preds	if (str instanceof SIRContainer) {	    doPredTransforms((SIRContainer)str);	}	// do this transform	SIRStream result = doMyTransform(str);	// do succ's	if (str instanceof SIRContainer) {	    doSuccTransforms((SIRContainer)result);	}	return result;    }