class RuboCop::Cop::Commissioner

def invoke_custom_processing(cops_or_forces, processed_source)

its own processing.
to the commissioner will be passed to the cop too in order to do
If they define the #investigate method, all input parameters passed
There are cops/forces that require their own custom processing.
def invoke_custom_processing(cops_or_forces, processed_source)
  cops_or_forces.each do |cop|
    next unless cop.respond_to?(:investigate)
    with_cop_error_handling(cop) do
      cop.investigate(processed_source)
    end
  end
end