| Titel: | Decoupling classes with inferred interfaces |
|---|---|
| AutorInnen: |
Friedrich Steimann
Philip Mayer Andreas Meißner |
| Kategorie: | Konferenzen und Workshops |
| erschienen in: | erscheint in: Proceedings of the 2006 ACM Symposium on Applied Computing (SAC) (ACM 2006) 1404-1408 |
| Abstract: | Using small, context-specific interfaces in variable declarations serves the decoupling of classes and increases a program’s flexibility. To minimize its interface, a thorough analysis of the protocol needed from a variable is required. Currently available refactorings for the extraction of interfaces leave the programmer alone with the decision which methods to include or, more problematically, which to omit: they let him choose manually from the protocol of an existing type, and only then offer to use the new interface where (if) possible. To aid the programmer in defining a new interface, we have developed a new refactoring that infers it from a variable’s declaration and automatically inserts it into the code. |
| Download: |
FernUniversität in Hagen, Fakultät für Mathematik und Informatik, Lehrgebiet Programmiersysteme, 58084 Hagen, Tel.: +49 2331 987-2998