笔记:Java二进制Class文件结构<未完待续>

来源:互联网 发布:云房数据研究中心出品 编辑:程序博客网 时间:2024/06/04 19:00

一、class文件结构

类型 名称 数量 u4 magic 1 u2 minor_version 1 u2 major_version 1 u2 constant_pool_count 1 cp_info constant_pool constant_pool_count - 1 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 fields fields_count u2 methods_count 1 method_info methods methods_count u2 attributes_count 1 attribute_info attributes attributes_count

二、类文件结构剖析<未完待续>

补充类文件格式中各部分结构,如constant_pool,fields,methods,attributes等。

0 0
原创粉丝点击