public class com.sun.tools.jdi.Packet
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.jdi.Packet
super_class: java.lang.Object
{
public static final short NoFlags;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final short Reply;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 128
public static final short ReplyNoError;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
static int uID;
descriptor: I
flags: (0x0008) ACC_STATIC
static final byte[] nullData;
descriptor: [B
flags: (0x0018) ACC_STATIC, ACC_FINAL
int id;
descriptor: I
flags: (0x0000)
short flags;
descriptor: S
flags: (0x0000)
short cmdSet;
descriptor: S
flags: (0x0000)
short cmd;
descriptor: S
flags: (0x0000)
short errorCode;
descriptor: S
flags: (0x0000)
byte[] data;
descriptor: [B
flags: (0x0000)
volatile boolean replied;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: .line 36
iconst_1
putstatic com.sun.tools.jdi.Packet.uID:I
1: .line 37
iconst_0
newarray 8
putstatic com.sun.tools.jdi.Packet.nullData:[B
return
LocalVariableTable:
Start End Slot Name Signature
public byte[] toByteArray();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 // com.sun.tools.jdi.Packet this
0: .line 54
aload 0 /* this */
getfield com.sun.tools.jdi.Packet.data:[B
arraylength
bipush 11
iadd
istore 1 /* len */
start local 1 // int len
1: .line 55
iload 1 /* len */
newarray 8
astore 2 /* b */
start local 2 // byte[] b
2: .line 56
aload 2 /* b */
iconst_0
iload 1 /* len */
bipush 24
iushr
sipush 255
iand
i2b
bastore
3: .line 57
aload 2 /* b */
iconst_1
iload 1 /* len */
bipush 16
iushr
sipush 255
iand
i2b
bastore
4: .line 58
aload 2 /* b */
iconst_2
iload 1 /* len */
bipush 8
iushr
sipush 255
iand
i2b
bastore
5: .line 59
aload 2 /* b */
iconst_3
iload 1 /* len */
iconst_0
iushr
sipush 255
iand
i2b
bastore
6: .line 60
aload 2 /* b */
iconst_4
aload 0 /* this */
getfield com.sun.tools.jdi.Packet.id:I
bipush 24
iushr
sipush 255
iand
i2b
bastore
7: .line 61
aload 2 /* b */
iconst_5
aload 0 /* this */
getfield com.sun.tools.jdi.Packet.id:I
bipush 16
iushr
sipush 255
iand
i2b
bastore
8: .line 62
aload 2 /* b */
bipush 6
aload 0 /* this */
getfield com.sun.tools.jdi.Packet.id:I
bipush 8
iushr
sipush 255
iand
i2b
bastore
9: .line 63
aload 2 /* b */
bipush 7
aload 0 /* this */
getfield com.sun.tools.jdi.Packet.id:I
iconst_0
iushr
sipush 255
iand
i2b
bastore
10: .line 64
aload 2 /* b */
bipush 8
aload 0 /* this */
getfield com.sun.tools.jdi.Packet.flags:S
i2b
bastore
11: .line 65
aload 0 /* this */
getfield com.sun.tools.jdi.Packet.flags:S
sipush 128
iand
ifne 15
12: .line 66
aload 2 /* b */
bipush 9
aload 0 /* this */
getfield com.sun.tools.jdi.Packet.cmdSet:S
i2b
bastore
13: .line 67
aload 2 /* b */
bipush 10
aload 0 /* this */
getfield com.sun.tools.jdi.Packet.cmd:S
i2b
bastore
14: .line 68
goto 17
15: .line 69
StackMap locals: int byte[]
StackMap stack:
aload 2 /* b */
bipush 9
aload 0 /* this */
getfield com.sun.tools.jdi.Packet.errorCode:S
bipush 8
iushr
sipush 255
iand
i2b
bastore
16: .line 70
aload 2 /* b */
bipush 10
aload 0 /* this */
getfield com.sun.tools.jdi.Packet.errorCode:S
iconst_0
iushr
sipush 255
iand
i2b
bastore
17: .line 72
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.tools.jdi.Packet.data:[B
arraylength
ifle 19
18: .line 73
aload 0 /* this */
getfield com.sun.tools.jdi.Packet.data:[B
iconst_0
aload 2 /* b */
bipush 11
aload 0 /* this */
getfield com.sun.tools.jdi.Packet.data:[B
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
19: .line 75
StackMap locals:
StackMap stack:
aload 2 /* b */
areturn
end local 2 // byte[] b
end local 1 // int len
end local 0 // com.sun.tools.jdi.Packet this
LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/sun/tools/jdi/Packet;
1 20 1 len I
2 20 2 b [B
public static com.sun.tools.jdi.Packet fromByteArray(byte[]);
descriptor: ([B)Lcom/sun/tools/jdi/Packet;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=13, args_size=1
start local 0 // byte[] b
0: .line 82
aload 0 /* b */
arraylength
bipush 11
if_icmpge 2
1: .line 83
new java.io.IOException
dup
ldc "packet is insufficient size"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: .line 86
StackMap locals:
StackMap stack:
aload 0 /* b */
iconst_0
baload
sipush 255
iand
istore 1 /* b0 */
start local 1 // int b0
3: .line 87
aload 0 /* b */
iconst_1
baload
sipush 255
iand
istore 2 /* b1 */
start local 2 // int b1
4: .line 88
aload 0 /* b */
iconst_2
baload
sipush 255
iand
istore 3 /* b2 */
start local 3 // int b2
5: .line 89
aload 0 /* b */
iconst_3
baload
sipush 255
iand
istore 4 /* b3 */
start local 4 // int b3
6: .line 90
iload 1 /* b0 */
bipush 24
ishl
iload 2 /* b1 */
bipush 16
ishl
ior
iload 3 /* b2 */
bipush 8
ishl
ior
iload 4 /* b3 */
iconst_0
ishl
ior
istore 5 /* len */
start local 5 // int len
7: .line 91
iload 5 /* len */
aload 0 /* b */
arraylength
if_icmpeq 9
8: .line 92
new java.io.IOException
dup
ldc "length size mis-match"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
9: .line 95
StackMap locals: byte[] int int int int int
StackMap stack:
aload 0 /* b */
iconst_4
baload
sipush 255
iand
istore 6 /* b4 */
start local 6 // int b4
10: .line 96
aload 0 /* b */
iconst_5
baload
sipush 255
iand
istore 7 /* b5 */
start local 7 // int b5
11: .line 97
aload 0 /* b */
bipush 6
baload
sipush 255
iand
istore 8 /* b6 */
start local 8 // int b6
12: .line 98
aload 0 /* b */
bipush 7
baload
sipush 255
iand
istore 9 /* b7 */
start local 9 // int b7
13: .line 100
new com.sun.tools.jdi.Packet
dup
invokespecial com.sun.tools.jdi.Packet.<init>:()V
astore 10 /* p */
start local 10 // com.sun.tools.jdi.Packet p
14: .line 101
aload 10 /* p */
iload 6 /* b4 */
bipush 24
ishl
iload 7 /* b5 */
bipush 16
ishl
ior
iload 8 /* b6 */
bipush 8
ishl
ior
iload 9 /* b7 */
iconst_0
ishl
ior
putfield com.sun.tools.jdi.Packet.id:I
15: .line 103
aload 10 /* p */
aload 0 /* b */
bipush 8
baload
sipush 255
iand
i2s
putfield com.sun.tools.jdi.Packet.flags:S
16: .line 105
aload 10 /* p */
getfield com.sun.tools.jdi.Packet.flags:S
sipush 128
iand
ifne 20
17: .line 106
aload 10 /* p */
aload 0 /* b */
bipush 9
baload
sipush 255
iand
i2s
putfield com.sun.tools.jdi.Packet.cmdSet:S
18: .line 107
aload 10 /* p */
aload 0 /* b */
bipush 10
baload
sipush 255
iand
i2s
putfield com.sun.tools.jdi.Packet.cmd:S
19: .line 108
goto 23
20: .line 109
StackMap locals: byte[] int int int int int int int int int com.sun.tools.jdi.Packet
StackMap stack:
aload 0 /* b */
bipush 9
baload
sipush 255
iand
i2s
istore 11 /* b9 */
start local 11 // short b9
21: .line 110
aload 0 /* b */
bipush 10
baload
sipush 255
iand
i2s
istore 12 /* b10 */
start local 12 // short b10
22: .line 111
aload 10 /* p */
iload 11 /* b9 */
bipush 8
ishl
iload 12 /* b10 */
iconst_0
ishl
iadd
i2s
putfield com.sun.tools.jdi.Packet.errorCode:S
end local 12 // short b10
end local 11 // short b9
23: .line 114
StackMap locals:
StackMap stack:
aload 10 /* p */
aload 0 /* b */
arraylength
bipush 11
isub
newarray 8
putfield com.sun.tools.jdi.Packet.data:[B
24: .line 115
aload 0 /* b */
bipush 11
aload 10 /* p */
getfield com.sun.tools.jdi.Packet.data:[B
iconst_0
aload 10 /* p */
getfield com.sun.tools.jdi.Packet.data:[B
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
25: .line 116
aload 10 /* p */
areturn
end local 10 // com.sun.tools.jdi.Packet p
end local 9 // int b7
end local 8 // int b6
end local 7 // int b5
end local 6 // int b4
end local 5 // int len
end local 4 // int b3
end local 3 // int b2
end local 2 // int b1
end local 1 // int b0
end local 0 // byte[] b
LocalVariableTable:
Start End Slot Name Signature
0 26 0 b [B
3 26 1 b0 I
4 26 2 b1 I
5 26 3 b2 I
6 26 4 b3 I
7 26 5 len I
10 26 6 b4 I
11 26 7 b5 I
12 26 8 b6 I
13 26 9 b7 I
14 26 10 p Lcom/sun/tools/jdi/Packet;
21 23 11 b9 S
22 23 12 b10 S
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 // com.sun.tools.jdi.Packet this
0: .line 119
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 48
aload 0 /* this */
iconst_0
putfield com.sun.tools.jdi.Packet.replied:Z
2: .line 121
aload 0 /* this */
invokestatic com.sun.tools.jdi.Packet.uniqID:()I
putfield com.sun.tools.jdi.Packet.id:I
3: .line 122
aload 0 /* this */
iconst_0
putfield com.sun.tools.jdi.Packet.flags:S
4: .line 123
aload 0 /* this */
getstatic com.sun.tools.jdi.Packet.nullData:[B
putfield com.sun.tools.jdi.Packet.data:[B
5: .line 124
return
end local 0 // com.sun.tools.jdi.Packet this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/jdi/Packet;
private static synchronized int uniqID();
descriptor: ()I
flags: (0x002a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=0, args_size=0
0: .line 133
getstatic com.sun.tools.jdi.Packet.uID:I
dup
iconst_1
iadd
putstatic com.sun.tools.jdi.Packet.uID:I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "Packet.java"