final class CodeHTML
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
class_name |
private ConstantHTML |
constant_html |
private ConstantPool |
constant_pool |
private java.io.PrintWriter |
file |
private java.util.BitSet |
goto_set |
private static boolean |
wide |
Constructor and Description |
---|
CodeHTML(java.lang.String dir,
java.lang.String class_name,
Method[] methods,
ConstantPool constant_pool,
ConstantHTML constant_html) |
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
codeToHTML(ByteSequence bytes,
int method_number)
Disassemble a stream of byte codes and return the
string representation.
|
private void |
findGotos(ByteSequence bytes,
Code code)
Find all target addresses in code, so that they can be marked
with <A NAME = ...>.
|
private void |
writeMethod(Method method,
int method_number)
Write a single method with the byte code associated with it.
|
private final java.lang.String class_name
private final java.io.PrintWriter file
private java.util.BitSet goto_set
private final ConstantPool constant_pool
private final ConstantHTML constant_html
private static boolean wide
CodeHTML(java.lang.String dir, java.lang.String class_name, Method[] methods, ConstantPool constant_pool, ConstantHTML constant_html) throws java.io.IOException
java.io.IOException
private java.lang.String codeToHTML(ByteSequence bytes, int method_number) throws java.io.IOException
stream
- data input streamjava.io.IOException
private void findGotos(ByteSequence bytes, Code code) throws java.io.IOException
java.io.IOException
private void writeMethod(Method method, int method_number) throws java.io.IOException
java.io.IOException