docs: public static Set<Type> getTypedTypes(Map<Class<?>, Type> typeClosure, Class<?> rawType, Typed typed) {
          Set<Type> types = new HashSet<Type>();
          for (Class<?> specifiedClass : typed.value()) {
              Type tmp = typeClosure.get(specifiedClass);
              if (tmp != null) {
                  types.add(tmp);
              } else {
                  throw BeanLogger.LOG.typedClassNotInHierarchy(specifiedClass.getName(), rawType, Formats.formatTypes(typeClosure.values()));
              }
          }
          types.add(Object.class);
          return types;
      }