public File getWorkingDirectory() {
		if (file.isDirectory()) {
			return file;
		}
		return file.getParentFile();
	}
Wrapper class for JAD, a JAva Decompiler.
Ghidra/Features/FileFormats/src/main/java/ghidra/file/jad/JadProcessWrapper.java