code: public Object intercept(Object obj, Method method, Object[] args, MethodProxy proxy)
          throws Throwable {
          if (Object.class.equals(method.getDeclaringClass())) {
              return proxy.invokeSuper(obj, args);
          }
  
          List<WebElement> realElements = new ArrayList<>(locator.findElements());
          return getObject(realElements, method, args);
      }
docs: Look at {@link MethodInterceptor#intercept(Object, Method, Object[], MethodProxy)}.