@Override
	public synchronized List<SourcePathTransformRecord> getTransformRecords() {
		List<SourcePathTransformRecord> transformRecords = new ArrayList<>();
		for (Entry<String, String> entry : pathMap.entrySet()) {
			transformRecords
					.add(new SourcePathTransformRecord(entry.getKey(), null, entry.getValue()));
		}
		for (Entry<String, String> entry : fileMap.entrySet()) {
			String sourceFileString = entry.getKey();
			transformRecords.add(new SourcePathTransformRecord(sourceFileString,
				getSourceFile(sourceFileString), entry.getValue()));
		}
		return transformRecords;
	}
Throws an {@link IllegalArgumentException} if {@code directory} is not
a valid, normalized directory path (with forward slashes).
@param directory path to validate
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/sourcemap/UserDataPathTransformer.java