1#
2# sample small-but-valid classfile
3#
4
5cafe babe  # magic
60000       # minor_version
7002e       # major_version
80014       # constant_pool_count
9
10#
11# constant_pool
12#
1306 41195895 5f8a0903       # 0001: double[415269.3433]
1405 12345678 9abcdef0       # 0003: long[0x1234567890abcdef0]
1504 42f6e666                # 0005: float[123.45]
1603 12345678                # 0006: integer[0x12345678]
1708 0013                    # 0007: string["Small"]
180b 0011 000b               # 0008: ifaceMethod[Small.blort:()V]
190a 0011 000b               # 0009: method[Small.blort:()V]
2009 0011 000c               # 000a: field[Small.blort:x/y/Zzz]
210c 000f 000d               # 000b: nat[blort:()V]
220c 000f 000e               # 000c: nat[blort:x/y/Zzz]
2301 0003 "()V"              # 000d: utf8["()V"]
2401 0007 "x/y/Zzz"          # 000e: utf8["x/y/Zzz"]
2501 0005 "blort"            # 000f: utf8["blort"]
2607 0012                    # 0010: class[java/lang/Object]
2707 0013                    # 0011: class[Small]
2801 0010 "java/lang/Object" # 0012: utf8["java/lang/Object"]
2901 0005 "Small"            # 0013: utf8["Small"]
30
310001  # access_flags
320011  # this_class
330010  # super_class
340000  # interfaces_count
350000  # fields_count
360000  # methods_count
37
380000  # attributes_count
39