public static void findEdgesLeaving(Statement curr, Statement check, Set<StatEdge> edges) {
    findEdgesLeaving(curr, check, edges, false);
  }
Processes try catch statements to turns them into try-with-resources statements wherever possible.
Including the entire classpath is generally needed for this to work as it needs to know which classes implement AutoCloseable.

@author ForgeFlower devs, SuperCoder79
src/org/jetbrains/java/decompiler/modules/decompiler/TryWithResourcesProcessor.java