Serializable
由于对外部类的隐式引用,这样的类不太可能正确序列化。
示例:
class A { class Main implements Serializable { } }
使用以下选项配置检查: