Bug 15364

Summary: search for references of DebugUIPlugin.setAttributes(...) fails
Product: [Eclipse Project] JDT Reporter: Jed Anderson <jed.anderson>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M6   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

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.