Reports calls to Object.wait(), for which no call to the corresponding Object.notify() or Object.notifyAll() can be found.

This inspection only reports calls with qualifiers referencing fields of the current class.

Example:


  public class Foo {
    public Object foo = new Object();

    void bar() throws InterruptedException {
      this.foo.wait();
    }
  }