public PseudoData applyDataType(Address addr, DataType dt) {

		Memory memory = program.getMemory();

		MemBuffer memBuffer = new DumbMemBufferImpl(memory, addr);

		// check that address is defined in memory
		try {
			memBuffer.getByte(0);
			return new PseudoData(program, addr, dt, memBuffer);
		}
		catch (Exception e) {
			// ignore
		}
		return null;
	}
Apply a dataType to the program at the given address.  The program is
not affected.  A PseudoData item that acts like a Data item retrieved from
a program is returned.  This is useful if you have a datatype and you
want to use it to get values from the program at a given address.

@param addr location to get a PseudoData item for
@param dt the data type to be applied
@return {@link PseudoData} that acts like Data
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/util/PseudoDisassembler.java