Possible to call an inspection from an action?

已回答

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

Evank,

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

0

请先登录再写评论。