Specifying and implementing refactorings
Specifying and implementing refactorings
复制标题
指定和实施重构
DOI:
10.1145/1932682.1869485
复制
发表时间:
2010
影响因子:
--
通讯作者:
Schaefer M
中科院分区:
文献类型:
--
作者:
Schaefer M
Modern IDEs for object-oriented languages like Java provide support for a basic set of simple automated refactorings whose behaviour is easy to describe intuitively. It is, however, surprisingly difficult to specify their behaviour in detail. In particular, the popular precondition-based approach tends to produce somewhat unwieldy descriptions if advanced features of the object language are taken into account. This has resulted in refactoring implementations that are complex, hard to understand, and even harder to maintain, yet these implementations themselves are the only precise "specification" of many refactorings. We have in past work advocated a different approach based on several complementary notions of dependencies that guide the implementation, and on the concept of microrefactorings that structure it. We show in this work that these concepts are powerful enough to provide high-level specifications of many of the refactorings implemented in Eclipse. These specifications are precise enough to serve as the basis of a clean-room reimplementation of these refactorings that is very compact, yet matches Eclipse's for features and outperforms it in terms of correctness.
登录
查看更多内容
DOI:
10.1145/1961204.1961205
发表时间:
2011
期刊:
ACM Trans. Program. Lang. Syst.
影响因子:
--
作者:
F. Tip;Robert M. Fuhrer;Adam Kiezun;Michael D. Ernst;Ittai Balaban;B. D. Sutter
通讯作者:
B. D. Sutter
DOI:
--
发表时间:
2000
期刊:
International Conference on Compiler Construction
影响因子:
--
作者:
João Saraiva;Doaitse Swierstra;M. Kuiper
通讯作者:
M. Kuiper
DOI:
10.1145/1449764.1449787
发表时间:
2008-10
期刊:
Proceedings of the 23rd ACM SIGPLAN conference on Object-oriented programming systems languages and applications
影响因子:
--
作者:
Max Schäfer;Torbjörn Ekman;O. Moor
通讯作者:
Max Schäfer;Torbjörn Ekman;O. Moor
DOI:
--
发表时间:
2006
期刊:
2006 Sixth IEEE International Workshop on Source Code Analysis and Manipulation
影响因子:
--
作者:
A. Garrido;J. Meseguer
通讯作者:
J. Meseguer
DOI:
10.1145/567532.567544
发表时间:
1981
期刊:
Proceedings of the 36th International Conference on Software Engineering
影响因子:
--
作者:
A. Demers;T. Reps;T. Teitelbaum
通讯作者:
T. Teitelbaum