Class Disassembler
- java.lang.Object
-
- org.codehaus.commons.compiler.util.Disassembler
-
public final class Disassembler extends java.lang.ObjectGenerates human-readable Java assembler code from Java bytecode.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiddisassembleToStdout(byte[] contents)Loads a "de.unkrig.jdisasm.Disassembler" through reflection (to avoid a compile-time dependency) and uses it to disassemble the given bytes toSystem.out.
-
-
-
Method Detail
-
disassembleToStdout
public static void disassembleToStdout(byte[] contents)
Loads a "de.unkrig.jdisasm.Disassembler" through reflection (to avoid a compile-time dependency) and uses it to disassemble the given bytes toSystem.out.Prints an error message to
System.errif that class cannot be loaded through the classpath.System variable
disasm.verbosecontrols whether the disassembler operates in "verbose" mode. The default isfalse.
-
-