[codeInsight] IDEA-201714 Missing "fix all" for "Redundant throws clause"

This patch fixes the problem with the absent the "fix all" quick fix for
redundant throws clause inspection. It also does a major refactoring in
the both global and local redundant throws clause exceptions applying
modern code technics.

Signed-off-by: Nikita Eshkeev <nikita.eshkeev@jetbrains.com>

GitOrigin-RevId: 9336c9afd9a6c64b12d4e29f58e1c9da4f33e25e
This commit is contained in:
Nikita Eshkeev
2020-07-10 14:30:55 +00:00
committed by intellij-monorepo-bot
parent 389ae1573b
commit 03c771b5bc
5 changed files with 304 additions and 231 deletions
@@ -1,4 +1,4 @@
// "Remove 'IOException' from 'foo' throws list" "true"
// "Fix all 'Redundant 'throws' clause' problems in file" "true"
import java.io.*;
class A {
@@ -1,4 +1,4 @@
// "Remove 'IOException' from 'foo' throws list" "true"
// "Fix all 'Redundant 'throws' clause' problems in file" "true"
import java.io.*;
class A {