First of all, it can be argued that static initializers are a good practice to start with.
If you decide to use them, I will add documentation to the JavaDoc at the class level . Static initializers can, depending on how they are implemented, cause side effects. If you use static initializers with side effects, the behavior should be documented for the consumer of the specified class.
source share