docs: public static Object withTraits(Object self, Class<?>... traits) {
          List<Class> interfaces = new ArrayList<Class>();
          Collections.addAll(interfaces, traits);
          return ProxyGenerator.INSTANCE.instantiateDelegate(interfaces, self);
      }