1#
2# sample small-but-valid classfile
3#
4
5cafe babe  # magic
60000       # minor_version
7002e       # major_version
80009       # constant_pool_count
9
10#
11# constant_pool
12#
1307 0003                    # 0001: class[Small]
1407 0004                    # 0002: class[java/lang/Object]
1501 0005 "Small"            # 0003: utf8["Small"]
1601 0010 "java/lang/Object" # 0004: utf8["java/lang/Object"]
1701 0005 "blort"            # 0005: utf8["blort"]
1801 0003 "()V"              # 0006: utf8["()V"]
1901 0009 "Signature"        # 0007: utf8["Signature"]
2001 0004 "LYo;"             # 0008: utf8["Yo"]
21
220001  # access_flags
230001  # this_class
240002  # super_class
250000  # interfaces_count
260000  # fields_count
270001  # methods_count
28
29# methods[0]
300401  # access_flags
310005  # name
320006  # descriptor
330001  # attributes_count
34# attributes[0]
350007      # name
3600000002  # length
370008      # signature
38
390000  # attributes_count
40