LockMethodChecker
This method does not acquire the locks specified by its @LockMethod annotation

Severity
ERROR
Has Fix?
NO_FIX

Alternate names: GuardedBy

The problem

Methods with the @LockMethod annotation are expected to acquire one or more locks. The caller will hold the locks when the function finishes execution.

Suppression

Suppress false positives by adding the suppression annotation @SuppressWarnings("LockMethodChecker") to the enclosing element.