code: @SuppressWarnings("unchecked")
     public static <T, C extends Collection<T>> C convert(Object object, Class<?> collectionClass, Class<T> componentClass) {
        if (collectionClass == null || !Collection.class.isAssignableFrom(collectionClass)) {
           log.fine("{0} does not extend collection.", collectionClass);
           return null;
        }
        return Cast.as(CollectionConverter.COLLECTION(Cast.<Class<C>>as(collectionClass), componentClass).apply(object));
     }
docs: Convert c.
  
  @param <T>             the type parameter
  @param <C>             the type parameter
  @param object          the object
  @param collectionClass the collection class
  @param componentClass  the component class
  @return the c