Bug 46262 - IMethod.delete(...) does not work for anonymous inner Classes
Summary: IMethod.delete(...) does not work for anonymous inner 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 Windows NT
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-07 08:24 EST by Heywinkel CLA
Modified: 2003-12-17 11:24 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 Heywinkel CLA 2003-11-07 08:24:41 EST
I tried to change the source for Methods in anonymous inner Classes in a self-
developed plugin. This result in an Exception

Java Model Exception: Java Model Status [Operation not supported for specified 
element type(s):<anonymous #1> [in GeossMessageBox(String, String, String, int, 
Icon, List, IMessageBoxCallback, IGEOSSController, int) [in GeossMessageBox [in 
[Working copy] GeossMessageBox.java [in de.gerling.geoss.gui [in src [in 
GeossXP]]]]]]].

It's the same with IType.createMethod(..).

Once I can get the childrens of IMethod's (as in Eclipse 3.0 M4), I should be 
able to modify these Elements.
Comment 1 Jerome Lanneluc CLA 2003-12-17 11:24:22 EST

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