docs: public synchronized Object findObject(Class<?> clazz, Object previousInstance) {
          int i = previousInstance == null ? -1 : MiscUtil.indexOfInstance(registeredObjects, previousInstance);
          
          for (i++; i < registeredObjects.size(); i++) {
              Object object = registeredObjects.get(i);
              
              if (clazz.isInstance(object)) {
                  return object;
              }
          }
          
          return null;
      }