How to highlight piece of code with custom message
已回答
I am new to Intellij SDK and trying to build plugin that give some warning about code like sonarlint. i can get AST tree of java file code but do not know how to show the pop up message similar to the one in the bellow image.
may you guide me how to display custom message pop up on particular piece of code.

请先登录再写评论。
This is handled with Code Inspections.