else if (me.getParent() instanceof SIRSplitJoin) { if (!currentMethod.equals("add")) at.dms.util.Utils.fail("Anonymous Stream Creation not in add() in SplitJoin"); ((SIRSplitJoin)me.getParent()).add(me); }
    private void registerWithParent(SIRStream me) {	if (me.getParent() == null)	    return;	if (me.getParent() instanceof SIRPipeline) {	    if (!currentMethod.equals("add"))		at.dms.util.Utils.fail("Anonymous Stream Creation not in add() in Pipeline");	    ((SIRPipeline)me.getParent()).add(me);	}	else if (me.getParent() instanceof SIRFeedbackLoop) {	    //Can only add using setBody in Feedbackloop	    if (currentMethod.equals("setBody"))		((SIRFeedbackLoop)me.getParent()).setBody(me);	    else if (currentMethod.equals("setLoop"))		((SIRFeedbackLoop)me.getParent()).setLoop(me);	    else 		at.dms.util.Utils.fail("Anonymous Stream Creation not in setBody() in FeedbackLoop");	}	else	    at.dms.util.Utils.fail("Unimplemented SIRStream (cannot register)");    }