docs: public static <T> Reference<T> create(ReferenceType type, T referent, ReferenceQueue<T> queue) {
  		switch (type) {
  		case SOFT:
  			return new SoftReference<>(referent);
  		case WEAK:
  			return new WeakReference<>(referent);
  		case PHANTOM:
  			return new PhantomReference<T>(referent, queue);
  		default:
  			return null;
  		}
  	}