Bug 50801 - override/implement methods does not work in anonymous classes
Summary: override/implement methods does not work in anonymous classes
Status: RESOLVED DUPLICATE of bug 43483
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-28 16:17 EST by Steven Ostrowski CLA
Modified: 2004-02-02 06:19 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Ostrowski CLA 2004-01-28 16:17:51 EST
The Source...Override/Implement Methods operation does not work (is not 
supported) in anonymous classes.

For example:

Serializable s = new Serializable() {

};

If I put the cursor in the body and choose Source..Override/Implement Methods, 
I get the list of Object methods. However, when I select one I get the error:

"Operation not supported for specified element type(s): <anonymous #1>"
Comment 1 Jerome Lanneluc CLA 2004-02-02 06:19:38 EST

*** This bug has been marked as a duplicate of 43483 ***