Ok, that is fine.
I just didn't want to have such a large code in a static block. Prefer to have it inside a static method which in the name holds the explanation of the content. Then that method is ok in the statoic block, if necessary.