void (@NotNull Project project, @NotNull List<CommonProblemDescriptor[]> descriptors, @NotNull Set<? extends VirtualFile> readOnlyFiles, @NotNull GlobalInspectionContextImpl context) { if (!FileModificationService.getInstance().prepareVirtualFilesForWrite(project, readOnlyFiles)) return; final Set<PsiElement> resolvedElements = new HashSet<>(); performFixesInBatch(project, descriptors, context, resolvedElements); refreshViews(project, resolvedElements, myToolWrapper); }