Class AnnotationInfo

  • Direct Known Subclasses:
    TypeAnnotationInfo

    public class AnnotationInfo
    extends java.lang.Object
    The type Annotation info.
    • Field Detail

      • u2typeIndex

        protected int u2typeIndex
        The type index.
    • Method Detail

      • create

        public static AnnotationInfo create​(java.io.DataInput din)
                                     throws java.io.IOException
        Create annotation info.
        Parameters:
        din - the din
        Returns:
        the annotation info
        Throws:
        java.io.IOException - the io exception
      • getElementValuePairs

        public ElementValuePairInfo[] getElementValuePairs()
        Get element value pairs element value pair info [ ].
        Returns:
        the element value pair info [ ]
      • 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