class RuboCop::Cop::Style::BisectedAttrAccessor

def find_bisection(macros)

def find_bisection(macros)
  # Find which attributes are defined in both readers and writers so that they
  # can be replaced with accessors.
  readers, writers = macros.partition(&:reader?)
  readers.flat_map(&:attr_names) & writers.flat_map(&:attr_names)
end