class RuboCop::AST::IndexNode

def assignment_method?

For similarity with legacy mode
def assignment_method?
  false
end