Bug 290214 - [push down] push down does not work well with anonymous classes
Summary: [push down] push down does not work well with anonymous classes
Status: CLOSED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2009-09-23 02:50 EDT by Konstantin Fedorov CLA
Modified: 2020-02-19 20:02 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Fedorov CLA 2009-09-23 02:50:35 EDT
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1) Gecko/20090624 Firefox/3.5 (.NET CLR 3.5.30729)
Build Identifier: 20090621-0832

Push Down refactoring does not work for anonymous types. In code below after pushing A.m() down B class will be updated correctly, however it won't happen for anonymous type in initializer - instead m will go into C class.
class C {
    class A {
    	void m() {}
    }
    
    {
    new A() {};
    }
    
    class B extends A {}
}


Reproducible: Always
Comment 1 Eclipse Genie CLA 2020-02-19 20:02:04 EST
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. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. 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.