Refactor SonarManager

"Cannot reference the field 'sonarProcessors' before it is defined"