[java] cleanup of inspection description updates FieldAccessNotGuarded

GitOrigin-RevId: 6cc0871e73126bb75580167e7b5e6e3f282283e0
This commit is contained in:
Olga.Klisho
2021-04-15 00:30:19 +03:00
committed by intellij-monorepo-bot
parent fb5c1bc834
commit 598e1f467b
2 changed files with 4 additions and 2 deletions
@@ -1,7 +1,8 @@
<html>
<body>
Reports accesses of fields declared as <b>@GuardedBy</b> which are are not guarded by an appropriate synchronization structure.
Supported <b>@GuardedBy</b> annotations are:
Reports accesses of fields declared as <code>@GuardedBy</code> which are are not guarded by an appropriate synchronization structure.
<!-- tooltip end -->
Supported <code>@GuardedBy</code> annotations are:
<ul>
<li>net.jcip.annotations.GuardedBy</li>
<li>javax.annotation.concurrent.GuardedBy</li>
@@ -3,6 +3,7 @@
Reports <code>@GuardedBy</code> annotations on <code>static</code> fields or methods,
where the guard is either a non-static field or <code>this</code>. Guarding a <code>static</code> by a non-static may result in
excessive concurrency, multiple threads may be able to access the guarded field simultaneously, by locking in different object contexts.
<!-- tooltip end -->
Supported <code>@GuardedBy</code> annotations are:
<ul>
<li>net.jcip.annotations.GuardedBy</li>