JVariableDefinition index = GenerateCCode.newIntLocal(INIT_PATH_INDEX, uniqueID, 0);
JVariableDefinition index = GenerateCCode.newIntLocal(INIT_PATH_INDEX, myUniqueID, 0);
    public void initTasks(Vector fields, Vector functions,			  JBlock initFunctionCalls, JBlock main)     {	//add the declarations for all the incoming buffers	for (int i = 0; i < node.inputs; i++) {	    main.addStatementFirst(new JVariableDeclarationStatement(null,								     bufferVar[i],								     null));	}	if (isFBJoiner) {	    SIRFeedbackLoop loop = (SIRFeedbackLoop)joiner.getParent();	    int delay = loop.getDelayInt();	    //don't do anything if delay is 0	    if (delay < 1)		return;	    //	    System.out.println("Constructing initPath call for " + joiner);	    	   	    //if this joiner is a feedbackloop joiner, 	    //create code to place the initPath items	    //in its loopback buffer	    JVariableDefinition loopBackBuf = bufferVar[1];	    	    assert loopBackBuf != null;	   	    //add the initpath function to the function list	    functions.add(loop.getInitPath()); 	    JMethodDeclaration initPath = loop.getInitPath();	    //create the induction variable	    JVariableDefinition index = GenerateCCode.newIntLocal(INIT_PATH_INDEX, uniqueID, 0);	    //declare the induction variable	    initFunctionCalls.addStatementFirst(new JVariableDeclarationStatement(null,										  index,										  null));	    //create the args for the initpath call	    JExpression[] args = {new JLocalVariableExpression(null, index)};	    		    	    JExpression rhs = new JMethodCallExpression(null,							new JThisExpression(null),							initPath.getName(),							args);	    JExpression lhs = 		new JArrayAccessExpression(null,					   new JLocalVariableExpression(null, loopBackBuf),					   new JLocalVariableExpression(null, index));	    	    JAssignmentExpression assign = new JAssignmentExpression(null,								     lhs,								     rhs);	    initFunctionCalls.addStatement		(GenerateCCode.makeDoLoop(new JExpressionStatement(null, assign, null),					  index,					  new JIntLiteral(delay)));	}    }