Seeking a static instance of SecureRandom rule in PMD

Viewed 47

I am researching PMD repo in the following link repo link

So what I am looking for is a rule that would make sure that

you should only be using the primed static SecureRandom instance

( this is mainly because application, if the object is not being reused, is getting slow and I mean like 90 seconds slower to do the seeding and all other stuff that does in the background, so the solution is to create SecureRandom and reuse it if required )

but from what I managed to find in the repository are these two occurrences.

None of them are speaking about using static SecureRandom instance. Am I missing something or is it just not there/covered in PMD?

Occurrence no.1

Occurrence no.2

1 Answers
Related