code: 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]
docs: Walks up the class hierarchy and returns a list of all classes between
          base class (inclusive) and java.lang.Object (exclusive).