@Nonnull
	private static Number parseDecimal(@Nonnull String text) {
		if (text.endsWith("F")) {
			int end = text.indexOf("F");
			if (end > 0)
				text = text.substring(0, end);
			return Float.parseFloat(text.substring(0, end));
		} else if (text.endsWith("D") || text.contains(".")) {
			int end = text.indexOf("D");
			if (end > 0)
				text = text.substring(0, end);
			return Double.parseDouble(text);
		} else
			return Double.parseDouble(text);
	}
@param text
		Text input that represents a decimal number.

@return Decimal number, either {@link Float} or {@link Double}.
recaf-core/src/main/java/software/coley/recaf/util/NumberUtil.java