code: public void setPatterns(final List<String> patterns) {
  
          // Check sanity
          validateDiSetterCalledBeforeInitialization("patternPrefix");
  
          // Check sanity
          if (patterns != null) {
  
              // Assign internal state
              this.patterns = new ArrayList<String>();
              this.patterns.addAll(patterns);
          } else {
              addDelayedLogMessage("warn", "Received null patterns for configuring AbstractPatternFilter of type ["
                      + getClass().getName() + "]. Ignoring and proceeding.");
          }
      }
docs: Injects a List of patterns complying with the Java Regexp {@link Pattern} specification.
  Each injected pattern will be compiled to a {@link Pattern} by concatenating the {@link #patternPrefix} string,
  given at construction time, to obtain the full regexp pattern. The resulting Patterns are matched for
  candidates normally in the {@link #onCandidate(Object)} method.
  
  @param patterns The List of PatternStrings to compile.
  @see #convert(java.util.List, String)
  @see #setPatternPrefix(String)