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?