org.apache.bcel.util
final class CodeHTML extends Object implements Constants
Version: $Id: CodeHTML.java 386056 2006-03-15 11:31:56Z tcurdt $
Field Summary | |
---|---|
String | class_name |
ConstantHTML | constant_html |
ConstantPool | constant_pool |
PrintWriter | file |
BitSet | goto_set |
Method[] | methods |
static boolean | wide |
Constructor Summary | |
---|---|
CodeHTML(String dir, String class_name, Method[] methods, ConstantPool constant_pool, ConstantHTML constant_html) |
Method Summary | |
---|---|
String | codeToHTML(ByteSequence bytes, int method_number)
Disassemble a stream of byte codes and return the
string representation.
|
void | findGotos(ByteSequence bytes, Method method, Code code)
Find all target addresses in code, so that they can be marked
with <A NAME = ...>. |
void | writeMethod(Method method, int method_number)
Write a single method with the byte code associated with it. |
Parameters: stream data input stream
Returns: String representation of byte code