private static int getPreferredPointerSize(int pointerSize, DataTypeManager dtm,
			AddressSpace space) {
		Objects.requireNonNull(space, "Address space must be specified");
		if (pointerSize > 0) {
			return pointerSize;
		}
		pointerSize = space.getSize() / 8;
		if (dtm.getDataOrganization().getPointerSize() == pointerSize) {
			pointerSize = -1;
		}
		return pointerSize;
	}
Constructs a pointer-typedef without any settings
@param typeDefName name of this pointer-typedef or null to use auto-named typedef.
@param pointerDataType associated pointer datatype
@param dtm data-type manager whose data organization should be used (highly recommended, may be null)
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/PointerTypedef.java