Bug 15051

Summary: Synthetic access methods are not reported to be synthetic
Product: [Eclipse Project] JDT Reporter: Olivier Thomann <Olivier_Thomann>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M6   
Hardware: Other   
OS: other   
Whiteboard:

Description Olivier Thomann CLA 2002-05-01 18:09:16 EDT
In this test case, the access$0 method is not reported as being synthetic. It should be the case. It 
seems that the problem comes from the MethodInfo.isSynthetic() method.
Comment 1 Olivier Thomann CLA 2002-05-01 18:10:02 EDT
The test case is:
public class A010 {
	private int i = 6;
	public int foo() {
		class A 
{
			int get() {
				return i;
			}
		}
		return new A().get();
	}
}
Comment 2 Olivier Thomann CLA 2002-05-01 18:26:28 EDT
Fix and released in HEAD.