Private method used from companion object is marked as unused

Hello @pieter12321,

  • First, could you specify the language ? I am not completely fluent on all 27 languages supported by SonarQube, and I cannot recognize your code language in the blink of an eye…
  • Second, it seems to me that the usedMethod() is only used by the test code, and therefore unused in the production code, which is the purpose of the “unused private methods” rule.

Olivier