This example demonstrates how to write Custom Rules for the SonarQube Java Analyzer (aka SonarJava). It requires to install SonarJava 4.7.1.9272 on your SonarQube 5.6+