@Override
    public @NotNull IntentionPreviewInfo generatePreview(@NotNull Project project, @NotNull ProblemDescriptor previewDescriptor) {
      final @Nls String preview = myHasEquals
             ? JavaBundle.message("inspection.equals.hashcode.generate.hashcode.quickfix.preview")
             : JavaBundle.message("inspection.equals.hashcode.generate.equals.quickfix.preview");
      return new IntentionPreviewInfo.Html(preview);
    }
@Override
    public @NotNull IntentionPreviewInfo generatePreview(@NotNull Project project, @NotNull ProblemDescriptor previewDescriptor)