| Summary: | [dom] [rewrite] more complete rewriting for method mappings | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] Objectteams | Reporter: | Stephan Herrmann <stephan.herrmann> | ||||
| Component: | OTDT | Assignee: | Stephan Herrmann <stephan.herrmann> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 0.7 | ||||||
| Target Milestone: | 0.7 M3 | ||||||
| Hardware: | Other | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 310923 | ||||||
| Attachments: |
|
||||||
|
Description
Stephan Herrmann
Created attachment 169668 [details]
tests & fix
Implementation:
- ASTRewriteAnalyzer: implement rewriting incl. adding/removing signatures
- Parser: ensure methodSpec.declarationSourceStart does include a type parameter
- new helper AbstractMethodMappingDeclaration.removeSignatures()
- fix MethodSpec/FieldAccessSpec:
{field,return}Type is optional, don't init with "void"
Patch has been committed as r369. verified for M3 using 201005282024 (indirectly via bug 310923 and by way of tests). |