Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323076 - [search] Search doesn't find OTTypeHierarchyImpl.connectTSupers(..)
Summary: [search] Search doesn't find OTTypeHierarchyImpl.connectTSupers(..)
Status: VERIFIED FIXED
Alias: None
Product: Objectteams
Classification: Tools
Component: OTDT (show other bugs)
Version: 0.7   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 0.8 M3   Edit
Assignee: Stephan Herrmann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-18 14:37 EDT by Stephan Herrmann CLA
Modified: 2010-11-10 19:10 EST (History)
0 users

See Also:


Attachments
fix and test (2.56 KB, patch)
2010-10-25 17:18 EDT, Stephan Herrmann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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