code: public void add(Matcher matcher, T attachment)
      {
          add(matcher);
          map.add(matcher, attachment);
      }
docs: Add matcher with attachment. If matcher exist only attachment is stored.
  @param matcher
  @param attachment