Stephan Herrmann | 0166441 | 2010-04-01 20:28:43 +0000 | [diff] [blame] | 1 | <html> |
| 2 | <head> |
| 3 | <meta name="copyright" content="Copyright Technical University Berlin and others 2004, 2010. This page is made available under the Eclipse Public License v1.0. For full details see http://www.eclipse.org/legal/epl-v10.html" /> |
| 4 | <link rel=stylesheet type="text/css" href="../css/book.css"> |
| 5 | <title>Refactoring Object Teams programs</title> |
| 6 | <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
| 7 | </head> |
| 8 | <body> |
| 9 | <h1>Refactoring Object Teams programs</h1> |
Stephan Herrmann | 7736a71 | 2010-07-01 16:47:30 +0000 | [diff] [blame] | 10 | Significant work has been put into supporting the automated refactoring of OT/J code. |
| 11 | The following refactorings take into account the Object Teams-specific |
| 12 | relationships (implicit role inheritance, team nesting, role-base bindings and method |
| 13 | bindings). |
| 14 | <ul> |
| 15 | <li><b>Extract Method</b></li> |
| 16 | <li><b>Move Method</b></li> |
| 17 | <li><b>Pull Up</b> applicable to method or field</li> |
| 18 | <li><b>Push Down</b> applicable to method or field</li> |
| 19 | <li><b>Rename</b> applicable to: project, source folder, package, type, method, field.<br/> |
| 20 | <i>When trying to rename a team package you'll be asked to rename the team class instead.</i></li> |
| 21 | </ul> |
| 22 | Additionally, specific refactorings for OT/J are being developed. Currently these are implemented: |
| 23 | <ul> |
| 24 | <li><b>Extract Callin</b></li> |
| 25 | <li><b>Inline Callin</b></li> |
| 26 | </ul> |
Stephan Herrmann | 0166441 | 2010-04-01 20:28:43 +0000 | [diff] [blame] | 27 | </body> |
| 28 | </html> |