Bug 10275 - Search: reference to class not found
Summary: Search: reference to class not found
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P2 critical (vote)
Target Milestone: 2.0 M4   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-26 12:23 EST by Dirk Baeumer CLA
Modified: 2002-03-01 06:26 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Baeumer CLA 2002-02-26 12:23:54 EST
Build 20020214

- open class MethodDeclaration form DOM/AST
- select SingleVariableDeclaration from the code

	private ASTNode.NodeList parameters =
		new ASTNode.NodeList(true, SingleVariableDeclaration.class);;

- search for references
observe: the above reference isn't part of the search result
Comment 1 Dirk Baeumer CLA 2002-02-26 12:24:44 EST
I have JDTCore in binary in my workspace
Comment 2 Philipe Mulet CLA 2002-02-26 12:55:25 EST
Was able to reproduce with JDT/Core in source form.
Comment 3 Jerome Lanneluc CLA 2002-02-27 17:25:07 EST
Was not able to reproduce in build 20020226 with JDT/Core in source form.
Will try with JDT/Core in binary form.
Comment 4 Jerome Lanneluc CLA 2002-03-01 06:26:53 EST
The class file for MethodDeclaration does not contain a class reference to 
SingleVariableDeclaration as the compiler (and any compiler would do the same) 
generates a Class.forName(String) bytecode.

This is a limitation of searching in binaries. Sorry.