Previous: The Constraint attribute, Up: Class attributes
This attribute describes the second constant pool, containing all names and types that appear in the specification part of the class description. It has the following structure:
SecondConstantPool_attribute { u2 attribute_name_index; u4 attribute_length; u2 second_cp_count; cp_info second_cp[second_cp_count-1]; }
We follow here the way the original Constant Pool is defined. This implies that the second_cp table is indexed from 1 to second_cp_count-1.
The meaning of the fields is the following: