IType type = getTypeDeclaration().getType();
TypeHelper helper = getTypeHelper();
// Integral types: int/Integer, long/Long => the result is a Long
if (helper.isIntegralType(type)) {
return helper.longType();
}
// Floating types: float/Float, double/Double => the result is a Double
if (helper.isFloatingType(type)) {
return helper.doubleType();