Sciweavers

CGO
2006
IEEE

Dynamic Class Hierarchy Mutation

14 years 4 months ago
Dynamic Class Hierarchy Mutation
Class hierarchies in object-oriented programs are used to capture various attributes of the underlying objects they represent, allowing programmers to encapsulate common attributes in base classes while distributing private attributes in lower-level derived classes. In essence, the semantics of the class hierarchy elegantly capture some of the possible states that a particular object can assume. However, class hierarchies are often poorly designed or evolve in ways that fail to fully capture the stateful behavior of objects. This paper proposes an automated approach for detecting stateful class attributes, and then mutating the class hierarchy dynamically to capture such behavior by creating implicit derived classes that can be specialized for specific object states. Our scheme captures both run-time static behavior, which could have been captured by the programmer by restructuring the class hierarchy at the source level; as well as run-time variant behavior, which cannot be captured ...
Lixin Su, Mikko H. Lipasti
Added 20 Aug 2010
Updated 20 Aug 2010
Type Conference
Year 2006
Where CGO
Authors Lixin Su, Mikko H. Lipasti
Comments (0)