ACM Transactions on Programming Languages and Systems · 2011 · 66 citations · 20 references
ComputingComputer ScienceCompilersProgramming LanguagesSoftware EngineeringData TypesSoftware RefactoringType CheckingType SystemsClass HierarchiesConstraintsRefactoringStatic Type CheckingType ConstraintsType Inference
Type constraints express subtype relationships between the types of program expressions, for example, those relationships that are required for type correctness. Type constraints were originally proposed as a convenient framework for solving type checking and type inference problems. This paper shows how type constraints can be used as the basis for practical refactoring tools. In our approach, a set of type constraints is derived from a type-correct program P . The main insight behind our work is the fact that P constitutes just one solution to this constraint system, and that alternative solutions may exist that correspond to refactored versions of P . We show how a number of refactorings for manipulating types and class hierarchies can be expressed naturally using type constraints. Several refactorings in the standard distribution of Eclipse are based on our work.
20
A survey of software refactoring
Tom Mens, Tom Tourwé · IEEE Transactions on Software Engineering · 2004 · 1.2K citations · Full text
Refactoring object-oriented frameworks
William F. Opdyke · 1992 · 1K citations
Jong-Deok Choi, Manish Gupta, Maurício Serrano et al. · 1999 · 505 citations · Full text
Improving the Design of Existing Code
Martin Fowler · 2000 · 238 citations
Evolving Object-Oriented Designs with Refactorings
Lance Tokuda, Don Batory · Automated Software Engineering · 2001 · 232 citations