public class DisassemblyTool extends Object
Two output formats are supported: assembly and builder. The assembly format is the default, and it produces a pseudo Java source file, where the method bodies contain JVM assembly code.
The builder format produces a valid Java file, which uses the Cojen classfile API. When compiled and run, it rebuilds the original class and inner classes. This format makes it easier to understand how to use the classfile API to generate new classes.
Modifier and Type | Class and Description |
---|---|
static interface |
DisassemblyTool.Printer |
Constructor and Description |
---|
DisassemblyTool() |
Copyright © 2004-2015 Cojen. All Rights Reserved.