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

Bug 339823

Summary: [select] base constructor invocation is not selectable
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.8   
Target Milestone: 0.8 M6   
Hardware: Other   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Test & proposed fix none

Description Stephan Herrmann CLA 2011-03-13 09:30:36 EDT
In a role constructor 
  protected class R playedBy B {
     R (String arg) {
        base(arg);
     }
   }

the word "base" is not selectable. It should in fact take you to the
constructor of B.
Comment 1 Stephan Herrmann CLA 2011-03-13 09:37:07 EDT
Created attachment 191076 [details]
Test & proposed fix

Fixed by inserting a new hook into the parser and letting SelectionParser
instantiate a new class SelectionOnBaseAllocationExpression.
Comment 2 Stephan Herrmann CLA 2011-03-13 09:38:33 EDT
Committed for 0.8M6 as r1410, r1411.
Comment 3 Stephan Herrmann CLA 2011-03-15 20:41:18 EDT
Verified for 0.8M6 using build 201103151949.