private static void evaluate(ArrayDef array) throws ExpressionEvaluationException {
EList<Expression> bounds = array.getBounds();
for (int i = 0; i < bounds.size(); i++) {
String val = evaluate(bounds.get(i));
ValueExpression ve = factory.createValueExpression();
ve.setValue(val);
bounds.set(i, ve);
}
}