'wait()' without corresponding 'notify()'

Last modified: 03 December 2024

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: