class JavaParamFilter extends RecipeFilter {

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

    boolean varargAsArray = params.length > 0 && super.asBoolean(params[0]);
    return typeFilter.apply(param.get("type"), varargAsArray) + " " + identifierFilter.apply(name);
  }

  public  JavaParamFilter(Cookbook cookbook, Filter typeFilter, Filter identifierFilter);

}