private Pointer getPointerDataType(DataType dataType) {

		Category category = dataTypeManager.getCategory(dataType.getCategoryPath());

		DataType pointer = new PointerDataType(dataType, dataTypeManager);

		DataType dt = category.getDataType(pointer.getName());

		return (dt instanceof Pointer) ? (Pointer) dt : null;
	}
Method to get the data type in the same folder as the given data type that is the pointer to
the given data type. This is getting an existing pointer not trying to create a new one.
@param dataType the given data type
@return the existing pointer data type to the given data type in the same class dt folder
Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RecoveredClassHelper.java