docs: public void notifyNewMessage(Plugin plugin) {
          if (plugin == null) {
              throw new IllegalArgumentException("Parameter plugin must not be null.");
          }
  
          PluginStats pluginStats = mapPluginStats.get(plugin.getId());
          if (pluginStats != null) {
              pluginStats.incMessageCount();
          }
      }