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 // sun.management.jdp.JdpPacketWriter this
         0: .line 46
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 48
            aload 0 /* this */
            new java.io.ByteArrayOutputStream
            dup
            invokespecial java.io.ByteArrayOutputStream.<init>:()V
            putfield sun.management.jdp.JdpPacketWriter.baos:Ljava/io/ByteArrayOutputStream;
         2: .line 49
            aload 0 /* this */
            new java.io.DataOutputStream
            dup
            aload 0 /* this */
            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: .line 51
            aload 0 /* this */
            getfield sun.management.jdp.JdpPacketWriter.pkt:Ljava/io/DataOutputStream;
            invokestatic sun.management.jdp.JdpGenericPacket.getMagic:()I
            invokevirtual java.io.DataOutputStream.writeInt:(I)V
         4: .line 52
            aload 0 /* this */
            getfield sun.management.jdp.JdpPacketWriter.pkt:Ljava/io/DataOutputStream;
            invokestatic sun.management.jdp.JdpGenericPacket.getVersion:()S
            invokevirtual java.io.DataOutputStream.writeShort:(I)V
         5: .line 53
            return
        end local 0 // sun.management.jdp.JdpPacketWriter this
      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 // sun.management.jdp.JdpPacketWriter this
        start local 1 // java.lang.String entry
         0: .line 68
            aload 0 /* this */
            getfield sun.management.jdp.JdpPacketWriter.pkt:Ljava/io/DataOutputStream;
            aload 1 /* entry */
            invokevirtual java.io.DataOutputStream.writeUTF:(Ljava/lang/String;)V
         1: .line 69
            return
        end local 1 // java.lang.String entry
        end local 0 // sun.management.jdp.JdpPacketWriter this
      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 // sun.management.jdp.JdpPacketWriter this
        start local 1 // java.lang.String key
        start local 2 // java.lang.String val
         0: .line 84
            aload 2 /* val */
            ifnull 3
         1: .line 85
            aload 0 /* this */
            aload 1 /* key */
            invokevirtual sun.management.jdp.JdpPacketWriter.addEntry:(Ljava/lang/String;)V
         2: .line 86
            aload 0 /* this */
            aload 2 /* val */
            invokevirtual sun.management.jdp.JdpPacketWriter.addEntry:(Ljava/lang/String;)V
         3: .line 88
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.lang.String val
        end local 1 // java.lang.String key
        end local 0 // sun.management.jdp.JdpPacketWriter this
      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 // sun.management.jdp.JdpPacketWriter this
         0: .line 96
            aload 0 /* this */
            getfield sun.management.jdp.JdpPacketWriter.baos:Ljava/io/ByteArrayOutputStream;
            invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
            areturn
        end local 0 // sun.management.jdp.JdpPacketWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/management/jdp/JdpPacketWriter;
}
SourceFile: "JdpPacketWriter.java"