code: @Override
      public Object getObject() throws Exception {
          InvocationHandler invocationHandler = (proxy, method, args) -> {
              if (isToString(method)) {
                  return "LepService proxy for: " + getObjectType().getCanonicalName();
              } else if (isObjectMethod(method)) {
                  // other objects methods
                  return method.invoke(proxy, args);
              }
  
              // execute LEP method
              return lepServiceHandler.onMethodInvoke(type, null, method, args);
          };
  
          return Proxy.newProxyInstance(type.getClassLoader(), new Class<?>[] {type}, invocationHandler);
      }
docs: {@inheritDoc}