private PathPatternProcessorDecorator(final Object processor,final boolean includes,final String... patterns){
  super(processor);
  notEmpty(patterns,"A pattern set is required.");
  this.includes=includes;
  matcher=new AntPathMatcher();
  this.patterns=patterns;
  LOG.debug("{} patterns {}",includes ? "include" : "exclude",Arrays.toString(patterns));
}

private PathPatternProcessorDecorator ( final Object processor , final boolean includes , final String ... patterns ) { super ( processor ) ; notEmpty ( patterns , "A pattern set is required." ) ; this . includes = includes ; matcher = new AntPathMatcher ( ) ; this . patterns = patterns ; LOG . debug ( "{} patterns {}" , includes ? "include" : "exclude" , Arrays . toString ( patterns ) ) ; }
decorates the processor which should be applied or not ( based on includes parameter ) on resources which matches the provided patterns .
