Bug 264176 - Java search participant does not find type reference with parameter
Summary: Java search participant does not find type reference with parameter
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5 M6   Edit
Assignee: Chris Aniszczyk CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday
Depends on:
Blocks:
 
Reported: 2009-02-09 09:02 EST by Markus Keller CLA
Modified: 2009-02-19 23:26 EST (History)
2 users (show)

See Also:


Attachments
proposed fix (2.04 KB, patch)
2009-02-09 12:49 EST, Benjamin Cabé CLA
caniszczyk: iplog+
Details | Diff
mylyn/context/zip (861 bytes, application/octet-stream)
2009-02-09 12:50 EST, Benjamin Cabé CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2009-02-09 09:02:29 EST
I20090203-1200

PDE's Java search participant does not find type reference with a parameter in plugin.xml files.

E.g. search for references to WidgetMethodHandler (declared in org.eclipse.ui.workbench).

Expected: Match in org.eclipse.ui/plugin.xml:
      <command
            name="%command.cut.name"
            description="%command.cut.description"
            categoryId="org.eclipse.ui.category.edit"
            id="org.eclipse.ui.edit.cut"
            defaultHandler="org.eclipse.ui.internal.handlers.WidgetMethodHandler:cut" />

The reference in the defaultHandler attribute is not found. When I remove the parameter ':cut' at the end, the reference is found.
Comment 1 Chris Aniszczyk CLA 2009-02-09 09:04:19 EST
Want to look at this Benjamin since you have looked at this code recently?
Comment 2 Benjamin Cabé CLA 2009-02-09 09:37:34 EST
Yup!
Comment 3 Benjamin Cabé CLA 2009-02-09 12:49:50 EST
Created attachment 125155 [details]
proposed fix
Comment 4 Benjamin Cabé CLA 2009-02-09 12:50:00 EST
Created attachment 125156 [details]
mylyn/context/zip
Comment 5 Chris Aniszczyk CLA 2009-02-19 23:25:09 EST
done.

> 20090219