@SuppressWarnings({ "rawtypes", "unchecked" })
@Override
public <T> ParamConverter<T> getConverter(final Class<T> rawType, final Type genericType, final Annotation[] annotations) {
Binding<ParamConverter> binding = injector.getExistingBinding(Key.get(ParamConverter.class, JaxRsParams.forClass(rawType)));
if (binding == null)
return null;
return binding.getProvider().get();
}
GuiceParamConverterProvider.java 文件源码
java
阅读 21
收藏 0
点赞 0
评论 0
项目:mentor
作者:
评论列表
文章目录