def add_with_class(analyzer_class, options={})
      analyzer = analyzer_class.new(target, self.options.merge(options))
      analyzer.exclude_file_patterns = exclude_file_patterns
      analyzer.logger = logger
      self.analyzers << analyzer
      analyzer
    end
def add_with_class(analyzer_class, options={})
      analyzer = analyzer_class.new(target, self.options.merge(options))
      analyzer.exclude_file_patterns = exclude_file_patterns
      analyzer.logger = logger
      self.analyzers << analyzer
      analyzer
    end
Instantiate and add an analyzer by its class.
 All properties will be copied to the child analyzer.

 @param [Class] analyzer_class
        the class of the analyzer to instantiate and add

 @param [Hash] options
        options which will be passed on initialization

 @return [Analyzer]