Bug 89686 - [1.5][search][enum] Reference to constructors does not include parameters
Summary: [1.5][search][enum] Reference to constructors does not include parameters
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: 3.2 RC1   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-30 15:57 EST by Frederic Fusier CLA
Modified: 2006-04-13 10:47 EDT (History)
2 users (show)

See Also:


Attachments
Patch to fix this issue (8.08 KB, patch)
2006-04-04 05:15 EDT, Frederic Fusier CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Fusier CLA 2005-03-30 15:57:51 EST
I missed bug 83693 comment 7:

Method declarations and references to enum constructors won't include the
parameters list? E.g. search for references to Color(int):

enum Color {
    RED, GREEN(), BLUE(17), PINK(1) {/*anon*/};
    Color() {}
    Color(int i) {}
}

-> the range is only "BLUE", not "BLUE(17)"
Comment 1 Frederic Fusier CLA 2005-04-26 08:29:39 EDT
defer
Comment 2 Frederic Fusier CLA 2005-08-05 04:04:03 EDT
Reopen for 3.2
Comment 3 Frederic Fusier CLA 2006-04-04 05:15:15 EDT
Created attachment 37589 [details]
Patch to fix this issue
Comment 4 Frederic Fusier CLA 2006-04-04 05:16:07 EDT
Bug is minor but fix is easy and with no specific impact an existing behavior
(and already done) => good candidate for RC1...
Comment 5 Philipe Mulet CLA 2006-04-04 06:34:40 EDT
+1 for 3.2RC1
Comment 6 Frederic Fusier CLA 2006-04-06 12:07:59 EDT
Released patch in HEAD.
Comment 7 Jerome Lanneluc CLA 2006-04-13 10:47:33 EDT
Verified for 3.2 RC1 using build I20060413-0010