private void addConstants(TableChooserDialog tableChooserDialog,
			HashMap<Address, Long> constLocs) {
		Set<Address> keys;
		keys = constLocs.keySet();
		Address[] keyArray = keys.toArray(new Address[0]);
		Arrays.sort(keyArray);
		for (Address loc : keyArray) {
			Long constant = constLocs.get(loc);
			tableChooserDialog.add(new ConstUseLocation(currentProgram, loc, constant, null));
		}
	}
Try to locate the Varnode that represents the variable in the listing or
decompiler. In the decompiler this could be a local/parameter at any
point in the decompiler. In the listing, it must be a parameter variable.

@return the varnode
Ghidra/Features/Decompiler/ghidra_scripts/ShowConstantUse.java