1
I am not sure if you have an old version of IntelliJ but If I go File => Settings... => Inspections => Serialization issues => Serializable class without 'serialVersionUID' enabled, the class you provide give me warnings.
IntelliJ Idea 常用快捷键列表 - 一路前行 - 博客园 https://www.cnblogs.com/zhangpengshou/p/5366413.html