code: public static String toStringWithNamedGenerics(final Class<?> type) {
          return toStringType(new ParameterizedTypeImpl(type, type.getTypeParameters()), new PrintableGenericsMap());
      }
docs: Print class with generic variables. For example, {@code List<T>}.
  
  @param type class to print
  @return string containing class and it's declared generics