@Nonnull
	public static String toString(@Nullable Number number) {
		if (number == null) return "0";

		if (number instanceof Integer || number instanceof Byte || number instanceof Short) {
			return Integer.toString(number.intValue());
		} else if (number instanceof Double) {
			return Double.toString(number.doubleValue());
		} else if (number instanceof Long) {
			return number.longValue() + "L";
		} else if (number instanceof Float) {
			return number.floatValue() + "F";
		}

		throw new IllegalArgumentException("Unsupported number type: " + number.getClass().getName());
	}
@param number
		Value to convert to string.

@return String representation of value.
recaf-core/src/main/java/software/coley/recaf/util/NumberUtil.java