Community
Participate
Working Groups
Build ID: I20070222-0951 Steps To Reproduce: Attempting to push down field f in the following is disallowed. class A { int f; void mA(){ class B extends A { public void mB(){ super.f = 0; } } } } The error message says "Push Down is not allowed on type 'A', since it does not have subclasses to which members could be pushed down". However, it should be able to push the field down to B which is declared locally. More information:
After saving the editor, push down can be started on f. However, the refactoring reports an error because it cannot replace super.f by f: class A { void mA(){ class B extends A { int f; public void mB(){ super.f = 0; } } } }
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.