Reports java.util.concurrent.ThreadLocalRandom instances which might be shared between threads. A ThreadLocalRandom might be shared between threads and is reported when it is assigned to a field, used as a method argument or assigned to a local variable and used in anonymous or nested classes. A ThreadLocalRandom should not be shared between threads because that is not thread-safe.

Usages of ThreadLocalRandom should typically look like ThreadLocalRandom.current().nextInt(...) (or nextDouble(...) etc.). When all usages are in this form, ThreadLocalRandom instances can not be used accidentally by multiple threads.