PMD ConfusingNonStaticInitializer (refactoring)