类型解析
-
u4
在进制里面占4个字节 -
u2
在进制里面占2个字节
Class文件格式
类型 | 名称 | 数量 |
---|---|---|
u4 | magic | 1 |
u2 | minor_version | 1 |
u2 | major_version | 1 |
u2 | constant_pool_count | 1 |
cp_info | constant_pool | constant_pool_count的数量 |
u2 | access_flags | 1 |
u2 | this_class | 1 |
u2 | super_class | 1 |
u2 | interfaces_count | 1 |
u2 | interfaces | interfaces_count的数量 |
u2 | fields_count | 1 |
field_info | fileds | fields_count的数量 |
u2 | methods_count | 1 |
methods_info | methods | methods_count的数量 |
u2 | attributes_count | 1 |
attributes_info | attributes | attributes_count的数量 |