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
className
private java.lang.String
classPackage
private ConstantPool
constantPool
private java.lang.String[]
constantRef
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
-
className
private final java.lang.String className
-
classPackage
private final java.lang.String classPackage
-
constantPool
private final ConstantPool constantPool
-
file
private final java.io.PrintWriter file
-
constantRef
private final java.lang.String[] constantRef
-
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
-
-