public static SIRContainer makeWrapper(SIRStream str) { SIRPipeline wrapper = new SIRPipeline(str.getParent(),
public static SIRPipeline makeWrapper(SIRStream str) {   SIRContainer oldParent = str.getParent(); SIRPipeline wrapper = new SIRPipeline(oldParent,
    public static SIRContainer makeWrapper(SIRStream str) {	SIRPipeline wrapper = new SIRPipeline(str.getParent(),					      "wrapper_" + str.getName(), 					      JFieldDeclaration.EMPTY(), 					      JMethodDeclaration.EMPTY());	wrapper.setInit(SIRStream.makeEmptyInit());	wrapper.add(str);	if (str.getParent()!=null) {	    str.getParent().replace(str, wrapper);	}	return wrapper;    }