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?


1 comment
Comment actions Permalink

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


Please sign in to leave a comment.