public static void analyze ( VisitorState state , LockEventListener listener , Predicate < Tree > isSuppressed ) { HeldLockSet locks = HeldLockSet . empty ( ) ; locks = handleMonitorGuards ( state , locks ) ; new LockScanner ( state , listener , isSuppressed ) . scan ( state . getPath ( ) , locks ) ; }
Analyzes a method body tracking the set of held locks and checking accesses to guarded members .