What is com.intellij.codeInspection.CleanupLocalInspectionTool ?

In the plugin.xml file there is attribute "cleanupTool" for the element localInspection . The interface com.intellij.codeInspection.CleanupLocalInspectionTool  could be used in the code for the same feature, afaik.

I couldn't find any documentation of this feature.

What does it do?
When should I make use of this feature?

Thanks,
Wallaby

1

Tools annotated with this attribute or interface can be executed as part of the Cleanup Code action.

1

请先登录再写评论。