private void reloadIfNeeded() {
		if (viewToOriginalMap != null) {
			return;
		}

		viewToOriginalMap = new HashMap<>();
		originalToViewMap = new HashMap<>();
		try {
			RecordIterator it = table.iterator();
			while (it.hasNext()) {
				DBRecord rec = it.next();
				long viewId = rec.getKey();
				long originalId = rec.getLongValue(ORIGINAL_ID_COL);
				viewToOriginalMap.put(viewId, originalId);
				originalToViewMap.put(originalId, viewId);
			}
		}
		catch (IOException e) {
			errorHandler.dbError(e);
		}
	}
Construct database-backed bidirectional datatype ID map
@param dbHandle database handle for {@link CompositeViewerDataTypeManager}
@param errorHandler error handler
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/compositeeditor/IDMapDB.java