public static int parseInt(String intStr) {
		return (int) parseLong(intStr);
	}
Parse the given string as either a hex number (if it starts with 0x) or a
decimal number.

@param intStr the string to parse into an integer
@return the parsed integer.
@throws NumberFormatException if the given string does not represent a
            valid integer.
Ghidra/Framework/Generic/src/main/java/ghidra/util/xml/XmlUtilities.java