Add custom Rules in sonar portal

Hello SonarQube Team,
I want to create SonarQube Custom Rules For java Language.
can you help me out with that process?

Hey there.

You probably want to start with the documentation on Adding Coding Rules

Colin (Community Manager)
I want to add Custom java Rules on Show Templates only.
There are Create Custom Rule pop-ups (Create Custom Rule) and pop-ups have to option

  1. name
  2. key
  3. Description
  4. Constructor
  5. OpeningMethod
    Please guide me on How to fill this.