public Variable asLocalVariable() throws InvalidInputException {
		int firstUseOffset = !isStackStorage() ? (int) lexicalOffset : 0;

		LocalVariableImpl result = new LocalVariableImpl(name.getName(), firstUseOffset, type,
			getVariableStorage(), program.getGhidraProgram());
		result.setComment(comment);

		return result;
	}
If this is a static/global variable, stored at a ram address, return it's
ram address.

@return address of where this variable is stored, null if not ram address
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/DWARFVariable.java