code: public synchronized DirectoryScanner setIncludes(String[] includes) {
          if (includes == null) {
              this.includes = null;
          } else {
              this.includes = new String[includes.length];
              for (int i = 0; i < includes.length; i++) {
                  this.includes[i] = normalizePattern(includes[i]);
              }
          }
          return this;
      }
docs: Set the list of include patterns to use. All '/' and '\' characters
  are replaced by <code>File.separatorChar</code>, so the separator used
  need not match <code>File.separatorChar</code>.
  <p>
  When a pattern ends with a '/' or '\', "**" is appended.
  
  @param includes A list of include patterns.
  May be <code>null</code>, indicating that all files
  should be included. If a non-<code>null</code>
  list is given, all elements must be
  non-<code>null</code>.