|
ABSTRACT
Separation of concerns in existing code can be achieved by specific refactoring techniques. Modern refactoring tools support a number of well-known refactoring transformations, including method extraction. In this paper, we examine how method extraction can be improved through program slicing. Furthermore, we show how a generalization of such slice extraction can be applied to untangle existing code by extracting aspects.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
Ajdt web site. http://www.eclipse.org/ajdt/.
|
| |
2
|
Aspectj web site. http://www.eclipse.org/aspectj/.
|
| |
3
|
Eclipse web site. http://www.eclipse.org/.
|
| |
4
|
|
| |
5
|
R. Ettinger. Automated tools for refactoring. http://web.comlab.ox.ac.uk/oucl/research/areas/progtools/projects/nate/doc/TransferThesis.pdf, Transfer thesis, University of Oxford, 2003.
|
| |
6
|
M. Fowler. Refactoring: Improving the Design of Existing Code. Addison Wesley, 2000.
|
| |
7
|
James Gosling , Bill Joy , Guy Steele , Gilad Bracha, Java Language Specification, Second Edition: The Java Series, Addison-Wesley Longman Publishing Co., Inc., Boston, MA, 2000
|
 |
8
|
|
| |
9
|
J. Hannemann and G. Kiczales. Overcoming the prevalent decomposition in legacy code. In Proceedings of Advanced Separation of Concerns Workshop, held at the International Conference on Software Engineering (ICSE), 2001.
|
 |
10
|
|
| |
11
|
|
| |
12
|
Arun Lakhotia and Jean-Christophe Deprez. Restructuring programs by tucking statements into functions. Information and Software Technology, 40(11--12):677--690, 1998.
|
| |
13
|
Katsuhisa Maruyama. Automated method-extraction refactoring by using block-based slicing. pages 31--40. ACM Press, 2001.
|
| |
14
|
|
 |
15
|
|
| |
16
|
Thomas W. Reps. Demand interprocedural program analysis using logic databases. In Workshop on Programming with Logic Databases (Book), ILPS, pages 163--196, 1993.
|
| |
17
|
M. Verbaere. Program slicing for refactoring. http://web.comlab.ox.ac.uk/oucl/research/areas/progtools/projects/nate/doc/MScThesis.pdf, MSc thesis, University of Oxford, 2003.
|
| |
18
|
Mark Weiser. Program slicing. IEEE Transactions on Software Engineering, 10(4):352--357, 1984.
|
| |
19
|
|
|