Suppress more PMD warnings in generated code