title: Automate fixes for issues found by Sonar
body: <p>I am working on fixing issues caught by sonar on a very old Java project(8 years old approximately ).
  It is a huge project with a lot of faulty code that is caught by sonar.
  Although they are very trivial fixes but there are a number of them.
  Is there a way to automatically fix a series of similar issues ?
  Like i have around 1200 cases of "statements should be on separate lines" , to do it manually would take ages.
  Can i automate these fixes somehow ?</p>