Find catch clauses for IllegalMonitorStateException

Proprietary

Marks IllegalMonitorStateException caught in a catch clause, alone or in a multi-catch. The exception means wait, notify or notifyAll was called without holding the object's monitor, a programming error that a synchronized block prevents rather than one to recover from. Restructuring the synchronization is left to the author. A catch of a subclass is not marked, and test sources are not searched.

io.moderne.staticanalysis.FindCatchIllegalMonitorStateException
mod run . --recipe=io.moderne.staticanalysis.FindCatchIllegalMonitorStateException

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.