@Test
	void redundantTryCatch() {
		String asm = """
				.method public static example ()V {
					exceptions: {
				       {  A,  B,  C, Ljava/lang/Throwable; }
				    },
				    code: {
				    A:
				        aconst_null
				        pop
				    B:
				        goto END
				    C:
				        astore ex
				        aload ex
				        invokevirtual java/lang/Throwable.printStackTrace ()V
				        goto END
				    END:
				        return
				    }
				}
				""";
		validateAfterAssembly(asm, List.of(RedundantTryCatchRemovingTransformer.class), dis -> {
			assertEquals(0, StringUtil.count("exceptions:", dis), "Should have removed exception ranges");
			assertEquals(0, StringUtil.count("printStackTrace", dis), "Should have removed catch block contents");
			assertEquals(0, StringUtil.count("astore", dis), "Should have removed catch block contents");
		});
	}
Remove a try-catch that will be impossible to occur.
recaf-core/src/test/java/software/coley/recaf/services/deobfuscation/TryCatchDeobfuscationTest.java