mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java] cleanup of inspection description updates StaticGuardedByInstance
GitOrigin-RevId: 360789197a9b7572df0ee23bce94fba9ad70d2d2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
22118a32cb
commit
fb5c1bc834
@@ -1,9 +1,9 @@
|
||||
<html>
|
||||
<body>
|
||||
Reports <b>@GuardedBy</b> annotations on <b>static</b> fields or methods,
|
||||
where the guard is either a non-static field or <b>this</b>. Guarding a <b>static</b> by a non-static may result in
|
||||
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.
|
||||
Supported <b>@GuardedBy</b> annotations are:
|
||||
Supported <code>@GuardedBy</code> annotations are:
|
||||
<ul>
|
||||
<li>net.jcip.annotations.GuardedBy</li>
|
||||
<li>javax.annotation.concurrent.GuardedBy</li>
|
||||
|
||||
Reference in New Issue
Block a user