Problem with Java Rule S6073: "Mockito argument matchers..." in case of usage MockitoHamcrest adapter

Hi @Dorian_Burihabwa hamcrest version doesn’t really matter as I have a similar issue even without hamcrest.
Mockito version is 3.3.3 but also not really relevant here.

Here is my code causing the same trouble:

Mockito.verify(myClass).doSomething(contains("Apple"), anyBoolean());

private Collection<String> contains(String fruit) {
    return argThat(input -> !input.isEmpty() && input.contains(fruit));
}

class MyClass {
    public boolean doSomething(Collection<String> fruits, boolean isSonarGreat) {
       return isSonarGreat ? true : fruits.isEmpty();
    }
}