public class org.apache.cassandra.utils.Hex
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.cassandra.utils.Hex
  super_class: java.lang.Object
{
  private static final java.lang.reflect.Constructor<java.lang.String> stringConstructor;
    descriptor: Ljava/lang/reflect/Constructor;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljava/lang/reflect/Constructor<Ljava/lang/String;>;

  private static final byte[] charToByte;
    descriptor: [B
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final org.slf4j.Logger logger;
    descriptor: Lorg/slf4j/Logger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static final char[] byteToChar;
    descriptor: [C
    flags: (0x0018) ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=5, locals=1, args_size=0
         0: .line 28
            ldc Ljava/lang/String;
            iconst_3
            anewarray java.lang.Class
            dup
            iconst_0
            getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
            aastore
            dup
            iconst_1
            getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
            aastore
            dup
            iconst_2
            ldc [C
            aastore
            invokestatic org.apache.cassandra.utils.Hex.getProtectedConstructor:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
            putstatic org.apache.cassandra.utils.Hex.stringConstructor:Ljava/lang/reflect/Constructor;
         1: .line 29
            sipush 256
            newarray 8
            putstatic org.apache.cassandra.utils.Hex.charToByte:[B
         2: .line 30
            ldc Lorg/apache/cassandra/utils/Hex;
            invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
            putstatic org.apache.cassandra.utils.Hex.logger:Lorg/slf4j/Logger;
         3: .line 33
            bipush 16
            newarray 5
            putstatic org.apache.cassandra.utils.Hex.byteToChar:[C
         4: .line 36
            iconst_0
            istore 0 /* c */
        start local 0 // char c
         5: goto 14
         6: .line 38
      StackMap locals: int
      StackMap stack:
            iload 0 /* c */
            bipush 48
            if_icmplt 8
            iload 0 /* c */
            bipush 57
            if_icmpgt 8
         7: .line 39
            getstatic org.apache.cassandra.utils.Hex.charToByte:[B
            iload 0 /* c */
            iload 0 /* c */
            bipush 48
            isub
            i2b
            bastore
            goto 13
         8: .line 40
      StackMap locals:
      StackMap stack:
            iload 0 /* c */
            bipush 65
            if_icmplt 10
            iload 0 /* c */
            bipush 70
            if_icmpgt 10
         9: .line 41
            getstatic org.apache.cassandra.utils.Hex.charToByte:[B
            iload 0 /* c */
            iload 0 /* c */
            bipush 65
            isub
            bipush 10
            iadd
            i2b
            bastore
            goto 13
        10: .line 42
      StackMap locals:
      StackMap stack:
            iload 0 /* c */
            bipush 97
            if_icmplt 12
            iload 0 /* c */
            bipush 102
            if_icmpgt 12
        11: .line 43
            getstatic org.apache.cassandra.utils.Hex.charToByte:[B
            iload 0 /* c */
            iload 0 /* c */
            bipush 97
            isub
            bipush 10
            iadd
            i2b
            bastore
            goto 13
        12: .line 45
      StackMap locals:
      StackMap stack:
            getstatic org.apache.cassandra.utils.Hex.charToByte:[B
            iload 0 /* c */
            iconst_m1
            bastore
        13: .line 36
      StackMap locals:
      StackMap stack:
            iload 0 /* c */
            iconst_1
            iadd
            i2c
            istore 0 /* c */
      StackMap locals:
      StackMap stack:
        14: iload 0 /* c */
            getstatic org.apache.cassandra.utils.Hex.charToByte:[B
            arraylength
            if_icmplt 6
        end local 0 // char c
        15: .line 48
            iconst_0
            istore 0 /* i */
        start local 0 // int i
        16: goto 19
        17: .line 50
      StackMap locals: int
      StackMap stack:
            getstatic org.apache.cassandra.utils.Hex.byteToChar:[C
            iload 0 /* i */
            iload 0 /* i */
            invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
            iconst_0
            invokevirtual java.lang.String.charAt:(I)C
            castore
        18: .line 48
            iinc 0 /* i */ 1
      StackMap locals:
      StackMap stack:
        19: iload 0 /* i */
            bipush 16
            if_icmplt 17
        end local 0 // int i
        20: .line 52
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            5   15     0     c  C
           16   20     0     i  I

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.cassandra.utils.Hex this
         0: .line 26
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.apache.cassandra.utils.Hex this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/cassandra/utils/Hex;

  public static byte[] hexToBytes(java.lang.String);
    descriptor: (Ljava/lang/String;)[B
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=5, args_size=1
        start local 0 // java.lang.String str
         0: .line 56
            aload 0 /* str */
            invokevirtual java.lang.String.length:()I
            iconst_2
            irem
            iconst_1
            if_icmpne 2
         1: .line 57
            new java.lang.NumberFormatException
            dup
            ldc "An hex string representing bytes must have an even length"
            invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 59
      StackMap locals:
      StackMap stack:
            aload 0 /* str */
            invokevirtual java.lang.String.length:()I
            iconst_2
            idiv
            newarray 8
            astore 1 /* bytes */
        start local 1 // byte[] bytes
         3: .line 60
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         4: goto 11
         5: .line 62
      StackMap locals: byte[] int
      StackMap stack:
            getstatic org.apache.cassandra.utils.Hex.charToByte:[B
            aload 0 /* str */
            iload 2 /* i */
            iconst_2
            imul
            invokevirtual java.lang.String.charAt:(I)C
            baload
            istore 3 /* halfByte1 */
        start local 3 // byte halfByte1
         6: .line 63
            getstatic org.apache.cassandra.utils.Hex.charToByte:[B
            aload 0 /* str */
            iload 2 /* i */
            iconst_2
            imul
            iconst_1
            iadd
            invokevirtual java.lang.String.charAt:(I)C
            baload
            istore 4 /* halfByte2 */
        start local 4 // byte halfByte2
         7: .line 64
            iload 3 /* halfByte1 */
            iconst_m1
            if_icmpeq 8
            iload 4 /* halfByte2 */
            iconst_m1
            if_icmpne 9
         8: .line 65
      StackMap locals: int int
      StackMap stack:
            new java.lang.NumberFormatException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Non-hex characters in "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* str */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
            athrow
         9: .line 66
      StackMap locals:
      StackMap stack:
            aload 1 /* bytes */
            iload 2 /* i */
            iload 3 /* halfByte1 */
            iconst_4
            ishl
            iload 4 /* halfByte2 */
            ior
            i2b
            bastore
        end local 4 // byte halfByte2
        end local 3 // byte halfByte1
        10: .line 60
            iinc 2 /* i */ 1
      StackMap locals:
      StackMap stack:
        11: iload 2 /* i */
            aload 1 /* bytes */
            arraylength
            if_icmplt 5
        end local 2 // int i
        12: .line 68
            aload 1 /* bytes */
            areturn
        end local 1 // byte[] bytes
        end local 0 // java.lang.String str
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   13     0        str  Ljava/lang/String;
            3   13     1      bytes  [B
            4   12     2          i  I
            6   10     3  halfByte1  B
            7   10     4  halfByte2  B
    MethodParameters:
      Name  Flags
      str   

  public static java.lang.String bytesToHex(byte[]);
    descriptor: ([B)Ljava/lang/String;
    flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // byte[] bytes
         0: .line 73
            aload 0 /* bytes */
            iconst_0
            aload 0 /* bytes */
            arraylength
            invokestatic org.apache.cassandra.utils.Hex.bytesToHex:([BII)Ljava/lang/String;
            areturn
        end local 0 // byte[] bytes
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0  bytes  [B
    MethodParameters:
       Name  Flags
      bytes  

  public static java.lang.String bytesToHex(byte[], int, int);
    descriptor: ([BII)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=6, args_size=3
        start local 0 // byte[] bytes
        start local 1 // int offset
        start local 2 // int length
         0: .line 78
            iload 2 /* length */
            iconst_2
            imul
            newarray 5
            astore 3 /* c */
        start local 3 // char[] c
         1: .line 79
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         2: goto 7
         3: .line 81
      StackMap locals: char[] int
      StackMap stack:
            aload 0 /* bytes */
            iload 4 /* i */
            iload 1 /* offset */
            iadd
            baload
            istore 5 /* bint */
        start local 5 // int bint
         4: .line 82
            aload 3 /* c */
            iload 4 /* i */
            iconst_2
            imul
            getstatic org.apache.cassandra.utils.Hex.byteToChar:[C
            iload 5 /* bint */
            sipush 240
            iand
            iconst_4
            ishr
            caload
            castore
         5: .line 83
            aload 3 /* c */
            iconst_1
            iload 4 /* i */
            iconst_2
            imul
            iadd
            getstatic org.apache.cassandra.utils.Hex.byteToChar:[C
            iload 5 /* bint */
            bipush 15
            iand
            caload
            castore
        end local 5 // int bint
         6: .line 79
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
         7: iload 4 /* i */
            iload 2 /* length */
            if_icmplt 3
        end local 4 // int i
         8: .line 86
            aload 3 /* c */
            invokestatic org.apache.cassandra.utils.Hex.wrapCharArray:([C)Ljava/lang/String;
            areturn
        end local 3 // char[] c
        end local 2 // int length
        end local 1 // int offset
        end local 0 // byte[] bytes
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    9     0   bytes  [B
            0    9     1  offset  I
            0    9     2  length  I
            1    9     3       c  [C
            2    8     4       i  I
            4    6     5    bint  I
    MethodParameters:
        Name  Flags
      bytes   
      offset  
      length  

  public static java.lang.String wrapCharArray(char[]);
    descriptor: ([C)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=4, args_size=1
        start local 0 // char[] c
         0: .line 94
            aload 0 /* c */
            ifnonnull 2
         1: .line 95
            aconst_null
            areturn
         2: .line 97
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 1 /* s */
        start local 1 // java.lang.String s
         3: .line 99
            getstatic org.apache.cassandra.utils.Hex.stringConstructor:Ljava/lang/reflect/Constructor;
            ifnull 15
         4: .line 103
            getstatic org.apache.cassandra.utils.Hex.stringConstructor:Ljava/lang/reflect/Constructor;
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
            iconst_0
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            aload 0 /* c */
            arraylength
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_2
            aload 0 /* c */
            aastore
            invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.String
            astore 1 /* s */
         5: .line 104
            goto 15
         6: .line 105
      StackMap locals: char[] java.lang.String
      StackMap stack: java.lang.reflect.InvocationTargetException
            astore 2 /* ite */
        start local 2 // java.lang.reflect.InvocationTargetException ite
         7: .line 108
            aload 2 /* ite */
            invokevirtual java.lang.reflect.InvocationTargetException.getCause:()Ljava/lang/Throwable;
            astore 3 /* cause */
        start local 3 // java.lang.Throwable cause
         8: .line 109
            getstatic org.apache.cassandra.utils.Hex.logger:Lorg/slf4j/Logger;
            ldc "Underlying string constructor threw an error: {}"
         9: .line 110
            aload 3 /* cause */
            ifnonnull 10
            aload 2 /* ite */
            invokevirtual java.lang.reflect.InvocationTargetException.getMessage:()Ljava/lang/String;
            goto 11
      StackMap locals: char[] java.lang.String java.lang.reflect.InvocationTargetException java.lang.Throwable
      StackMap stack: org.slf4j.Logger java.lang.String
        10: aload 3 /* cause */
            invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
        11: .line 109
      StackMap locals: char[] java.lang.String java.lang.reflect.InvocationTargetException java.lang.Throwable
      StackMap stack: org.slf4j.Logger java.lang.String java.lang.String
            invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Object;)V
        end local 3 // java.lang.Throwable cause
        end local 2 // java.lang.reflect.InvocationTargetException ite
        12: goto 15
        13: .line 112
      StackMap locals: char[] java.lang.String
      StackMap stack: java.lang.Exception
            astore 2 /* e */
        start local 2 // java.lang.Exception e
        14: .line 114
            aload 2 /* e */
            invokestatic org.apache.cassandra.utils.JVMStabilityInspector.inspectThrowable:(Ljava/lang/Throwable;)V
        end local 2 // java.lang.Exception e
        15: .line 118
      StackMap locals:
      StackMap stack:
            aload 1 /* s */
            ifnonnull 16
            new java.lang.String
            dup
            aload 0 /* c */
            invokespecial java.lang.String.<init>:([C)V
            goto 17
      StackMap locals:
      StackMap stack:
        16: aload 1 /* s */
      StackMap locals:
      StackMap stack: java.lang.String
        17: areturn
        end local 1 // java.lang.String s
        end local 0 // char[] c
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   18     0      c  [C
            3   18     1      s  Ljava/lang/String;
            7   12     2    ite  Ljava/lang/reflect/InvocationTargetException;
            8   12     3  cause  Ljava/lang/Throwable;
           14   15     2      e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           4     5       6  Class java.lang.reflect.InvocationTargetException
           4     5      13  Class java.lang.Exception
    MethodParameters:
      Name  Flags
      c     

  public static <T> java.lang.reflect.Constructor<T> getProtectedConstructor(java.lang.Class<T>, java.lang.Class<?>[]);
    descriptor: (Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
    flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // java.lang.Class klass
        start local 1 // java.lang.Class[] paramTypes
         0: .line 133
            aload 0 /* klass */
            aload 1 /* paramTypes */
            invokevirtual java.lang.Class.getDeclaredConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
            astore 2 /* c */
        start local 2 // java.lang.reflect.Constructor c
         1: .line 134
            aload 2 /* c */
            iconst_1
            invokevirtual java.lang.reflect.Constructor.setAccessible:(Z)V
         2: .line 135
            aload 2 /* c */
         3: areturn
        end local 2 // java.lang.reflect.Constructor c
         4: .line 137
      StackMap locals:
      StackMap stack: java.lang.Exception
            pop
         5: .line 139
            aconst_null
            areturn
        end local 1 // java.lang.Class[] paramTypes
        end local 0 // java.lang.Class klass
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    6     0       klass  Ljava/lang/Class<TT;>;
            0    6     1  paramTypes  [Ljava/lang/Class;
            1    4     2           c  Ljava/lang/reflect/Constructor<TT;>;
      Exception table:
        from    to  target  type
           0     3       4  Class java.lang.Exception
    Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;[Ljava/lang/Class<*>;)Ljava/lang/reflect/Constructor<TT;>;
    MethodParameters:
            Name  Flags
      klass       
      paramTypes  
}
SourceFile: "Hex.java"