code: static String normalizeCollection(final String type) {
          if (isAssignableTo(type, Types.COLLECTION)) {
              if (!getTypeParameters(type).isEmpty()) {
                  return getTypeParameters(type).get(0);
              }
              return Types.OBJECT;
          }
          return type;
      }
docs: Normalizes the contained collection type.
  
  @param type The type
  @return The normalized type