Class AbstractDynamicCpInfo

    • Constructor Detail

      • AbstractDynamicCpInfo

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

      • readInfo

        protected void readInfo​(java.io.DataInput din)
                         throws java.io.IOException
        Description copied from class: CpInfo
        Read the 'info' data following the u1tag byte; over-ride this in sub-classes.
        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
        Description copied from class: CpInfo
        Write the 'info' data following the u1tag byte; over-ride this in sub-classes.
        Specified by:
        writeInfo in class CpInfo
        Parameters:
        dout - the dout
        Throws:
        java.io.IOException - the io exception
      • markNTRefs

        protected void markNTRefs​(ConstantPool pool)
        Description copied from class: CpInfo
        Check for NameAndType references to constant pool and mark them; over-ride this in sub-classes.
        Overrides:
        markNTRefs in class CpInfo
        Parameters:
        pool - the pool
      • getBootstrapMethodAttrIndex

        public int getBootstrapMethodAttrIndex()
        Gets bootstrap method attr index.
        Returns:
        the bootstrap method attr index
      • getNameAndTypeIndex

        public int getNameAndTypeIndex()
        Gets name and type index.
        Returns:
        the name and type index
      • setNameAndTypeIndex

        public void setNameAndTypeIndex​(int index)
        Sets name and type index.
        Parameters:
        index - the index