module RuboCop::AST::NodePattern::MethodDefiner

def emit_params(*first, forwarding: false)

def emit_params(*first, forwarding: false)
  params = emit_param_list
  keywords = emit_keyword_list(forwarding: forwarding)
  [*first, params, keywords].reject(&:empty?).join(',')
end