TRUNK-4232: SonarQube - Write to static field from instance method