The Disassembler Example Program (contd)
The AttributeInfo class reads the attributes of the fields, the methods and the class itself. Every object of type AttributeInfo consists of the name index (in the constant pool) and an array of data.
Objects of type FieldInfo contain the field information of the class: their access flags, their name index in the constant pool, their descriptor index in the constant pool and an array of type AttributeInfo.
Objects of type MethodInfo contain the method information of the class: their access flags, their name index in the constant pool, their descriptor index in the constant pool and an array of type AttributeInfo.