public final class HeldLockAnalyzer extends Object
A method body analyzer. Responsible for tracking the set of held locks, and checking accesses to guarded members.
- email@example.com (Liam Miller-Cushon)
Nested Class Summary
Nested Classes Modifier and Type Class Description
static classUtility for discovering the lock expressions that needs to be held when accessing specific guarded members.
static interfaceListener interface for accesses to guarded members.
Modifier and Type Method Description
VisitorState state, HeldLockAnalyzer.LockEventListener listener, com.google.common.base.Predicate<com.sun.source.tree.Tree> isSuppressed, GuardedByFlags flags)(Analyzes a method body, tracking the set of held locks and checking accesses to guarded members.