Class ElementValuePairInfo


  • public class ElementValuePairInfo
    extends java.lang.Object
    The type Element value pair info.
    • Field Detail

      • u2ElementNameIndex

        protected int u2ElementNameIndex
        The U 2 element name index.
    • Method Detail

      • create

        public static ElementValuePairInfo create​(java.io.DataInput din)
                                           throws java.io.IOException
        Create element value pair info.
        Parameters:
        din - the din
        Returns:
        the element value pair info
        Throws:
        java.io.IOException - the io exception
      • read

        protected void read​(java.io.DataInput din)
                     throws java.io.IOException
        Read.
        Parameters:
        din - the din
        Throws:
        java.io.IOException - the io exception
      • markUtf8RefsInInfo

        protected void markUtf8RefsInInfo​(ConstantPool pool)
        Mark utf 8 refs in info.
        Parameters:
        pool - the pool
      • write

        public void write​(java.io.DataOutput dout)
                   throws java.io.IOException
        Export the representation to a DataOutput stream.
        Parameters:
        dout - the dout
        Throws:
        java.io.IOException - the io exception
      • getU2ElementNameIndex

        public int getU2ElementNameIndex()
        Gets u 2 element name index.
        Returns:
        the u 2 element name index
      • getElementValue

        public ElementValueInfo getElementValue()
        Gets element value.
        Returns:
        the element value