Inspectopedia Help

Concurrency annotation issues

Instance member guarded by static field   New in this release

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

Non-final '@GuardedBy' field   New in this release

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

Non-final field in '@Immutable' class   New in this release

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

Static member guarded by instance field or this   New in this release

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   New in this release

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

Unknown '@GuardedBy' field   New in this release

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

Last modified: 11 September 2024