| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final ConstantHTML | |
| private final ConstantPool | |
| private BitSet | |
| private final PrintWriter | |
| private static boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv | CodeHTML(final String dir, final String className, final Method[] methods, final ConstantPool constantPool, final ConstantHTML constantHtml, final Charset charset)
|
| Modifier and Type | Method and Description |
|---|---|
| private String | Returns: String representation of byte codedata input stream bytes, final int methodNumber)Disassemble a stream of byte codes and return the string representation. |
| private void | findGotos(final ByteSequence bytes, final Code code)
Find all target addresses in code, so that they can be marked with <A NAME = ... |
| private void | writeMethod(final Method method, final int methodNumber)
Write a single method with the byte code associated with it. |
| className | back to summary |
|---|---|
| private final String className | |
| constantHtml | back to summary |
|---|---|
| private final ConstantHTML constantHtml | |
| constantPool | back to summary |
|---|---|
| private final ConstantPool constantPool | |
| gotoSet | back to summary |
|---|---|
| private BitSet gotoSet | |
| printWriter | back to summary |
|---|---|
| private final PrintWriter printWriter | |
| wide | back to summary |
|---|---|
| private static boolean wide | |
| CodeHTML | back to summary |
|---|---|
| pack-priv CodeHTML(final String dir, final String className, final Method[] methods, final ConstantPool constantPool, final ConstantHTML constantHtml, final Charset charset) throws IOException | |
| codeToHTML | back to summary |
|---|---|
| private String codeToHTML(final ByteSequence bytes, final int methodNumber) throws IOException Disassemble a stream of byte codes and return the string representation.
| |
| findGotos | back to summary |
|---|---|
| private void findGotos(final ByteSequence bytes, final Code code) throws IOException Find all target addresses in code, so that they can be marked with <A NAME = ...>. Target addresses are kept in an BitSet object. | |
| writeMethod | back to summary |
|---|---|
| private void writeMethod(final Method method, final int methodNumber) throws IOException Write a single method with the byte code associated with it. | |