@Override
	public File getDesktopDirectory() {
		String userHomeProp = System.getProperty("user.home");
		if (userHomeProp == null) {
			return null;
		}

		File home = new File(userHomeProp);
		File desktop = new File(home, "Desktop");

		return desktop.isDirectory() ? desktop : null;
	}
This is a cache of file icons, as returned from the OS's file icon service.
<p>
This cache is cleared each time a directory is requested (via 
{@link #getListing(File, FileFilter)} so that any changes to a file's icon are visible the 
next time the user hits refresh or navigates into a directory.
Ghidra/Framework/Docking/src/main/java/docking/widgets/filechooser/LocalFileChooserModel.java