private @NotNull LocalQuickFix @Nullable [] createFixes(@NotNull PsiElement location) {
    if (!onTheFly &&
        inspection.buildQuickFixesOnlyForOnTheFlyErrors()) {
      return null;
    }
    final LocalQuickFix fix = inspection.buildFix(location);
    if (fix == null) {
      return null;
    }
    return new LocalQuickFix[]{fix};
  }
private @NotNull LocalQuickFix @Nullable [] createFixes(@NotNull PsiElement location)