Class DeprecatedAttrInfo

  • All Implemented Interfaces:
    ClassConstants

    public class DeprecatedAttrInfo
    extends AttrInfo
    Representation of an attribute.
    • Constructor Detail

      • DeprecatedAttrInfo

        protected DeprecatedAttrInfo​(ClassFile cf,
                                     int attrNameIndex,
                                     int attrLength)
        Instantiates a new Deprecated attr info.
        Parameters:
        cf - the cf
        attrNameIndex - the attr name index
        attrLength - the attr length
    • Method Detail

      • getAttrName

        protected java.lang.String getAttrName()
        Return the String name of the attribute.
        Overrides:
        getAttrName in class AttrInfo
        Returns:
        the attr name
      • readInfo

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

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