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

Bug 338593

Summary: [otmodel] Add new API to ease the retrieval of the parameter annotations for an IMethodMapping
Product: [Tools] Objectteams Reporter: Stephan Herrmann <stephan.herrmann>
Component: OTDTAssignee: Project Teams <objectteams.otdt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 0.8   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Whiteboard:

Description Stephan Herrmann CLA 2011-03-01 16:57:13 EST
We should adopt the new API in 334783 and extend it to IMethodMapping.
Currently, we need empty method stubs to make the compiler happy ...
Comment 1 Stephan Herrmann CLA 2011-05-08 15:07:49 EDT
Actually, when addressing this we should perhaps do a significant
restructuring first, given that our classes MethodData and MethodMapping 
are not well in line with any strategy inside JDT/Core:

- the OTModel does not distinguish converting method mappings from src vs. bin

- IMethodMapping can not be created as handle and filled with details later

- concept of JavaElementInfo is not used in OTModel, thus we cannot leverage
  AnnotatableInfo.

Unfortunately this will have to wait till after the upcoming release.
Hopefully, the API defined in IMethodMapping and IMethodSpec can remain
unchanged across this restructuring!