private void setupLocalTempDir() {
		// If it does not exist yet, make it.
		if (!Files.isDirectory(tempDirectory)) {
			try {
				Files.createDirectories(tempDirectory);
			} catch (IOException ex) {
				logger.error("Failed creating temp directory", ex);
			}
		}

		// When we shut down, remove all files inside of it.
		Runtime.getRuntime().addShutdownHook(new Thread(() -> {
			try {
				if (Files.isDirectory(tempDirectory))
					IOUtil.cleanDirectory(tempDirectory);
			} catch (IOException ex) {
				logger.error("Failed clearing temp directory", ex);
			}
		}));
	}
@return Directory where temporary files are stored.
recaf-core/src/main/java/software/coley/recaf/services/file/RecafDirectoriesConfig.java