An Intellij plugin that performs static analysis using PMD. Download it from here, read documentation here.