Class ElementValueInfo


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

      • u1Tag

        protected int u1Tag
        The U 1 tag.
      • u2cpIndex

        protected int u2cpIndex
        The U 2 cp index.
      • u2typeNameIndex

        protected int u2typeNameIndex
        The U 2 type name index.
      • u2constNameIndex

        protected int u2constNameIndex
        The U 2 const name index.
      • nestedAnnotation

        protected AnnotationInfo nestedAnnotation
        The Nested annotation.
    • Method Detail

      • create

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

        public boolean getBoolValue​(ConstantPool cp)
        Get bool value boolean.
        Parameters:
        cp - the cp
        Returns:
        the boolean
      • 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