Bug 15364 - search for references of DebugUIPlugin.setAttributes(...) fails
Summary: search for references of DebugUIPlugin.setAttributes(...) fails
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 major (vote)
Target Milestone: 2.0 M6   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-06 16:00 EDT by Jed Anderson CLA
Modified: 2002-05-07 09:46 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 Jed Anderson CLA 2002-05-06 16:00:32 EDT
Build: 0501

1. Build a (binary) selfhosting workspace from scratch using build 20020501 and
the plugin import wizard.
2. Open DebugUIPlugin from the Java perspective.  
3. In the Outline view select setAttributes(Element,
LaunchConfigurationHistoryElement).  
4. Right click and select References->Workspace.  You will get no results.  

If you look at the method above it (getRecentLaunchAsXMLElement) you will see a
reference to the method, so there are references.
Comment 1 Jed Anderson CLA 2002-05-06 17:46:09 EDT
More info on this:

If I search for declarations of 	getHistoryEntryAsXMLElement(org.w3c.dom.Document
doc, LaunchConfigurationHistoryElement element) or
getRecentLaunchAsXMLElement(org.w3c.dom.Document doc,
LaunchConfigurationHistoryElement element) I get no results.  These methods were
the references to setAttributes.

Then I imported the plugin as a source plugin and all of the searches worked.
Comment 2 Jed Anderson CLA 2002-05-06 17:48:18 EDT
Moving to JDT core as the index appears to be incorrect.
Comment 3 Jerome Lanneluc CLA 2002-05-07 09:46:20 EDT
MatchLocator failed to create a method handle when the attached source 
contained a method declared with a fully qualified name.

Fixed.