code: public void addFilter(final ItemFilter filter) {
          if (filters == null) {
              filters = new ArrayList<ItemFilter>();
          }
  
          filters.add(filter);
      }
docs: Adds the specified {@link ItemFilter} to the filter list, creating the list if necessary.