List theCode) {
List<JStatement> theCode) {
    private void mungFieldName(StaticAndField sf, final String newFieldName,                               JFieldDeclaration theDecl, 			       List/*<JStatement>*/ theCode) {        final String staticClassName = sf.getTheStatic();        final String oldFieldName = sf.getTheField();                for (Iterator it = theCode.iterator(); it.hasNext();) {            ((JStatement)it.next()).accept(new KjcEmptyVisitor() {                public void visitFieldExpression(JFieldAccessExpression self,                                                 JExpression left,                                                  String ident) {                    super.visitFieldExpression(self,left,ident);                    JExpression newLeft =                       new JTypeNameExpression(left.getTokenReference(),                                               staticClassName);                    if (ident.equals(oldFieldName)) {                        //set prefix as would appear in client code                        self.setPrefix(newLeft);                    }                    else if (debugPrint) {                        System.err.println("Leaving untouched: "+ self);                    }                }                });        }                theDecl.accept(new KjcEmptyVisitor() {                public void visitFieldDeclaration(JFieldDeclaration self,                                                   int modifiers,                                                   CType type,                                                   String ident,                                                   JExpression expr) {                    if (ident.equals(oldFieldName)) {                        JVariableDefinition oldVar = self.getVariable();                        JVariableDefinition newVar = new JVariableDefinition(                                oldVar.getTokenReference(),                                 oldVar.getModifiers(),                                oldVar.getType(),                                 newFieldName,                                 oldVar.getValue());                                                  self.setVariable(newVar);                        identToVarDefn.put(newFieldName,newVar);                    }                }            });    }