Custom PMD Apex rules Query

Duplicates How to integrate custom Apex rules (PMD)