A contrary for GuardedBy
Open
- Dominant language
- Java
- Stars
- 7.2k
- Forks
- 820
- Avg merge
- 5h 9m
- Merged PRs (30d)
- 50
Description
A new annotation would be nice to mark a piece of code for deadlock problems.
example:
```
@NeverBy("this")
Object canCauseDeadlock = ...
...
synchronized (this) {
canCauseDealock... // <-- Warning
}
```
Contributor guide
Assessment
This issue has not been assessed yet.