docs: public static EventType from(final Class<?> clazz) {
          final Optional<Integer> foundEventType = TYPES.entrySet().stream()
                  .filter(entry -> entry.getValue().equals(clazz)).map(Entry::getKey).findAny();
  
          return foundEventType.map(EventType::new).orElse(null);
      }