Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable Eclipse (3.3.2) warning: Access to enclosing constructor... is emulated by a synthetic accessor method

Tags:

java

eclipse

ide

I work on a large project and want to disable the Eclipse compiler warning stating:

Access to enclosing constructor ... is emulated by a synthetic accessor method. Increasing its visibility will improve your performance

Eclipse version 3.3.2

like image 806
Gambit Avatar asked Dec 01 '08 18:12

Gambit


1 Answers

From the Window–Preferences menu, browse to the Java–Errors/Warnings panel. Expand the "Code style" settings, and set the "Access to a non-accessible member of an enclosing type:" option to "Ignore".

like image 112
erickson Avatar answered Nov 04 '22 20:11

erickson