public void setPatterns(@NotNull List<String> patterns) {
    synchronized (myPatternLock) {
      myPatterns.clear();
      myPatterns.addAll(patterns);
      myMatchers = null;
    }
  }
public void setPatterns(@NotNull List<String> patterns)