Reports methods with a boolean return type, which are only used in a negated context. Due to performance reasons some methods might not be reported during in-editor highlighting.

For example:

class C {
  boolean inverted() {
    return true;
  }

  void f() {
    if (!inverted()) {
      return;
    }
  }
  boolean member = !inverted();
}