Class AttributeInfo

    • Field Detail

      • attribute_name_index

        protected int attribute_name_index
      • attribute_length

        protected int attribute_length
      • info

        private byte[] info
    • Constructor Detail

      • AttributeInfo

        public AttributeInfo​(SubClass classFile,
                             java.lang.String attributeName)
      • AttributeInfo

        public AttributeInfo​(ClassFile classFile,
                             int attribute_name_index,
                             int attribute_length)
      • AttributeInfo

        public AttributeInfo​(SubClass classFile,
                             java.lang.String attributeName,
                             int attribute_length)
      • AttributeInfo

        public AttributeInfo​(ClassFile classFile,
                             java.io.DataInput in)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • AttributeInfo

        private AttributeInfo​(ClassFile classFile,
                              int attribute_name_index,
                              int attribute_length,
                              java.io.DataInput in)
                       throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getInstance

        public static AttributeInfo getInstance​(ClassFile cf,
                                                java.io.DataInput in)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        public void write​(java.io.DataOutput out)
                   throws java.io.IOException
        Specified by:
        write in interface Writable
        Throws:
        java.io.IOException
      • getAttributeSize

        public int getAttributeSize()