Home | History | Annotate | Download | only in 022-code-attrib-LocalVariableTable
      1 reading small-class.txt...
      2 begin classfile
      3 magic: cafebabe
      4 minor_version: 0000
      5 major_version: 002e
      6 constant_pool_count: 000d
      7 
      8 constant_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"}
     21 end constant_pool
     22 access_flags: public
     23 this_class: type{Small}
     24 super_class: type{java.lang.Object}
     25 interfaces_count: 0000
     26 fields_count: 0000
     27 methods_count: 0001
     28 
     29 methods[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]
     55 end methods[0]
     56 attributes_count: 0000
     57 end classfile
     58