void (@NotNull IdeaPluginDescriptor pluginDescriptor, boolean isUpdate) { // Ensure we don't have any leftover problems referring to classes from plugin being unloaded Set<VirtualFile> allFiles = new HashSet<>(); wolfTheProblemSolver.processProblemFiles(new CommonProcessors.CollectProcessor<>(allFiles)); wolfTheProblemSolver.processProblemFilesFromExternalSources(new CommonProcessors.CollectProcessor<>(allFiles)); for (VirtualFile file : allFiles) { myWolfTheProblemSolver.doRemove(file); } }