Skip to main content
Article

LP structures on type lattices and some refactoring problems

S. D. MakhortovVoronezh State University, Universitetskaya pl. 1, Voronezh, 394000, Russia
2009en
ABI

Abstract

Lattice-based algebraic structures containing semantics of production-logic inference on a type hierarchy in an object-oriented system with an additional relation are introduced. Specific features of these structures, such as closedness, possibility of equivalent transformations, existence of logical reduction, are studied. It is shown how to apply the model developed to verification and optimization of type hierarchies. An important direction of the optimization is automatic elimination of code duplication by “pulling up” common attributes in the type hierarchy. Implementation issues are briefly discussed.

Identifiers

Citations and references

Cited by 20 references