else if (Integer.class.equals(type))
return "new java.lang.Integer((int) " + expr.evalLong(null) + "L)";
else if (long.class.equals(type))
return "" + expr.evalLong(null) + "L";
else if (Long.class.equals(type))
return "new java.lang.Long(" + expr.evalLong(null) + "L)";
else if (float.class.equals(type))
return "(float) " + expr.evalDouble(null);
else if (Float.class.equals(type))
return "new java.lang.Float((float) " + expr.evalDouble(null) + ")";
else if (double.class.equals(type)) {