@NotNull
    private static MyMode toggleMode(@NotNull MyMode mode) {
      return MyMode.FLAT.equals(mode) ? MyMode.SPLIT : MyMode.FLAT;
    }
@NotNull
    private static MyMode toggleMode(@NotNull MyMode mode)