1#
2# sample small-but-valid classfile
3#
4
5cafe babe  # magic
60000       # minor_version
7002e       # major_version
80007       # constant_pool_count
9
10#
11# constant_pool
12#
1301 0005 "Small"            # 0001: utf8["Small"]
1401 0010 "java/lang/Object" # 0002: utf8["java/lang/Object"]
1507 0001                    # 0003: class[Small]
1607 0002                    # 0004: class[java/lang/Object]
1701 0003 "foo"              # 0005: utf8["foo"]
1801 0003 "()V"              # 0006: utf8["()V"]
19
200021  # access_flags
210003  # this_class
220004  # super_class
230000  # interfaces_count
240000  # fields_count
25
260001  # methods_count
27
28# methods[0]
29ffff  # access_flags
300005  # name
310006  # descriptor
320000  # attributes_count
33
340000  # attributes_count
35