public void saveState(SaveState obj) {
		obj.putString("_CLASSNAME", getClass().getName());

		obj.putString("_ADDRESS", addr.toString());
		obj.putString("_BYTE_ADDR", byteAddr.toString());
		if (refAddr != null) {
			obj.putString("_REF_ADDRESS", refAddr.toString());
		}
		if (componentPath != null) {
			obj.putInts("_COMP_PATH", componentPath);
		}
		obj.putInt("_COLUMN", col);
		obj.putInt("_ROW", row);
		obj.putInt("_CHAR_OFFSET", charOffset);
	}
Save this program location to the given save state object.

@param obj the save state object for saving the location
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/ProgramLocation.java