From 7f5360c28d67eb8980beb2c125d4b136c39abc47 Mon Sep 17 00:00:00 2001 From: Konloch Date: Wed, 2 Oct 2024 16:57:39 -0600 Subject: [PATCH] Comments --- .../bytecodeviewer/decompilers/impl/ASMifierGenerator.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/decompilers/impl/ASMifierGenerator.java b/src/main/java/the/bytecode/club/bytecodeviewer/decompilers/impl/ASMifierGenerator.java index 85b51fa7..c30598a0 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/decompilers/impl/ASMifierGenerator.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/decompilers/impl/ASMifierGenerator.java @@ -54,7 +54,10 @@ public class ASMifierGenerator extends AbstractDecompiler try { + //create writer StringWriter writer = new StringWriter(); + + //initialize ASMifier & parse class-file cn.accept(new TraceClassVisitor(null, new ASMifier(), new PrintWriter(writer))); //handle simulated errors