code: void setMatcher(ContentMatcher m)
    {
  
      if (tc.isEntryEnabled())
        tc.entry(
          this,cclass,
          "setMatcher",
          "matcher: " + m + ", hasContent: " + new Boolean(hasContent));
  
      wildMatchers.add(m);
      this.hasContent |= m.hasTests();
  
      if (tc.isEntryEnabled())
        tc.exit(this,cclass, "setMatcher");
    }
docs: Caches a matcher