allSuperclassesUpTo

allSuperclassesUpTo(coll: ClassColl input;
                    cls:  Class);

The allSuperclassesUpTo method of the Class class adds all superclasses of the receiver up to those in the class specified in the cls parameter to the collection specified in the coll parameter.