@Test
	void foldVar() {
		String asm = """
				.method public static example ()I {
				    code: {
				    A:
				        iconst_0
				        istore zero
				        bipush 50
				        istore unused0
				        bipush 51
				        istore unused1
				        bipush 52
				        istore unused2
				        bipush 53
				        istore unused3
				        bipush 54
				        istore unused4
				    B:
				        iload zero
				        ireturn
				    C:
				    }
				}
				""";
		validateAfterAssembly(asm, List.of(VariableFoldingTransformer.class, StackOperationFoldingTransformer.class), dis -> {
			assertEquals(0, StringUtil.count("istore unused", dis), "Expected to remove variable stores where no reads are used");
			assertEquals(0, StringUtil.count("bipush", dis), "Expected to remove unused value pushes of variables");
			assertEquals(0, StringUtil.count("zero", dis), "Expected to inline 'zero' variable");
		});
	}
Showcase pairing of {@link VariableFoldingTransformer} with {@link StackOperationFoldingTransformer}
recaf-core/src/test/java/software/coley/recaf/services/deobfuscation/FoldingDeobfuscationTest.java