code: public static Type boxedType(Type type) {
          if (type instanceof Class<?>) {
              return boxedClass((Class<?>) type);
          } else {
              return type;
          }
      }
docs: Gets the boxed type of a class
  
  @param type The type
  @return The boxed type