Suppress some PMD warnings in  generated code