protected ValueReader collectionReader(Class<?> contextType, Type collectionType)
{
ResolvedType t = _typeResolver.resolve(bindings(contextType), collectionType);
List<ResolvedType> params = t.typeParametersFor(Collection.class);
return collectionReader(t.erasedType(), params.get(0));
}
protected ValueReader collectionReader(Class<?> collectionType, ResolvedType valueType)
{
Class<?> raw = valueType.erasedType();