private static LocalQuickFix @NotNull [] createFixes() {
    return new LocalQuickFix[]{
      new ReplaceTrailingWhiteSpacesFix(JavaBundle.message("inspection.trailing.whitespaces.in.text.block.remove.whitespaces"),
                                        s -> removeWhitespaces(s)),
      new ReplaceTrailingWhiteSpacesFix(JavaBundle.message("inspection.trailing.whitespaces.in.text.block.replaces.whitespaces.with.escapes"),
                                        s -> replaceWhitespacesWithEscapes(s))
    };
  }
private static LocalQuickFix @NotNull [] createFixes()