constructor(name, kind, node, context) {
    this.context = context
    this.name = name
    this.kind = kind
    this.node = node
    /** @type {(Expression | null)[]} */
    this.returnValues = []
    /** @type {boolean | null} */
    this.cacheMaybeReturnFunction = null
  }
@param {string} name
@param {'methods' | 'computed'} kind
@param {FunctionExpression | ArrowFunctionExpression} node
@param {RuleContext} context