Bug 48205 - Option to disable synthetic accessor warning
Summary: Option to disable synthetic accessor warning
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: 3.0 M6   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-06 06:13 EST by lorenzo CLA
Modified: 2003-12-07 15:39 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lorenzo CLA 2003-12-06 06:13:40 EST
Hi,
this warning fill the problem list with a lot of lines making hard to see "real
warnings" (variable hiding, unused code, ecc.).
Comment 1 Philipe Mulet CLA 2003-12-07 14:36:38 EST
What exactly are you seeing ? Can you give the build number and the offending 
message ?
Comment 2 lorenzo CLA 2003-12-07 15:22:52 EST
The msg is like:

Access to enclosing method setRunning(boolean) from the type Timer is emulated
by a synthetic accessor method. Increasing its visibility will improve your
performance

and something similar for read access and constructors.

Build is 3.0M5 (200311211210).
Comment 3 Philipe Mulet CLA 2003-12-07 15:39:37 EST
Set Window>Preferences>Java>Compiler>Advanced>Access to non-accessible member 
of an enclosing type>Ignore

Note that it was originally off by default