Possible to call an inspection from an action?

Answered

I need to work out if a method could be made static, and then perform some refactoring into a system-specific class. I'd like to just be able to run the existing

MethodMayBeStaticInspection

But I'm battling to work out how to do that. Is this possible?

0
1 comment

Evank,

You can check the implementation of RunInspectionAction for more details regarding running the single inspection.

0

Please sign in to leave a comment.