System.out.println(generatedVariables.recvBuffer);
SpaceTimeBackend.println(generatedVariables.recvBuffer.toString());
    private JStatement receiveCode(FilterContent filter, CType type, GeneratedVariables generatedVariables) {        if (filterInfo.noBuffer())             return null;        //the name of the method we are calling, this will        //depend on type of the pop, by default set it to be the scalar receive        String receiveMethodName = (gdnInput ? gdnReceiveMethod : staticReceiveMethod);        JBlock statements = new JBlock(null, new JStatement[0], null);            //if it is not a scalar receive change the name to the appropriate         //method call, from struct.h        if (type.isArrayType())             receiveMethodName = arrayReceiveMethod;        else if (type.isClassType()) {            receiveMethodName = structReceiveMethodPrefix  + type.toString();        }        System.out.println(generatedVariables.recvBuffer);        //create the array access expression to access the buffer         JArrayAccessExpression arrayAccess =             new JArrayAccessExpression(null,                                       new JFieldAccessExpression                                       (null, new JThisExpression(null),                                        generatedVariables.recvBuffer.getIdent()),                                       bufferIndex(filter,                                                   generatedVariables));            //put the arrayaccess in an array...        JExpression[] bufferAccess =             {new JParenthesedExpression(null,                                        arrayAccess)};             //the method call expression, for scalars, flatIRtoC        //changes this into c code thatw will perform the receive...        JExpression exp =            new JMethodCallExpression(null,  new JThisExpression(null),                                      receiveMethodName,                                      bufferAccess);            ((JMethodCallExpression)exp).setTapeType(filter.getInputType());        //return a statement        return new JExpressionStatement(null, exp, null);    }