Files
openide/java
Nikita Eshkeev c8ef181ea3 [java-analysis-impl] IDEA-248487 Red code after "Remove unnecessary 'throws' declarations"
The TryStatementGraph was an overkill for the job and it introduced tons of boilerplate code.

This patch replaces TryStatementGraph with TryStatementInfo which changed the myVertices map to two maps:

 - a map from PsiCatchSection to PsiTypes, which allows to quickly decide what exceptions a PsiCatchSection handles
 - a map from PsiType to PsiElements, which allows to quickly find out what places in a try statement throw a particular exception.

This solution resulted in reducing the amount of boilerplate code significantly.

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

GitOrigin-RevId: 966b37d65eaf4bb39e22dd0e9b2aea2f051200de
2020-09-18 20:02:40 +00:00
..
2020-09-18 09:57:08 +00:00