Package org.apache.bcel.util
Class ConstantHTML
- java.lang.Object
-
- org.apache.bcel.util.ConstantHTML
-
final class ConstantHTML extends java.lang.Object
Convert constant pool into HTML file.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
class_name
private java.lang.String
class_package
private ConstantPool
constant_pool
private java.lang.String[]
constant_ref
private Constant[]
constants
private java.io.PrintWriter
file
private Method[]
methods
-
Constructor Summary
Constructors Constructor Description ConstantHTML(java.lang.String dir, java.lang.String class_name, java.lang.String class_package, Method[] methods, ConstantPool constant_pool)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private int
getMethodNumber(java.lang.String str)
(package private) java.lang.String
referenceConstant(int index)
private void
writeConstant(int index)
-
-
-
Field Detail
-
class_name
private final java.lang.String class_name
-
class_package
private final java.lang.String class_package
-
constant_pool
private final ConstantPool constant_pool
-
file
private final java.io.PrintWriter file
-
constant_ref
private final java.lang.String[] constant_ref
-
constants
private final Constant[] constants
-
methods
private final Method[] methods
-
-
Constructor Detail
-
ConstantHTML
ConstantHTML(java.lang.String dir, java.lang.String class_name, java.lang.String class_package, Method[] methods, ConstantPool constant_pool) throws java.io.IOException
- Throws:
java.io.IOException
-
-