How to use my local inspections to find classes that matches that inspection in all project?

Answered

Hello, I develop plugin for finding some classes. I created inspections based on

AbstractBaseJavaLocalInspectionTool

and quickfixes for them.  

How can i apply this inspection for all classes in my project and count quantity of  true results of inspections and show it in window ? 

I need analyze all project by my inspections and show results.

Do you have any API for this ? 

 

3 comments
Comment actions Permalink

com.intellij.codeInspection.actions.CodeInspectionAction

 

or Analyze->Run Inspection By Name already does all that for you

1
Comment actions Permalink

I don't see my inspections in summary. Should I add some option to see it ? 

1
Comment actions Permalink

What do you mean with "summary"?

0

Please sign in to leave a comment.