@@ -0,0 +1,994 @@
+package jadx.tests.integration.trycatch;%0A%0Aimport static jadx.tests.api.utils.JadxMatchers.containsOne;%0Aimport static org.hamcrest.MatcherAssert.assertThat;%0Aimport static org.hamcrest.Matchers.containsString;%0Aimport static org.hamcrest.Matchers.not;%0A%0Aimport java.io.File;%0Aimport java.io.FileOutputStream;%0Aimport java.io.IOException;%0Aimport java.io.OutputStream;%0A%0Aimport org.junit.jupiter.api.Test;%0A%0Aimport jadx.NotYetImplemented;%0Aimport jadx.core.dex.nodes.ClassNode;%0Aimport jadx.tests.api.SmaliTest;%0A%0Apublic class TestTryWithResources extends SmaliTest %7B%0A%0A%09public static class TestCls %7B%0A%0A%09%09public static void writeFully(File file, byte%5B%5D data) throws IOException %7B%0A%09%09%09try (OutputStream out = new FileOutputStream(file)) %7B%0A%09%09%09%09out.write(data);%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D%0A%0A%09@Test%0A%09@NotYetImplemented%0A%09public void test() %7B%0A%09%09ClassNode cls = getClassNode(TestCls.class);%0A%09%09String code = cls.getCode().toString();%0A%0A%09%09assertThat(code, containsOne(%22try (%22));%0A%09%09assertThat(code, not(containsString(%22close()%22)));%0A%09%7D%0A%7D%0A

add test case for #101 (PR #577)