Top Description Fields Constructors Methods
org.apache.bcel.util

pack-priv final Class ConstantHTML

extends Object
Class Inheritance
Imports
java.io.FileNotFoundException, .PrintWriter, .UnsupportedEncodingException, java.nio.charset.Charset, org.apache.bcel.Const, org.apache.bcel.classfile.Constant, .ConstantClass, .ConstantFieldref, .ConstantInterfaceMethodref, .ConstantMethodref, .ConstantNameAndType, .ConstantPool, .ConstantString, .Method, .Utility

Convert constant pool into HTML file.

Field Summary

Modifier and TypeField and Description
private final String
private final String
private final ConstantPool
private final String[]
private final Constant[]
private final Method[]
private final PrintWriter

Constructor Summary

AccessConstructor and Description
pack-priv
ConstantHTML(final String dir, final String className, final String classPackage, final Method[] methods, final ConstantPool constantPool, final Charset charset)

Method Summary

Modifier and TypeMethod and Description
private int
pack-priv String
referenceConstant(final int index)

private void
writeConstant(final int index)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

classNameback to summary
private final String className
classPackageback to summary
private final String classPackage
constantPoolback to summary
private final ConstantPool constantPool
constantRefback to summary
private final String[] constantRef
constantsback to summary
private final Constant[] constants
methodsback to summary
private final Method[] methods
printWriterback to summary
private final PrintWriter printWriter

Constructor Detail

ConstantHTMLback to summary
pack-priv ConstantHTML(final String dir, final String className, final String classPackage, final Method[] methods, final ConstantPool constantPool, final Charset charset) throws FileNotFoundException, UnsupportedEncodingException

Method Detail

getMethodNumberback to summary
private int getMethodNumber(final String str)
referenceConstantback to summary
pack-priv String referenceConstant(final int index)
writeConstantback to summary
private void writeConstant(final int index)