Package org.apache.bcel.util
Class ConstantHTML
java.lang.Object
org.apache.bcel.util.ConstantHTML
Convert constant pool into HTML file.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
private final String
private final ConstantPool
private final String[]
private final Constant[]
private final PrintWriter
private final Method[]
-
Constructor Summary
ConstructorsConstructorDescriptionConstantHTML
(String dir, String class_name, String class_package, Method[] methods, ConstantPool constant_pool) -
Method Summary
Modifier and TypeMethodDescriptionprivate int
getMethodNumber
(String str) (package private) String
referenceConstant
(int index) private void
writeConstant
(int index)
-
Field Details
-
className
-
classPackage
-
constantPool
-
file
-
constantRef
-
constants
-
methods
-
-
Constructor Details
-
ConstantHTML
ConstantHTML(String dir, String class_name, String class_package, Method[] methods, ConstantPool constant_pool) throws IOException - Throws:
IOException
-
-
Method Details
-
referenceConstant
-
writeConstant
private void writeConstant(int index) -
getMethodNumber
-