Bug 77093 - [search] No references found to method with member type argument
Summary: [search] No references found to method with member type argument
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M4   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-27 06:44 EDT by Jerome Lanneluc CLA
Modified: 2004-12-14 11:31 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 Jerome Lanneluc CLA 2004-10-27 06:44:03 EDT
I20041026

1. Create package p
2. Add cu X.java in p:
package p;
public class X {
	class Z {
	}
	private void foo(Z[] args) {
	}
	void bar() {
		foo(new Z[] {});
	}
}
3. In Outline, select foo(Z[])
4. Search for references in workspace
Observe: None is found.
Comment 1 Frederic Fusier CLA 2004-11-19 13:04:00 EST
Fixed.

Search engine now finds method with array arguments. Also verified that it works
for constructors and fields.

[jdt-core-internal]
Changes done in PatternLocator.resolveTypeLevel(char[],char[],TypeBinding) method.
Note that all overriding of this method have been removed from subclasses...
Test cases added in JavaSearchTests
Comment 2 Olivier Thomann CLA 2004-12-14 11:31:59 EST
Verified in 200412140800