class JsParamFilter extends RecipeFilter {

  @Override
  public Object apply(Object value, Object... params) {
    Map<String, String> param = (Map<String, String>) value;
    String name = param.get("name");
    ParamType type = CookbookUtils.parseType(param.get("type"), getCookbook());

    return (type.isVararg() ? "..." : "") + identifierFilter.apply(name);
  }

  public  JsParamFilter(Cookbook cookbook, Filter identifierFilter);

}