Builds an unordered set of all interface and object classes that are generalizations of the provided class.