Klasse Disassembler
java.lang.Object
org.aspectj.org.eclipse.jdt.core.util.ClassFileBytesDisassembler
org.aspectj.org.eclipse.jdt.internal.core.util.Disassembler
Disassembler of .class files. It generates an output in the Writer that looks close to
the javap output.
-
Feldübersicht
Von Klasse geerbte Felder org.aspectj.org.eclipse.jdt.core.util.ClassFileBytesDisassembler
COMPACT, DEFAULT, DETAILED, SYSTEM, WORKING_COPY
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdisassemble
(byte[] classFileBytes, String lineSeparator) Answers back the disassembled string of the classfile bytes using the default mode.disassemble
(byte[] classFileBytes, String lineSeparator, int mode) Answers back the disassembled string of the classfile bytes according to the mode.disassemble
(IClassFileReader classFileReader, String lineSeparator) disassemble
(IClassFileReader classFileReader, String lineSeparator, int mode) Answers back the disassembled string of the IClassFileReader according to the mode.static String
Answers a readable short description of this disassembler
-
Konstruktordetails
-
Disassembler
public Disassembler()
-
-
Methodendetails
-
escapeString
-
disassemble
Beschreibung aus Klasse kopiert:ClassFileBytesDisassembler
Answers back the disassembled string of the classfile bytes using the default mode. This is an output quite similar to the javap tool, using DEFAULT mode.- Angegeben von:
disassemble
in KlasseClassFileBytesDisassembler
- Parameter:
classFileBytes
- The bytes of the classfilelineSeparator
- the line separator to use.- Gibt zurück:
- the disassembled string of the IClassFileReader using the default mode.
- Löst aus:
ClassFormatException
- if the classfile bytes are ill-formed- Siehe auch:
-
disassemble
public String disassemble(byte[] classFileBytes, String lineSeparator, int mode) throws ClassFormatException Beschreibung aus Klasse kopiert:ClassFileBytesDisassembler
Answers back the disassembled string of the classfile bytes according to the mode. This is an output quite similar to the javap tool.- Angegeben von:
disassemble
in KlasseClassFileBytesDisassembler
- Parameter:
classFileBytes
- The bytes of the classfilelineSeparator
- the line separator to use.mode
- the mode used to disassemble the IClassFileReader- Gibt zurück:
- the disassembled string of the IClassFileReader according to the mode
- Löst aus:
ClassFormatException
- if the classfile bytes are ill-formed- Siehe auch:
-
disassemble
- Siehe auch:
-
disassemble
Answers back the disassembled string of the IClassFileReader according to the mode. This is an output quite similar to the javap tool.- Parameter:
classFileReader
- The classFileReader to be disassembledlineSeparator
- the line separator to use.mode
- the mode used to disassemble the IClassFileReader- Gibt zurück:
- the disassembled string of the IClassFileReader according to the mode
-
getDescription
Beschreibung aus Klasse kopiert:ClassFileBytesDisassembler
Answers a readable short description of this disassembler- Angegeben von:
getDescription
in KlasseClassFileBytesDisassembler
- Gibt zurück:
- String - a string description of the disassembler
- Siehe auch:
-