default Category mapToDefault(Type type) {
        if (type instanceof Class<?>) {
            final Class<?> clazz = (Class<?>) type;
            if (Enum.class.isAssignableFrom(clazz)) {
                return Category.ENUM;
            } else if (Comparable.class.isAssignableFrom(clazz)) {
                return Category.COMPARABLE;
            }
        }
        return null;
    }
Returns the {@link Category} of the type returned by
{@link #getJavaType(Column)}.

@param column  the column
@return        the category
runtime-parent/runtime-typemapper/src/main/java/com/speedment/runtime/typemapper/TypeMapper.java