class SourceAdapters {

    public static <T> Publisher<T> fromSource(PublisherSource<T> source) {
        if (source instanceof Publisher) {
            return uncheckedCast(source);
        }
        return new PublisherSourceToPublisher<>(source);
    }

    private  SourceAdapters();

}