This rule detects double checked locking, where a 'lock hint' is tested for null before initializing an object within a synchronized block. Double checked locking does not guarantee correctness and is an anti-pattern.
Type | Name and description |
---|---|
Class |
astVisitorClass |
String |
name |
int |
priority |