| Summary: | [Refactoring] Transform To Derived Data Type | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] PTP | Reporter: | Gustavo Rissetti <gustavorissetti> | ||||
| Component: | Photran.Refactoring Engine | Assignee: | Jeffrey Overbey <com-eclipse-dot-org> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P2 | CC: | com-eclipse-dot-org, gustavorissetti, marianomendez | ||||
| Version: | 6.0.3 | ||||||
| Target Milestone: | 8.0 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
(In reply to comment #0) My mistake in last line... The source code is attached, as a figure with a small example of using this refactoring (TransformToDerivedDataTypeRefactoring.rar). > Created attachment 191864 [details] > Source code of the refactoring and a small example (.rar file) > > This refactoring transforms a group of variables (selected by the user) in a > derived type of data, to improve the semantics of the code. The user provides > the name for the new type as well as the name for an instance of it to be used > in code. The source code is attached, as a figure with a small example of using > this refactoring (TransformToDerivedDataTypeRefactoring.rar). Thanks a lot! Can you please confirm that 1. you wrote 100% of the code without incorporating content from elsewhere or relying on the intellectual property of others, 2. you have the right to contribute the code to Eclipse, and 3. you have included the EPL license header in all source files? (In reply to comment #2) > Thanks a lot! Can you please confirm that > > 1. you wrote 100% of the code without incorporating content from elsewhere or > relying on the intellectual property of others, > > 2. you have the right to contribute the code to Eclipse, and > > 3. you have included the EPL license header in all source files? I confirm that I wrote 100% of the code without incorporating content from elsewhere or relying on the intellectual property of others, and I have the right to contribute the code to Eclipse, and I have included the EPL license header in all source files. I have committed this to master in order to meet the Juno feature freeze. Code review/testing/string externalization/documentation are pending. Closing for Juno; documentation pending. Thanks! |
Created attachment 191864 [details] Source code of the refactoring and a small example (.rar file) This refactoring transforms a group of variables (selected by the user) in a derived type of data, to improve the semantics of the code. The user provides the name for the new type as well as the name for an instance of it to be used in code. The source code is attached, as a figure with a small example of using this refactoring (IntroduceCallTreeRefactoring.rar).