JExpression parentContext = LoweringConstants.getStreamContext(LoweringConstants. getChildStruct(str));
JExpression parentContext = LoweringConstants.getStreamContext();
    private void registerSplitJoinTapes(SIRSplitJoin str, 					JMethodDeclaration init) {        // get parent context        JExpression parentContext =            LoweringConstants.getStreamContext(LoweringConstants.                                               getChildStruct(str));	// go through elements	for (int i=0; i<str.size(); i++) {	    // get i'th child	    SIRStream child = str.get(i);	    // get context for child	    JExpression childContext = 		LoweringConstants.getStreamContext(LoweringConstants.						   getChildStruct(child								  ));	    // get the input tape size	    int inputSize = schedule.getBufferSizeBetween(str.getSplitter(), 							  child).intValue();	    // get the output tape size	    int outputSize = schedule.getBufferSizeBetween(child,							   str.getJoiner() 							   ).intValue();	    // register an LIR node to <init>	    init.addStatement(new LIRSetParallelStream(parentContext,                                                       childContext,						       i,						       child.getInputType(),						       child.getOutputType(),						       inputSize,						       outputSize));	}    }