mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
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