Bug 10954

Summary: IMember::getFlags semantics on interface members
Product: [Eclipse Project] JDT Reporter: Adam Kiezun <akiezun>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M4   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Adam Kiezun CLA 2002-03-07 10:32:41 EST
getFlags on interface members currently returns not the real visibility 
but the visibility as declared in the source

what is the reason for that and can it be changed?

i can start writting workarounds for that but then, 
someone else will forget to use my util class and call 
Flags.isPublic(method.getFlags())
Comment 1 Adam Kiezun CLA 2002-03-07 10:33:51 EST
i stumbled upon it a number of times 
http://bugs.eclipse.org/bugs/show_bug.cgi?id=10669
is another case when the current behavior is causing problems  
Comment 2 Philipe Mulet CLA 2002-03-08 10:54:45 EST
All modifiers in the JavaModel reflect the source modifiers (same as on the 
ASTs). Remember that the Model is a structured source model, nothing resolved, 
no modifier inference or fix-up.

Bindings have the right information.