@Deprecated(since = "11.3", forRemoval = true)
	public static Long parseNumber(String s, Long defaultValue) {
		s = (s == null ? "" : s.trim());
		if (s.length() == 0) {
			return defaultValue;
		}

		long value = 0;
		try {
			if (s.startsWith(HEX_PREFIX_x) || s.startsWith(HEX_PREFIX_X)) {
				value = Integer.parseInt(s.substring(2), 16);
			}
			else {
				value = Integer.parseInt(s);
			}
		}
		catch (NumberFormatException e) {
			// do nothing special; use default value
			return defaultValue;
		}

		return value;
	}
Parses the given string as a numeric value, detecting whether or not it begins with a hex
prefix, and if not, parses as a long int value.
@param s the string to parse
@param defaultValue the default value to use if the string cannot be parsed
@return the long value
@deprecated use {@link #parseLong(String, long)} instead
Ghidra/Framework/Generic/src/main/java/ghidra/util/NumericUtilities.java