Possible false positive OverrideOnly on ReadConstraint

Our latest release now has violations for the following methods:

  • ReadConstraint.Companion.inSmartMode(Project)
  • ReadConstraint.Companion.withDocumentsCommitted(...)

They are used via

constrainedReadAction(
    ReadConstraint.inSmartMode(project),
    ReadConstraint.withDocumentsCommitted(project),
) {..}

Are these false positives?
I assumed the OverrideOnly applied to the instance methods of ReadConstraint and NOT the companion object

You are right, this must not trigger any warnings

FYI, there is already a ticket about that in youtrack: MP-7233

@robert.novotny Proposing this PR to fix the false positives