Class ConstantHTML


  • final class ConstantHTML
    extends java.lang.Object
    Convert constant pool into HTML file.
    • Field Detail

      • className

        private final java.lang.String className
      • classPackage

        private final java.lang.String classPackage
      • printWriter

        private final java.io.PrintWriter printWriter
      • 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 className,
                     java.lang.String classPackage,
                     Method[] methods,
                     ConstantPool constantPool,
                     java.nio.charset.Charset charset)
              throws java.io.FileNotFoundException,
                     java.io.UnsupportedEncodingException
        Throws:
        java.io.FileNotFoundException
        java.io.UnsupportedEncodingException
    • Method Detail

      • getMethodNumber

        private int getMethodNumber​(java.lang.String str)
      • referenceConstant

        java.lang.String referenceConstant​(int index)
      • writeConstant

        private void writeConstant​(int index)