docs: private boolean overridesSuperclassMethod(JavaClass javaClass, Method method) {
          if (method.isStatic()) {
              return false;
          }
  
          try {
              JavaClass[] superclassList = javaClass.getSuperClasses();
              if (superclassList != null) {
                  JavaClassAndMethod match = Hierarchy.findMethod(superclassList, method.getName(), method.getSignature(),
                          Hierarchy.INSTANCE_METHOD);
                  if (match != null) {
                      return true;
                  }
              }
  
              JavaClass[] interfaceList = javaClass.getAllInterfaces();
              if (interfaceList != null) {
                  JavaClassAndMethod match = Hierarchy.findMethod(interfaceList, method.getName(), method.getSignature(),
                          Hierarchy.INSTANCE_METHOD);
                  if (match != null) {
                      return true;
                  }
              }
  
              return false;
          } catch (ClassNotFoundException e) {
              return true;
          }
      }