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

Bug 134254

Summary: Use AST to refactor code when synchronizing the code with the model
Product: z_Archived Reporter: Julien Canches <julien.canches>
Component: TPTPAssignee: Julien Canches <julien.canches>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 98939, 110691, 136352    
Attachments:
Description Flags
Changes so far.
none
The ultimate patch none

Description Julien Canches CLA 2006-03-31 08:25:20 EST
Currently, the code is synchronized with the TPTP test model when the latter is modified by using the JDT model refactoring capabilities. These capabilities are limited: they allow only to go down to the method level (methods can be added/removed, but their content cannot be modified). The JDT model is also non-optimal from a performance point of view as any atomic operation triggers model events and so.
The code synchronization should move to using AST to refactor the code. This way offers much more flexibility and efficiency, and allows any refactoring that could be imagined (it is used for example by the JDT editor to perform quickfixes, code completion and so on).
Comment 1 Julien Canches CLA 2006-06-15 05:47:56 EDT
This "enhancement" is necessary to resolve 3 defects. As such, changing its severity from "enhancement" to "normal".
Comment 2 Julien Canches CLA 2006-08-04 12:51:55 EDT
Created attachment 47410 [details]
Changes so far.
Comment 3 Julien Canches CLA 2006-08-09 04:55:25 EDT
Created attachment 47599 [details]
The ultimate patch
Comment 4 Julien Canches CLA 2006-08-10 12:31:24 EDT
Completed.
Comment 5 Paul Slauenwhite CLA 2006-11-16 09:00:52 EST
ACTION: Please verify/close this defect.
Comment 6 Julien Canches CLA 2006-11-16 09:52:12 EST
Verified on TPTP-4.3.0-200611070100 driver.