Bug 16131 - Java search fails to find all references to static final MB_ADDITIONS
Summary: Java search fails to find all references to static final MB_ADDITIONS
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M6   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-16 07:48 EDT by Dan Kehn CLA
Modified: 2002-05-16 11:22 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Kehn CLA 2002-05-16 07:48:22 EDT
Unzipped driver 0515.  I imported all plug-ins (55, no copy) and searched for 
MB_ADDITIONS.  I only got four hits, so I tried qualifying it as 
IWorkbenchConstants.MB_ADDITIONS, and 
org.eclipse.ui.IWorkbenchConstants.MB_ADDITIONS.  I all three cases, Java 
search only found four matches.  I unzipped all the *src.zip files and searched 
manually.  It found 25 matches.

I tried searching by field and type (?), no difference.  Is there a way to get 
the desired search result?
Comment 1 Erich Gamma CLA 2002-05-16 10:15:16 EDT
static final ints can be inlined in the generated code. MB_ADDITIONS is gone 
our current code base, but I think it was a static final String. Not sure how 
they are handled moving on to JDT CORE
Comment 2 Philipe Mulet CLA 2002-05-16 11:22:24 EDT
Constants are directly inlined in binaries, thus we cannot find them any longer 
(would require to harvest the attached sources for this sole purpose).

In sources we find them ok.