1,内部类必须是静态的。 2,实体路径 内部类前的 . 用$ 符代替 https://segmentfault.com/q/1010000010436451 转载于:https://www.cnblogs.com/rock-wang/articles/7411290.html