public interface BatchQuickFix<D extends CommonProblemDescriptor>
QuickFix.getFamilyName()
for the fixes.
If the fixes don't have same "family name" the "Inspect all" view doesn't show "fix all" option
so same family name must be used even if you implement the BatchQuickFix
interface.Modifier and Type | Method and Description |
---|---|
void |
applyFix(Project project,
D [] descriptors,
java.util.List<PsiElement> psiElementsToIgnore,
java.lang.Runnable refreshViews)
Called to apply the cumulative fix.
|
void applyFix(Project project, D [] descriptors, java.util.List<PsiElement> psiElementsToIgnore, java.lang.Runnable refreshViews)
project
- Project
descriptors
- problem reported by the tool on which fix should workpsiElementsToIgnore
- elements to be excluded from view during post-refreshrefreshViews
- post-refresh inspection results view; would remove collected elements from the view