Inspectopedia Help

Concurrency annotation issues

Instance member guarded by static field  

Reports @GuardedBy annotations on instance fields or methods in which the guard is a static field.

Non-final '@GuardedBy' field  

Reports @GuardedBy annotations in which the guarding field is not final.

Non-final field in '@Immutable' class  

Reports any non-final field in a class with the @Immutable annotation.

Static member guarded by instance field or this  

Reports @GuardedBy annotations on static fields or methods in which the guard is either a non-static field or this.

Unguarded field access or method call  

Reports accesses of fields declared as @GuardedBy that are not guarded by an appropriate synchronization structure.

Unknown '@GuardedBy' field  

Reports @GuardedBy annotations in which the specified guarding field is unknown.

Last modified: 29 April 2024