private String getString(SourceFile sourceFile) {
		StringBuilder sb = new StringBuilder(sourceFile.getIdType().name());
		sb.append("#");
		sb.append(hexFormat.formatHex(sourceFile.getIdentifier()));
		sb.append("#");
		sb.append(sourceFile.getPath());
		return sb.toString();
	}
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