import freemarker.ext.beans.BeansWrapperBuilder;
import freemarker.template.Configuration;
import freemarker.template.TemplateMethodModelEx;
import freemarker.template.TemplateModel;
import freemarker.template.TemplateModelException;
<BUG>import javax.validation.constraints.*;
import java.util.List;
public class ConstraintsForMethod implements TemplateMethodModelEx {</BUG>
public Object exec(List list) throws TemplateModelException {
if (list.size() < 1) {

import freemarker.ext.beans.BeansWrapperBuilder;
import freemarker.template.Configuration;
import freemarker.template.TemplateMethodModelEx;
import freemarker.template.TemplateModel;
import freemarker.template.TemplateModelException;
import javax.validation.constraints.*;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class ConstraintsForMethod implements TemplateMethodModelEx {
public Object exec(List list) throws TemplateModelException {
if (list.size() < 1) {
