@Nullable
    public static EventAction createAction(@NotNull String code) {
      EventAction result = null;

      if (UPGRADED_CODE.equals(code)) {
        result = EventAction.UPGRADED_PATH;
      }

      return result;
    }
@Nullable
    public static EventAction createAction(@NotNull String code)