A copy of this work was available on the public web and has been preserved in the Wayback Machine. The capture dates from 2012; you can also visit the original URL.
The file type is application/pdf
.
Systematically refactoring inheritance to delegation in java
2008
Proceedings of the 13th international conference on Software engineering - ICSE '08
Because of the strong coupling of classes and the proliferation of unneeded class members induced by inheritance, the suggestion to use composition and delegation instead has become commonplace. The presentation of a corresponding refactoring in the literature may lead one to believe that such a transformation is a straightforward undertaking. However, closer analysis reveals that this refactoring is neither always possible, nor does it necessarily achieve its desired effect. We have therefore
doi:10.1145/1368088.1368147
dblp:conf/icse/KegelS08
fatcat:zhmeg2ykivbbzjqbp447caakey