Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338593 - [otmodel] Add new API to ease the retrieval of the parameter annotations for an IMethodMapping
Summary: [otmodel] Add new API to ease the retrieval of the parameter annotations for ...
Status: NEW
Alias: None
Product: Objectteams
Classification: Tools
Component: OTDT (show other bugs)
Version: 0.8   Edit
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Teams CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-01 16:57 EST by Stephan Herrmann CLA
Modified: 2011-05-08 15:07 EDT (History)
0 users

See Also:


Attachments

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