filterInfo.filter.getWork().addStatementFirst( new JVariableDeclarationStatement(generatedVariables.simpleIndex));
    private void convertCommExprs()     {        SLIRReplacingVisitor convert;            ConvertPushesToMethCall.doit(filterInfo, gdnOutput);                if (filterInfo.isSimple()) {            convert =                 new ConvertCommunicationSimple(generatedVariables, filterInfo);        }        else            convert = new ConvertCommunication(generatedVariables, filterInfo);            JMethodDeclaration[] methods = filterInfo.filter.getMethods();        if(methods!=null)            for (int i = 0; i < methods.length; i++) {                //iterate over the statements and call the ConvertCommunication                //class to convert peek, pop                for (ListIterator it = methods[i].getStatementIterator();                     it.hasNext(); ){                    ((JStatement)it.next()).accept(convert);                }            }    }