class MetricsPaddingRenderer extends DefaultRenderer {

  @Override
  public TreeNode<Set<String>> finalizeProperties(TreeNode<QueryInfo> queryProperties,
                                                  boolean isCollection) {
    Set<String> properties = queryProperties.getObject().getProperties();
    if (properties != null) {
      properties.add("params/padding/" + paddingMethod.name());
    }
    return super.finalizeProperties(queryProperties, isCollection);
  }

  public  MetricsPaddingRenderer(String paddingMethod);

}