Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 323076

Summary: [search] Search doesn't find OTTypeHierarchyImpl.connectTSupers(..)
Product: [Tools] Objectteams Reporter: Stephan Herrmann <stephan.herrmann>
Component: OTDTAssignee: Stephan Herrmann <stephan.herrmann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.7   
Target Milestone: 0.8 M3   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
fix and test none

Description Stephan Herrmann CLA 2010-08-18 14:37:11 EDT
The following method is not found neither by search nor call hierarchy:

org.eclipse.objectteams.otdt.core.hierarchy.OTTypeHierarchies.OTTypeHierarchyImpl.connectTSupers(IType, boolean, boolean, IType, boolean[], FocusRelation)

Note that this method is
 - a method of a nested team (that is also a bound role)
 - a method with declared lifting, both single and array lifting.

A quick experiment supports that the declared lifting is the culprit: searching without the method signature finds the correct result.
Comment 1 Stephan Herrmann CLA 2010-10-25 17:18:08 EDT
Created attachment 181681 [details]
fix and test

I could reproduce by searching for any method with array lifting
in its signature.

The root cause was a SourceMethod with incorrect argument types
(missing array dimensions). Fixed by letting LiftingTypeReference
override getParameterizedTypeName() which must include array dimensions
(using "[]" syntax).
Comment 2 Stephan Herrmann CLA 2010-10-25 17:21:07 EDT
Committed as r981 / r982
Comment 3 Stephan Herrmann CLA 2010-11-10 19:10:28 EST
Verified for 0.8 M3 using build 201011100445