if(logger.isLoggable(Level.FINE))
logger.fine(Thread.currentThread().getName()+ "constant expression "+e.toString());
Object result = e.evaluate();
String constantSymbol = cd.getIdent();
// xiping's modification, 06/23/09
PropertySymbol constantSym = (PropertySymbol)symTab.getSymbol(constantSymbol);
// Collection c = symTab.getSymbol(constantSymbol);
// Iterator it = c.iterator();
// PropertySymbol constantSym = (PropertySymbol)it.next();
if(logger.isLoggable(Level.FINE))
logger.fine(Thread.currentThread().getName()+"constantSym name"+ constantSym.getName()+" current value:"+constantSym.getValue()+" setting value to:"+result.toString());
constantSym.setValue(result);
}
logger.exiting(sourceClass,Thread.currentThread().getName()+" "+ "evaluate");
}