public static ExecutorService newSingleThreadExecutor(String name, boolean daemon) {
		return new ExecutorServiceDelegate(Executors.newSingleThreadExecutor(new FactoryImpl(name, daemon)));
	}
@param name
		Thread pool name.
@param daemon
		Flag to set created threads as daemon threads.

@return {@link Executors#newSingleThreadExecutor()}.
recaf-core/src/main/java/software/coley/recaf/util/threading/ThreadPoolFactory.java