Eclipse warning about synthetic accessor for private static nested classes in Java?

后端 未结 6 1222
死守一世寂寞
死守一世寂寞 2020-12-03 02:17

My coworker suggested making several of the Eclipse code-formatting and warning settings to be more rigorous. The majority of these changes make sense, but I get this one we

6条回答
  •  独厮守ぢ
    2020-12-03 02:49

    By the way, the setting to turn the warning off is in the Java Errors/Warnings page under "Code style" and is called:

    Access to a non-accessible member of an enclosing type

提交回复
热议问题