void (@NotNull List<? extends ProblemDescriptor> problems, @NotNull Project project) { for (ProblemDescriptor problem : problems) { QuickFix[] fixes = problem.getFixes(); if (fixes != null) { fixes[0].applyFix(project, problem); } } }