Community
Participate
Working Groups
Build Identifier: 20100917-0705 Consider you have two Java files: A.java and B.java with followings contents: public class A { public void method1() { // empty } } public interface B { public static class C extends A { public void method2() { method1(); } } } Both files compiles properly and without any compilation error or warning. Now place a cursor somewhere in the inner class C and press the Ctrl+O twice. You will be able to find method2() but you will be unable to find method1(). Convert interface B into class B and try again. The method1() method will still be hidden. Reproducible: Always Steps to Reproduce: See details.
Seems to be broken only for inner classes. Moving to JDT/UI.
This works as designed. Ctrl+O shows the outline of the top level class and hence the second Ctrl+O shows its inherited members and not the inherited members of the selected/enclosing type.
*** This bug has been marked as a duplicate of bug 107096 ***