Module de.carne.mcd.jvmdecoder
Class BytecodeDecoder
- java.lang.Object
-
- de.carne.mcd.MachineCodeDecoder
-
- de.carne.mcd.jvmdecoder.classfile.bytecode.BytecodeDecoder
-
public class BytecodeDecoder extends de.carne.mcd.MachineCodeDecoderJava bytecode decoder
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNAMEDecoder name.
-
Constructor Summary
Constructors Constructor Description BytecodeDecoder(ClassInfo classInfo)Constructs a new BytecodeDecoder instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected longdecode0(de.carne.mcd.io.MCDInputBuffer in, de.carne.mcd.io.MCDOutputBuffer out, long offset, long limit)ClassInfogetClassInfo()Gets the ClassInfo associated with this BytecodeDecoder instance.
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
Decoder name.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BytecodeDecoder
public BytecodeDecoder(ClassInfo classInfo)
Constructs a new BytecodeDecoder instance.- Parameters:
classInfo- the ClassInfo of the surrounding class.
-
-
Method Detail
-
getClassInfo
public ClassInfo getClassInfo()
Gets the ClassInfo associated with this BytecodeDecoder instance.- Returns:
- the ClassInfo associated with this BytecodeDecoder instance.
-
decode0
protected long decode0(de.carne.mcd.io.MCDInputBuffer in, de.carne.mcd.io.MCDOutputBuffer out, long offset, long limit) throws java.io.IOException- Specified by:
decode0in classde.carne.mcd.MachineCodeDecoder- Throws:
java.io.IOException
-
-