|
Eclipse JDT Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jdt.core.util.ClassFileBytesDisassembler
This class is intended to be subclassed to disassemble classfile bytes onto a String using the proper line separator.
Field Summary | |
---|---|
static int |
COMPACT
This mode is used to compact the class name to a simple name instead of a qualified name. |
static int |
DEFAULT
The mode is the default mode to disassemble IClassFileReader. |
static int |
DETAILED
The mode is the detailed mode to disassemble IClassFileReader. |
static int |
SYSTEM
This mode corresponds to the detailed mode plus the constant pool contents and any further information that would be useful for debugging purpose. |
Constructor Summary | |
---|---|
ClassFileBytesDisassembler()
|
Method Summary | |
---|---|
abstract String |
disassemble(byte[] classFileBytes,
String lineSeparator)
Answers back the disassembled string of the classfile bytes using the default mode. |
abstract String |
disassemble(byte[] classFileBytes,
String lineSeparator,
int mode)
Answers back the disassembled string of the classfile bytes according to the mode. |
abstract String |
getDescription()
Answers a readable short description of this disassembler |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int DETAILED
public static final int DEFAULT
public static final int SYSTEM
public static final int COMPACT
Constructor Detail |
public ClassFileBytesDisassembler()
Method Detail |
public abstract String disassemble(byte[] classFileBytes, String lineSeparator) throws ClassFormatException
classFileBytes
- The bytes of the classfilelineSeparator
- the line separator to use.
ClassFormatException
- if the classfile bytes are ill-formedpublic abstract String disassemble(byte[] classFileBytes, String lineSeparator, int mode) throws ClassFormatException
classFileBytes
- The bytes of the classfilelineSeparator
- the line separator to use.mode
- the mode used to disassemble the IClassFileReader
ClassFormatException
- if the classfile bytes are ill-formedpublic abstract String getDescription()
|
Eclipse JDT Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |