| Decoupling classes with inferred interfaces |
| Full text |
Pdf
(123 KB)
|
| Source
|
Symposium on Applied Computing
archive
Proceedings of the 2006 ACM symposium on Applied computing
table of contents
Dijon, France
SESSION: Object-oriented programming languages and systems (OOPS)
table of contents
Pages: 1404 - 1408
Year of Publication: 2006
ISBN:1-59593-108-2
|
|
Authors
|
|
Friedrich Steimann
|
Lehrgebiet Programmiersysteme, Fernuniversität in Hagen Universitätsstraße, Hagen, Germany
|
|
Philip Mayer
|
Lehrgebiet Programmiersysteme, Fernuniversität in Hagen Universitätsstraße, Hagen, Germany
|
|
Andreas Meißner
|
IBM Ottawa Lab, Queensview Drive, Ottawa, ON, Canada
|
|
| Sponsor |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 9, Downloads (12 Months): 35, Citation Count: 2
|
|
|
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.
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
|
VR Basili, G Caldiera, D Rombach. "The goal question metric approach" in: Encyclopedia of Software Engineering (John Wiley & Sons, 1994).
|
| |
2
|
|
| |
3
|
|
| |
4
|
|
| |
5
|
|
 |
6
|
|
| |
7
|
|
| |
8
|
UP Khedker, DM Dhamdhere, A Mycroft "Bidirectional data flow analysis for type inferencing" Computer Languages, Systems & Structures 29:1-2 (2003) 15--44.
|
| |
9
|
K Läufer, G Baumgartner, VF Russo "Safe structural conformance for JAVA" The Computer Journal 43:6 (2000) 469--481.
|
 |
10
|
Philip Mayer, Analyzing the use of interfaces in large OO projects, Companion of the 18th annual ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications, October 26-30, 2003, Anaheim, CA, USA
[doi> 10.1145/949344.949446]
|
 |
11
|
|
 |
12
|
Jens Palsberg , Michael I. Schwartzbach, Object-oriented type inference, Conference proceedings on Object-oriented programming systems, languages, and applications, p.146-161, October 06-11, 1991, Phoenix, Arizona, United States
|
 |
13
|
|
| |
14
|
F Steimann "Role = Interface: a merger of concepts" JOOP 14:4 (2001) 23--32.
|
| |
15
|
|
| |
16
|
F Steimann, P Mayer "Patterns of interface-based programming" Journal of Object Technology 4:5 (2005) 75--94.
|
 |
17
|
Mirko Streckenbach , Gregor Snelting, Refactoring class hierarchies with KABA, Proceedings of the 19th annual ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications, October 24-28, 2004, Vancouver, BC, Canada
|
 |
18
|
Frank Tip , Adam Kiezun , Dirk Bäumer, Refactoring for generalization using type constraints, Proceedings of the 18th annual ACM SIGPLAN conference on Object-oriented programing, systems, languages, and applications, October 26-30, 2003, Anaheim, California, USA
|
| |
19
|
|
 |
20
|
|
| |
21
|
|
|