(self, base_class)
return classes[:-1]
Walks up the class hierarchy and returns a list of all classes between
        base class (inclusive) and java.lang.Object (exclusive).
Walks up the class hierarchy and returns a list of all classes between
        base class (inclusive) and java.lang.Object (exclusive).
Walks up the class hierarchy and returns a list of all classes between base class ( inclusive ) and java . lang . Object ( exclusive ) .
def get_class_hierarchy(self, base_class):
        """
        Walks up the class hierarchy and returns a list of all classes between
        base class (inclusive) and java.lang.Object (exclusive).
        """
        classes = [base_class]
        while classes[-1] is not None and classes[-1] != "java.lang.Object":
            classes.append(self.get_superclass(classes[-1]))
        return classes[:-1]
def get_class_hierarchy ( self , base_class ) : classes = [ base_class ] while classes [ - 1 ] is not None and classes [ - 1 ] != "java.lang.Object" : classes . append ( self . get_superclass ( classes [ - 1 ] ) ) return classes [ : - 1 ]