class com.sun.jndi.dns.Header
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.sun.jndi.dns.Header
  super_class: java.lang.Object
{
  static final int HEADER_SIZE;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 12

  static final short QR_BIT;
    descriptor: S
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: -32768

  static final short OPCODE_MASK;
    descriptor: S
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 30720

  static final int OPCODE_SHIFT;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 11

  static final short AA_BIT;
    descriptor: S
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 1024

  static final short TC_BIT;
    descriptor: S
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 512

  static final short RD_BIT;
    descriptor: S
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 256

  static final short RA_BIT;
    descriptor: S
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 128

  static final short RCODE_MASK;
    descriptor: S
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 15

  int xid;
    descriptor: I
    flags: (0x0000) 

  boolean query;
    descriptor: Z
    flags: (0x0000) 

  int opcode;
    descriptor: I
    flags: (0x0000) 

  boolean authoritative;
    descriptor: Z
    flags: (0x0000) 

  boolean truncated;
    descriptor: Z
    flags: (0x0000) 

  boolean recursionDesired;
    descriptor: Z
    flags: (0x0000) 

  boolean recursionAvail;
    descriptor: Z
    flags: (0x0000) 

  int rcode;
    descriptor: I
    flags: (0x0000) 

  int numQuestions;
    descriptor: I
    flags: (0x0000) 

  int numAnswers;
    descriptor: I
    flags: (0x0000) 

  int numAuthorities;
    descriptor: I
    flags: (0x0000) 

  int numAdditionals;
    descriptor: I
    flags: (0x0000) 

  void <init>(byte[], int);
    descriptor: ([BI)V
    flags: (0x0000) 
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // com.sun.jndi.dns.Header this
        start local 1 // byte[] msg
        start local 2 // int msgLen
         0: .line 70
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 71
            aload 0 /* this */
            aload 1 /* msg */
            iload 2 /* msgLen */
            invokevirtual com.sun.jndi.dns.Header.decode:([BI)V
         2: .line 72
            return
        end local 2 // int msgLen
        end local 1 // byte[] msg
        end local 0 // com.sun.jndi.dns.Header this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Lcom/sun/jndi/dns/Header;
            0    3     1     msg  [B
            0    3     2  msgLen  I
    Exceptions:
      throws javax.naming.NamingException
    MethodParameters:
        Name  Flags
      msg     
      msgLen  

  private void decode(byte[], int);
    descriptor: ([BI)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=5, args_size=3
        start local 0 // com.sun.jndi.dns.Header this
        start local 1 // byte[] msg
        start local 2 // int msgLen
         0: .line 81
            iconst_0
            istore 3 /* pos */
        start local 3 // int pos
         1: .line 83
            iload 2 /* msgLen */
            bipush 12
            if_icmpge 5
         2: .line 84
            new javax.naming.CommunicationException
            dup
         3: .line 85
            ldc "DNS error: corrupted message header"
         4: .line 84
            invokespecial javax.naming.CommunicationException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 88
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            aload 1 /* msg */
            iload 3 /* pos */
            invokestatic com.sun.jndi.dns.Header.getShort:([BI)I
            putfield com.sun.jndi.dns.Header.xid:I
         6: .line 89
            iinc 3 /* pos */ 2
         7: .line 92
            aload 1 /* msg */
            iload 3 /* pos */
            invokestatic com.sun.jndi.dns.Header.getShort:([BI)I
            i2s
            istore 4 /* flags */
        start local 4 // short flags
         8: .line 93
            iinc 3 /* pos */ 2
         9: .line 94
            aload 0 /* this */
            iload 4 /* flags */
            sipush -32768
            iand
            ifne 10
            iconst_1
            goto 11
      StackMap locals: com.sun.jndi.dns.Header byte[] int int int
      StackMap stack: com.sun.jndi.dns.Header
        10: iconst_0
      StackMap locals: com.sun.jndi.dns.Header byte[] int int int
      StackMap stack: com.sun.jndi.dns.Header int
        11: putfield com.sun.jndi.dns.Header.query:Z
        12: .line 95
            aload 0 /* this */
            iload 4 /* flags */
            sipush 30720
            iand
            bipush 11
            iushr
            putfield com.sun.jndi.dns.Header.opcode:I
        13: .line 96
            aload 0 /* this */
            iload 4 /* flags */
            sipush 1024
            iand
            ifeq 14
            iconst_1
            goto 15
      StackMap locals:
      StackMap stack: com.sun.jndi.dns.Header
        14: iconst_0
      StackMap locals: com.sun.jndi.dns.Header byte[] int int int
      StackMap stack: com.sun.jndi.dns.Header int
        15: putfield com.sun.jndi.dns.Header.authoritative:Z
        16: .line 97
            aload 0 /* this */
            iload 4 /* flags */
            sipush 512
            iand
            ifeq 17
            iconst_1
            goto 18
      StackMap locals:
      StackMap stack: com.sun.jndi.dns.Header
        17: iconst_0
      StackMap locals: com.sun.jndi.dns.Header byte[] int int int
      StackMap stack: com.sun.jndi.dns.Header int
        18: putfield com.sun.jndi.dns.Header.truncated:Z
        19: .line 98
            aload 0 /* this */
            iload 4 /* flags */
            sipush 256
            iand
            ifeq 20
            iconst_1
            goto 21
      StackMap locals:
      StackMap stack: com.sun.jndi.dns.Header
        20: iconst_0
      StackMap locals: com.sun.jndi.dns.Header byte[] int int int
      StackMap stack: com.sun.jndi.dns.Header int
        21: putfield com.sun.jndi.dns.Header.recursionDesired:Z
        22: .line 99
            aload 0 /* this */
            iload 4 /* flags */
            sipush 128
            iand
            ifeq 23
            iconst_1
            goto 24
      StackMap locals:
      StackMap stack: com.sun.jndi.dns.Header
        23: iconst_0
      StackMap locals: com.sun.jndi.dns.Header byte[] int int int
      StackMap stack: com.sun.jndi.dns.Header int
        24: putfield com.sun.jndi.dns.Header.recursionAvail:Z
        25: .line 100
            aload 0 /* this */
            iload 4 /* flags */
            bipush 15
            iand
            putfield com.sun.jndi.dns.Header.rcode:I
        26: .line 103
            aload 0 /* this */
            aload 1 /* msg */
            iload 3 /* pos */
            invokestatic com.sun.jndi.dns.Header.getShort:([BI)I
            putfield com.sun.jndi.dns.Header.numQuestions:I
        27: .line 104
            iinc 3 /* pos */ 2
        28: .line 105
            aload 0 /* this */
            aload 1 /* msg */
            iload 3 /* pos */
            invokestatic com.sun.jndi.dns.Header.getShort:([BI)I
            putfield com.sun.jndi.dns.Header.numAnswers:I
        29: .line 106
            iinc 3 /* pos */ 2
        30: .line 107
            aload 0 /* this */
            aload 1 /* msg */
            iload 3 /* pos */
            invokestatic com.sun.jndi.dns.Header.getShort:([BI)I
            putfield com.sun.jndi.dns.Header.numAuthorities:I
        31: .line 108
            iinc 3 /* pos */ 2
        32: .line 109
            aload 0 /* this */
            aload 1 /* msg */
            iload 3 /* pos */
            invokestatic com.sun.jndi.dns.Header.getShort:([BI)I
            putfield com.sun.jndi.dns.Header.numAdditionals:I
        33: .line 110
            iinc 3 /* pos */ 2
        end local 4 // short flags
        end local 3 // int pos
        34: .line 112
            goto 39
      StackMap locals: com.sun.jndi.dns.Header byte[] int
      StackMap stack: java.lang.IndexOutOfBoundsException
        35: pop
        36: .line 113
            new javax.naming.CommunicationException
            dup
        37: .line 114
            ldc "DNS error: corrupted message header"
        38: .line 113
            invokespecial javax.naming.CommunicationException.<init>:(Ljava/lang/String;)V
            athrow
        39: .line 116
      StackMap locals:
      StackMap stack:
            return
        end local 2 // int msgLen
        end local 1 // byte[] msg
        end local 0 // com.sun.jndi.dns.Header this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   40     0    this  Lcom/sun/jndi/dns/Header;
            0   40     1     msg  [B
            0   40     2  msgLen  I
            1   34     3     pos  I
            8   34     4   flags  S
      Exception table:
        from    to  target  type
           0    34      35  Class java.lang.IndexOutOfBoundsException
    Exceptions:
      throws javax.naming.NamingException
    MethodParameters:
        Name  Flags
      msg     
      msgLen  

  private static int getShort(byte[], int);
    descriptor: ([BI)I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // byte[] msg
        start local 1 // int pos
         0: .line 123
            aload 0 /* msg */
            iload 1 /* pos */
            baload
            sipush 255
            iand
            bipush 8
            ishl
         1: .line 124
            aload 0 /* msg */
            iload 1 /* pos */
            iconst_1
            iadd
            baload
            sipush 255
            iand
         2: .line 123
            ior
            ireturn
        end local 1 // int pos
        end local 0 // byte[] msg
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0   msg  [B
            0    3     1   pos  I
    MethodParameters:
      Name  Flags
      msg   
      pos   
}
SourceFile: "Header.java"