docs: private ArrayList<ClassVertex> getAllSuperclassVertices(ClassVertex vertex) throws ClassNotFoundException {
          ArrayList<ClassVertex> result = new ArrayList<>();
          ClassVertex cur = vertex;
          while (cur != null) {
              if (!cur.isResolved()) {
                  ClassDescriptor.throwClassNotFoundException(cur.getClassDescriptor());
              }
              result.add(cur);
              cur = cur.getDirectSuperclass();
          }
          return result;
      }