Community
Participate
Working Groups
Build Identifier: 20100917-0705 I have a private static nested class "Inner" inside of an outer class "Outer". The nested class has a public method "myMethod". If I want to call that method from another class I get the correct error "The type Outer.Inner is not visible" Nevertheless the quick fix suggests "change visibility of 'myMethod' to 'public'" which does not help since it is already public. Instead the quick fix should be "change visibility of 'Outer.Inner' to 'public'" Reproducible: Always
Move to JDT/UI
Hi Sebastian, can you please provide a code example and verify if this still happens in the current eclipse 4.3 or 3.8? I tried to produce an example, but this gave my different Quick-Fix options.
Created attachment 223775 [details] Example Code Still happens in latest eclipse (Juno SR 1 20121004-1855) See attached example
This is the same as 94755. Please mark as duplicate. It is fixed by 394692.
Thanks Rabea. *** This bug has been marked as a duplicate of bug 94755 ***