Class ConstantPool

ByteCode Comments of ClassFile
 CAFEBABE  magic
 0003  minor_version
 002D  major_version
 0032  constant_pool_count
 
 0A
 0007
 0024
 constant_pool[1]
 tag = CONSTANT_Methodref
 class_index = java/lang/Object
 name_and_type_index = <init> ()V
 
 09
 0025
 0026
 constant_pool[2]
 tag = CONSTANT_Fieldref
 class_index = java/lang/System
 name_and_type_index = in Ljava/io/InputStream;
 
 07
 0027
 constant_pool[3]
 tag = CONSTANT_Class
 name_index = java/io/DataInput
 
 09
 0006
 0028
 constant_pool[4]
 tag = CONSTANT_Fieldref
 class_index = ConstantPool
 name_and_type_index = in Ljava/io/DataInput;
 
 0B
 0003
 0029
 constant_pool[5]
 tag = CONSTANT_InterfaceMethodref
 class_index = java/io/DataInput
 name_and_type_index = readInt ()I
 
 07
 002A
 constant_pool[6]
 tag = CONSTANT_Class
 name_index = ConstantPool
 
 07
 002B
 constant_pool[7]
 tag = CONSTANT_Class
 name_index = java/lang/Object
 
 01
 0006
 6956616C7565
 constant_pool[8]
 tag = CONSTANT_Utf8
 length
 bytes[] = iValue
 
 01
 0001
 49
 constant_pool[9]
 tag = CONSTANT_Utf8
 length
 bytes[] = I
 
 01
 000D
 436F6E7374616E74
 56616C7565
 constant_pool[a]
 tag = CONSTANT_Utf8
 length
 bytes[] = ConstantValue
 
 03
 00008000
 constant_pool[b]
 tag = CONSTANT_Integer
 bytes = 32768
 
 01
 0006
 6C56616C7565
 constant_pool[c]
 tag = CONSTANT_Utf8
 length
 bytes[] = lValue
 
 01
 0001
 4A
 constant_pool[d]
 tag = CONSTANT_Utf8
 length
 bytes[] = J
 
 05
 0000000000008000
 constant_pool[e]
 tag = CONSTANT_Long
 high_bytes, low_bytes = 32768
 
 01
 0006
 6656616C7565
 constant_pool[10]
 tag = CONSTANT_Utf8
 length
 bytes[] = fValue
 
 01
 0001
 46
 constant_pool[11]
 tag = CONSTANT_Utf8
 length
 bytes[] = F
 
 04
 3FC00000
 constant_pool[12]
 tag = CONSTANT_Float
 bytes = 1.5
 
 01
 0006
 6456616C7565
 constant_pool[13]
 tag = CONSTANT_Utf8
 length
 bytes[] = dValue
 
 01
 0001
 44
 constant_pool[14]
 tag = CONSTANT_Utf8
 length
 bytes[] = D
 
 06
 3FF8000000000000
 constant_pool[15]
 tag = CONSTANT_Double
 high_bytes, low_bytes = 1.5
 
 01
 0006
 7356616C7565
 constant_pool[17]
 tag = CONSTANT_Utf8
 length
 bytes[] = sValue
 
 01
 0012
 4C6A6176612F6C61
 6E672F537472696E
 673B
 constant_pool[18]
 tag = CONSTANT_Utf8
 length
 bytes[] = Ljava/lang/String;
 
 08
 002C
 constant_pool[19]
 tag = CONSTANT_String
 string_index = Java is ¤ö«z
 
 01
 0002
 696E
 constant_pool[1a]
 tag = CONSTANT_Utf8
 length
 bytes[] = in
 
 01
 0013
 4C6A6176612F696F
 2F44617461496E70
 75743B
 constant_pool[1b]
 tag = CONSTANT_Utf8
 length
 bytes[] = Ljava/io/DataInput;
 
 01
 0006
 3C696E69743E
 constant_pool[1c]
 tag = CONSTANT_Utf8
 length
 bytes[] = <init>
 
 01
 0003
 282956
 constant_pool[1d]
 tag = CONSTANT_Utf8
 length
 bytes[] = ()V
 
 01
 0004
 436F6465
 constant_pool[1e]
 tag = CONSTANT_Utf8
 length
 bytes[] = Code
 
 01
 0006
 6D6574686F64
 constant_pool[1f]
 tag = CONSTANT_Utf8
 length
 bytes[] = method
 
 01
 000A
 457863657074696F
 6E73
 constant_pool[20]
 tag = CONSTANT_Utf8
 length
 bytes[] = Exceptions
 
 07
 002D
 constant_pool[21]
 tag = CONSTANT_Class
 name_index = java/io/IOException
 
 01
 000A
 536F757263654669
 6C65
 constant_pool[22]
 tag = CONSTANT_Utf8
 length
 bytes[] = SourceFile
 
 01
 0011
 436F6E7374616E74
 506F6F6C2E6A6176
 61
 constant_pool[23]
 tag = CONSTANT_Utf8
 length
 bytes[] = ConstantPool.java
 
 0C
 001C
 001D
 constant_pool[24]
 tag = CONSTANT_NameAndType
 name_index = <init>
 descriptor_index = ()V
 
 07
 002E
 constant_pool[25]
 tag = CONSTANT_Class
 name_index = java/lang/System
 
 0C
 001A
 002F
 constant_pool[26]
 tag = CONSTANT_NameAndType
 name_index = in
 descriptor_index = Ljava/io/InputStream;
 
 01
 0011
 6A6176612F696F2F
 44617461496E7075
 74
 constant_pool[27]
 tag = CONSTANT_Utf8
 length
 bytes[] = java/io/DataInput
 
 0C
 001A
 001B
 constant_pool[28]
 tag = CONSTANT_NameAndType
 name_index = in
 descriptor_index = Ljava/io/DataInput;
 
 0C
 0030
 0031
 constant_pool[29]
 tag = CONSTANT_NameAndType
 name_index = readInt
 descriptor_index = ()I
 
 01
 000C
 436F6E7374616E74
 506F6F6C
 constant_pool[2a]
 tag = CONSTANT_Utf8
 length
 bytes[] = ConstantPool
 
 01
 0010
 6A6176612F6C616E
 672F4F626A656374
 constant_pool[2b]
 tag = CONSTANT_Utf8
 length
 bytes[] = java/lang/Object
 
 01
 000E
 4A61766120697320
 E788AAE59387
 constant_pool[2c]
 tag = CONSTANT_Utf8
 length
 bytes[] = Java is ¤ö«z
 
 01
 0013
 6A6176612F696F2F
 494F457863657074
 696F6E
 constant_pool[2d]
 tag = CONSTANT_Utf8
 length
 bytes[] = java/io/IOException
 
 01
 0010
 6A6176612F6C616E
 672F53797374656D
 constant_pool[2e]
 tag = CONSTANT_Utf8
 length
 bytes[] = java/lang/System
 
 01
 0015
 4C6A6176612F696F
 2F496E7075745374
 7265616D3B
 constant_pool[2f]
 tag = CONSTANT_Utf8
 length
 bytes[] = Ljava/io/InputStream;
 
 01
 0007
 72656164496E74
 constant_pool[30]
 tag = CONSTANT_Utf8
 length
 bytes[] = readInt
 
 01
 0003
 282949
 constant_pool[31]
 tag = CONSTANT_Utf8
 length
 bytes[] = ()I
 0020  access_flags = super
 0006  this_class = ConstantPool
 0007  super_class = java/lang/Object
 0000  interfaces_count
 0006  fields_count
 0018000800090001
 000A00000002000B
 0018000C000D0001
 000A00000002000E
 0018001000110001
 000A000000020012
 0018001300140001
 000A000000020015
 0018001700180001
 000A000000020019
 0000001A001B0000
 fields[0 ~ 5]
 0002  methods_count
 0000001C001D0001
 001E0000001B0002
 00010000000F2AB7
 00012AB20002C000
 03B50004B1000000
 000000001F001D00
 02001E0000001700
 0100020000000B2A
 B40004B900050100
 3CB1000000000020
 0000000400010021
 methods[0 ~ 1]
 0001  attributes_count
 
 0022
 00000002
 0023
 attributes[0]
 attribute_name_index = SourceFile
 attribute_length
 sourcefile_index = ConstantPool.java

source file: ConstantPool.java