OP-421 Static block got removed in conversion from groovy to java