Class AnnotationInfo

  • Direct Known Subclasses:
    TypeAnnotationInfo

    public class AnnotationInfo
    extends java.lang.Object
    • Field Detail

      • type

        public final java.lang.String type
    • Constructor Detail

      • AnnotationInfo

        public AnnotationInfo​(java.lang.String type,
                              ElementValueInfo[] values)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • read

        static AnnotationInfo read​(java.io.DataInput in,
                                   ConstantPool constant_pool)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        void write​(java.io.DataOutput out,
                   ConstantPool constant_pool)
            throws java.io.IOException
        Throws:
        java.io.IOException
      • value_length

        int value_length()
      • readInfos

        static AnnotationInfo[] readInfos​(java.io.DataInput in,
                                          ConstantPool constant_pool)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • writeInfos

        static void writeInfos​(java.io.DataOutput out,
                               ConstantPool constant_pool,
                               AnnotationInfo[] annotations)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • infos_length

        static int infos_length​(AnnotationInfo[] annotations)