code: public static @NotNull SqlQuery namedQuery(@NotNull @SQL String sql, @NotNull Object bean) {
          return namedQuery(sql, VariableResolver.forBean(bean));
      }
docs: Constructs a query with named arguments, using the properties/fields of given bean for resolving arguments.
  
  @see #namedQuery(String, VariableResolver)
  @see VariableResolver#forBean(Object)