Class ModuleAttrInfo

  • All Implemented Interfaces:
    ClassConstants

    public class ModuleAttrInfo
    extends AttrInfo
    Representation of a module attribute.
    • Method Detail

      • getAttrName

        protected java.lang.String getAttrName()
        Returns "Module".
        Overrides:
        getAttrName in class AttrInfo
        Returns:
        the attr name
      • markUtf8RefsInInfo

        protected void markUtf8RefsInInfo​(ConstantPool pool)
        Check for references in the 'info' data to the constant pool and mark them.
        Overrides:
        markUtf8RefsInInfo in class AttrInfo
        Parameters:
        pool - the pool
      • readInfo

        protected void readInfo​(java.io.DataInput din)
                         throws java.io.IOException
        Read the data following the header.
        Overrides:
        readInfo in class AttrInfo
        Parameters:
        din - the din
        Throws:
        java.io.IOException - the io exception
      • writeInfo

        public void writeInfo​(java.io.DataOutput dout)
                       throws java.io.IOException
        Export data following the header to a DataOutput stream.
        Overrides:
        writeInfo in class AttrInfo
        Parameters:
        dout - the dout
        Throws:
        java.io.IOException - the io exception