I am writing a rule for java, where I would like to give the preference as highest priority by that I mean this should be the only rule shown in the violated line and other rules(predefined rules) though being violated should not been shown in that particular line.
I would like to know is there any possibility to achieve such case?
Hey there.
No, this is not possible.
Can you describe further your use-case? Why do you want to suppress all other issues on that line?