Get issue message in MeasureComputer

Hi!
I am making my own plugin and I need to get some information stored in issue message to calculate metric.
For example: I need to check if there is a method that rise CyclomaticComplexity too high issue and if so, how high is that CC.
MeasureComputerContext.getIssues method returns Issues, but without message. Is there any other way of getting issues (preferably with messages) from MeasureComputer?

Thanks to everyone that will answer!

Hi,

Welcome to the community!

What language is this for?

 
Thx,
Ann

Hi!
Let’s keep that example I’ve posted.
It’s not not language-specific, It should be working on java, kotlin, C/C++ or C#. I want to get issues for a component, filter them by RuleKey, parse issue messages and then calculate metric using that.
I hope that clears it up a bit :slight_smile:
Thanks!