package ru.yandex.qe.dispenser.ws.param;

import java.lang.annotation.Annotation;
import java.lang.reflect.Type;

import javax.ws.rs.ext.ParamConverter;
import javax.ws.rs.ext.ParamConverterProvider;

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import ru.yandex.qe.bus.factories.BusEndpointBuilder;

/**
 * See {@link BusEndpointBuilder#discoverProviders}
 * <p>
 * Created by amosov-f on 27.07.16.
 */
public interface DiscoverMePlease extends ParamConverterProvider {
    @Nullable
    @Override
    default <T> ParamConverter<T> getConverter(@NotNull final Class<T> rawType,
                                               @NotNull final Type genericType,
                                               @NotNull final Annotation[] annotations) {
        return null;
    }
}
