You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.2 KiB
58 lines
1.2 KiB
reading small-class.txt...
|
|
begin classfile
|
|
magic: cafebabe
|
|
minor_version: 0000
|
|
major_version: 002e
|
|
constant_pool_count: 000d
|
|
|
|
constant_pool:
|
|
0001: type{Small}
|
|
0002: type{java.lang.Object}
|
|
0003: utf8{"Small"}
|
|
0004: utf8{"java/lang/Object"}
|
|
0005: utf8{"blort"}
|
|
0006: utf8{"()V"}
|
|
0007: utf8{"Code"}
|
|
0008: utf8{"LocalVariableTable"}
|
|
0009: utf8{"foo"}
|
|
000a: utf8{"bar"}
|
|
000b: utf8{"baz"}
|
|
000c: utf8{"[I"}
|
|
end constant_pool
|
|
access_flags: public
|
|
this_class: type{Small}
|
|
super_class: type{java.lang.Object}
|
|
interfaces_count: 0000
|
|
fields_count: 0000
|
|
methods_count: 0001
|
|
|
|
methods[0]:
|
|
access_flags: public
|
|
name: blort
|
|
descriptor: ()V
|
|
attributes_count: 0001
|
|
|
|
attributes[0]:
|
|
name: Code
|
|
length: 00000034
|
|
max_stack: 0001
|
|
max_locals: 0002
|
|
code_length: 00000002
|
|
0000: return
|
|
0001: return
|
|
exception_table_length: 0000
|
|
attributes_count: 0001
|
|
|
|
attributes[0]:
|
|
name: LocalVariableTable
|
|
length: 00000020
|
|
local_variable_table_length: 0003
|
|
0000..0002 0000 foo [I
|
|
0000..0001 0001 bar [I
|
|
0001..0002 0001 baz [I
|
|
end attributes[0]
|
|
end attributes[0]
|
|
end methods[0]
|
|
attributes_count: 0000
|
|
end classfile
|