public final class sun.management.jdp.JdpPacketWriter
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.management.jdp.JdpPacketWriter
super_class: java.lang.Object
{
private final java.io.ByteArrayOutputStream baos;
descriptor: Ljava/io/ByteArrayOutputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.io.DataOutputStream pkt;
descriptor: Ljava/io/DataOutputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
putfield sun.management.jdp.JdpPacketWriter.baos:Ljava/io/ByteArrayOutputStream;
2: aload 0
new java.io.DataOutputStream
dup
aload 0
getfield sun.management.jdp.JdpPacketWriter.baos:Ljava/io/ByteArrayOutputStream;
invokespecial java.io.DataOutputStream.<init>:(Ljava/io/OutputStream;)V
putfield sun.management.jdp.JdpPacketWriter.pkt:Ljava/io/DataOutputStream;
3: aload 0
getfield sun.management.jdp.JdpPacketWriter.pkt:Ljava/io/DataOutputStream;
invokestatic sun.management.jdp.JdpGenericPacket.getMagic:()I
invokevirtual java.io.DataOutputStream.writeInt:(I)V
4: aload 0
getfield sun.management.jdp.JdpPacketWriter.pkt:Ljava/io/DataOutputStream;
invokestatic sun.management.jdp.JdpGenericPacket.getVersion:()S
invokevirtual java.io.DataOutputStream.writeShort:(I)V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/management/jdp/JdpPacketWriter;
Exceptions:
throws java.io.IOException
public void addEntry(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.management.jdp.JdpPacketWriter.pkt:Ljava/io/DataOutputStream;
aload 1
invokevirtual java.io.DataOutputStream.writeUTF:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/management/jdp/JdpPacketWriter;
0 2 1 entry Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
entry
public void addEntry(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 3
1: aload 0
aload 1
invokevirtual sun.management.jdp.JdpPacketWriter.addEntry:(Ljava/lang/String;)V
2: aload 0
aload 2
invokevirtual sun.management.jdp.JdpPacketWriter.addEntry:(Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/management/jdp/JdpPacketWriter;
0 4 1 key Ljava/lang/String;
0 4 2 val Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
key
val
public byte[] getPacketBytes();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.management.jdp.JdpPacketWriter.baos:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/management/jdp/JdpPacketWriter;
}
SourceFile: "JdpPacketWriter.java"