SnareQube has idea, and resolve this problem？ some rule 、plugins …
I am very sorry to mention that I don’t have clear idea about what is the problem you are facing and requesting for help.
Could you try to provide a bit more details ?
What are you expecting ? what is not working ? Which versions of sonarjava and sonarqube you are using ?
Thanks to clarify this.