Bug 77093

Summary: [search] No references found to method with member type argument
Product: [Eclipse Project] JDT Reporter: Jerome Lanneluc <jerome_lanneluc>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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