• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1reading small-class.txt...
2begin classfile
3magic: cafebabe
4minor_version: 0000
5major_version: 002e
6constant_pool_count: 000d
7
8constant_pool:
9  0001: type{Small}
10  0002: type{java.lang.Object}
11  0003: utf8{"Small"}
12  0004: utf8{"java/lang/Object"}
13  0005: utf8{"blort"}
14  0006: utf8{"()V"}
15  0007: utf8{"Code"}
16  0008: utf8{"LocalVariableTable"}
17  0009: utf8{"foo"}
18  000a: utf8{"bar"}
19  000b: utf8{"baz"}
20  000c: utf8{"[I"}
21end constant_pool
22access_flags: public
23this_class: type{Small}
24super_class: type{java.lang.Object}
25interfaces_count: 0000
26fields_count: 0000
27methods_count: 0001
28
29methods[0]:
30  access_flags: public
31  name: blort
32  descriptor: ()V
33  attributes_count: 0001
34
35  attributes[0]:
36    name: Code
37    length: 00000034
38    max_stack: 0001
39    max_locals: 0002
40    code_length: 00000002
41    0000: return
42    0001: return
43    exception_table_length: 0000
44    attributes_count: 0001
45
46    attributes[0]:
47      name: LocalVariableTable
48      length: 00000020
49      local_variable_table_length: 0003
50      0000..0002 0000 foo [I
51      0000..0001 0001 bar [I
52      0001..0002 0001 baz [I
53    end attributes[0]
54  end attributes[0]
55end methods[0]
56attributes_count: 0000
57end classfile
58