Class AbstractTypeCpInfo

    • Constructor Detail

      • AbstractTypeCpInfo

        protected AbstractTypeCpInfo​(int tag)
        Instantiates a new Abstract type cp info.
        Parameters:
        tag - the tag
    • Method Detail

      • getNameIndex

        protected int getNameIndex()
        Return the name index.
        Returns:
        the name index
      • setNameIndex

        protected void setNameIndex​(int index)
        Set the name index.
        Parameters:
        index - the index
      • markUtf8Refs

        protected void markUtf8Refs​(ConstantPool pool)
        Check for Utf8 references to constant pool and mark them.
        Overrides:
        markUtf8Refs in class CpInfo
        Parameters:
        pool - the pool
      • readInfo

        protected void readInfo​(java.io.DataInput din)
                         throws java.io.IOException
        Read the 'info' data following the u1tag byte.
        Specified by:
        readInfo in class CpInfo
        Parameters:
        din - the din
        Throws:
        java.io.IOException - the io exception
      • writeInfo

        protected void writeInfo​(java.io.DataOutput dout)
                          throws java.io.IOException
        Write the 'info' data following the u1tag byte.
        Specified by:
        writeInfo in class CpInfo
        Parameters:
        dout - the dout
        Throws:
        java.io.IOException - the io exception