class RuboCop::Cop::Sorbet::CheckedTrueInSignature

def on_signature(node)

def on_signature(node)
  error = offending_node(node).first
  return unless error
  add_offense(
    error,
    location: source_range(
      processed_source.buffer,
      error.location.line,
      (error.location.selector.begin_pos)..(error.location.end.begin_pos),
    ),
    message: MESSAGE
  )
end