Recovering object classes and inheritance relationships from existing code