ManagedList filters = new ManagedList();
Filter filter = beanDefinitionClass.getAnnotation(Filter.class);
if (null != filter) {
processFilter(beanDefinitionRegistry, filter, javascript, filters);
}
Filters filtersAnn = beanDefinitionClass.getAnnotation(Filters.class);
if (filtersAnn != null)
{
Filter[] fs = filtersAnn.value();
for (Filter filterFromFilters : fs)
{
processFilter(beanDefinitionRegistry, filterFromFilters, javascript, filters);
}
}