public class com.sun.tools.example.debug.bdi.Utils
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.sun.tools.example.debug.bdi.Utils
  super_class: java.lang.Object
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.sun.tools.example.debug.bdi.Utils this
         0: .line 39
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // com.sun.tools.example.debug.bdi.Utils this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/tools/example/debug/bdi/Utils;

  public static java.lang.String getStatus(com.sun.jdi.ThreadReference);
    descriptor: (Lcom/sun/jdi/ThreadReference;)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // com.sun.jdi.ThreadReference thr
         0: .line 45
            aload 0 /* thr */
            invokeinterface com.sun.jdi.ThreadReference.status:()I
            istore 1 /* status */
        start local 1 // int status
         1: .line 47
            iload 1 /* status */
            tableswitch { // -1 - 4
                   -1: 2
                    0: 4
                    1: 6
                    2: 8
                    3: 10
                    4: 12
              default: 14
          }
         2: .line 49
      StackMap locals: int
      StackMap stack:
            ldc "unknown status"
            astore 2 /* result */
        start local 2 // java.lang.String result
         3: .line 50
            goto 15
        end local 2 // java.lang.String result
         4: .line 52
      StackMap locals:
      StackMap stack:
            ldc "zombie"
            astore 2 /* result */
        start local 2 // java.lang.String result
         5: .line 53
            goto 15
        end local 2 // java.lang.String result
         6: .line 55
      StackMap locals:
      StackMap stack:
            ldc "running"
            astore 2 /* result */
        start local 2 // java.lang.String result
         7: .line 56
            goto 15
        end local 2 // java.lang.String result
         8: .line 58
      StackMap locals:
      StackMap stack:
            ldc "sleeping"
            astore 2 /* result */
        start local 2 // java.lang.String result
         9: .line 59
            goto 15
        end local 2 // java.lang.String result
        10: .line 61
      StackMap locals:
      StackMap stack:
            ldc "waiting to acquire a monitor lock"
            astore 2 /* result */
        start local 2 // java.lang.String result
        11: .line 62
            goto 15
        end local 2 // java.lang.String result
        12: .line 64
      StackMap locals:
      StackMap stack:
            ldc "waiting on a condition"
            astore 2 /* result */
        start local 2 // java.lang.String result
        13: .line 65
            goto 15
        end local 2 // java.lang.String result
        14: .line 67
      StackMap locals:
      StackMap stack:
            ldc "<invalid thread status>"
            astore 2 /* result */
        start local 2 // java.lang.String result
        15: .line 69
      StackMap locals: java.lang.String
      StackMap stack:
            aload 0 /* thr */
            invokeinterface com.sun.jdi.ThreadReference.isSuspended:()Z
            ifeq 17
        16: .line 70
            new java.lang.StringBuilder
            dup
            aload 2 /* result */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " (suspended)"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 2 /* result */
        17: .line 72
      StackMap locals:
      StackMap stack:
            aload 2 /* result */
            areturn
        end local 2 // java.lang.String result
        end local 1 // int status
        end local 0 // com.sun.jdi.ThreadReference thr
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   18     0     thr  Lcom/sun/jdi/ThreadReference;
            1   18     1  status  I
            3    4     2  result  Ljava/lang/String;
            5    6     2  result  Ljava/lang/String;
            7    8     2  result  Ljava/lang/String;
            9   10     2  result  Ljava/lang/String;
           11   12     2  result  Ljava/lang/String;
           13   14     2  result  Ljava/lang/String;
           15   18     2  result  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      thr   

  public static java.lang.String description(com.sun.jdi.ObjectReference);
    descriptor: (Lcom/sun/jdi/ObjectReference;)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=4, args_size=1
        start local 0 // com.sun.jdi.ObjectReference ref
         0: .line 79
            aload 0 /* ref */
            invokeinterface com.sun.jdi.ObjectReference.referenceType:()Lcom/sun/jdi/ReferenceType;
            astore 1 /* clazz */
        start local 1 // com.sun.jdi.ReferenceType clazz
         1: .line 80
            aload 0 /* ref */
            invokeinterface com.sun.jdi.ObjectReference.uniqueID:()J
            lstore 2 /* id */
        start local 2 // long id
         2: .line 81
            aload 1 /* clazz */
            ifnonnull 4
         3: .line 82
            lload 2 /* id */
            invokestatic com.sun.tools.example.debug.bdi.Utils.toHex:(J)Ljava/lang/String;
            areturn
         4: .line 84
      StackMap locals: com.sun.jdi.ReferenceType long
      StackMap stack:
            new java.lang.StringBuilder
            dup
            ldc "("
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* clazz */
            invokeinterface com.sun.jdi.ReferenceType.name:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc ")"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            lload 2 /* id */
            invokestatic com.sun.tools.example.debug.bdi.Utils.toHex:(J)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 2 // long id
        end local 1 // com.sun.jdi.ReferenceType clazz
        end local 0 // com.sun.jdi.ObjectReference ref
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    5     0    ref  Lcom/sun/jdi/ObjectReference;
            1    5     1  clazz  Lcom/sun/jdi/ReferenceType;
            2    5     2     id  J
    MethodParameters:
      Name  Flags
      ref   

  public static java.lang.String toHex(long);
    descriptor: (J)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=7, args_size=1
        start local 0 // long n
         0: .line 92
            bipush 16
            newarray 5
            astore 2 /* s1 */
        start local 2 // char[] s1
         1: .line 93
            bipush 18
            newarray 5
            astore 3 /* s2 */
        start local 3 // char[] s2
         2: .line 96
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         3: .line 98
      StackMap locals: char[] char[] int
      StackMap stack:
            lload 0 /* n */
            ldc 15
            land
            lstore 5 /* d */
        start local 5 // long d
         4: .line 99
            aload 2 /* s1 */
            iload 4 /* i */
            iinc 4 /* i */ 1
            lload 5 /* d */
            ldc 10
            lcmp
            ifge 5
            ldc 48
            lload 5 /* d */
            ladd
            goto 6
      StackMap locals: long char[] char[] int long
      StackMap stack: char[] int
         5: ldc 97
            lload 5 /* d */
            ladd
            ldc 10
            lsub
      StackMap locals: long char[] char[] int long
      StackMap stack: char[] int long
         6: l2i
            i2c
            castore
        end local 5 // long d
         7: .line 100
            lload 0 /* n */
            iconst_4
            lushr
            dup2
            lstore 0 /* n */
            lconst_0
         8: .line 97
            lcmp
            ifgt 3
         9: .line 103
            aload 3 /* s2 */
            iconst_0
            bipush 48
            castore
        10: .line 104
            aload 3 /* s2 */
            iconst_1
            bipush 120
            castore
        11: .line 105
            iconst_2
            istore 5 /* j */
        start local 5 // int j
        12: .line 106
            goto 14
        13: .line 107
      StackMap locals: long char[] char[] int int
      StackMap stack:
            aload 3 /* s2 */
            iload 5 /* j */
            iinc 5 /* j */ 1
            aload 2 /* s1 */
            iload 4 /* i */
            caload
            castore
        14: .line 106
      StackMap locals:
      StackMap stack:
            iinc 4 /* i */ -1
            iload 4 /* i */
            ifge 13
        15: .line 109
            new java.lang.String
            dup
            aload 3 /* s2 */
            iconst_0
            iload 5 /* j */
            invokespecial java.lang.String.<init>:([CII)V
            areturn
        end local 5 // int j
        end local 4 // int i
        end local 3 // char[] s2
        end local 2 // char[] s1
        end local 0 // long n
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   16     0     n  J
            1   16     2    s1  [C
            2   16     3    s2  [C
            3   16     4     i  I
            4    7     5     d  J
           12   16     5     j  I
    MethodParameters:
      Name  Flags
      n     

  public static long fromHex(java.lang.String);
    descriptor: (Ljava/lang/String;)J
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=6, args_size=1
        start local 0 // java.lang.String hexStr
         0: .line 116
            aload 0 /* hexStr */
            ldc "0x"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 2
         1: .line 117
            aload 0 /* hexStr */
            iconst_2
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
            goto 3
      StackMap locals:
      StackMap stack:
         2: aload 0 /* hexStr */
            invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
         3: .line 116
      StackMap locals:
      StackMap stack: java.lang.String
            astore 1 /* str */
        start local 1 // java.lang.String str
         4: .line 118
            aload 0 /* hexStr */
            invokevirtual java.lang.String.length:()I
            ifne 6
         5: .line 119
            new java.lang.NumberFormatException
            dup
            invokespecial java.lang.NumberFormatException.<init>:()V
            athrow
         6: .line 122
      StackMap locals: java.lang.String
      StackMap stack:
            lconst_0
            lstore 2 /* ret */
        start local 2 // long ret
         7: .line 123
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         8: goto 18
         9: .line 124
      StackMap locals: long int
      StackMap stack:
            aload 1 /* str */
            iload 4 /* i */
            invokevirtual java.lang.String.charAt:(I)C
            istore 5 /* c */
        start local 5 // int c
        10: .line 125
            iload 5 /* c */
            bipush 48
            if_icmplt 13
            iload 5 /* c */
            bipush 57
            if_icmpgt 13
        11: .line 126
            lload 2 /* ret */
            ldc 16
            lmul
            iload 5 /* c */
            bipush 48
            isub
            i2l
            ladd
            lstore 2 /* ret */
        12: .line 127
            goto 17
      StackMap locals: int
      StackMap stack:
        13: iload 5 /* c */
            bipush 97
            if_icmplt 16
            iload 5 /* c */
            bipush 102
            if_icmpgt 16
        14: .line 128
            lload 2 /* ret */
            ldc 16
            lmul
            iload 5 /* c */
            bipush 97
            isub
            bipush 10
            iadd
            i2l
            ladd
            lstore 2 /* ret */
        15: .line 129
            goto 17
        16: .line 130
      StackMap locals:
      StackMap stack:
            new java.lang.NumberFormatException
            dup
            invokespecial java.lang.NumberFormatException.<init>:()V
            athrow
        end local 5 // int c
        17: .line 123
      StackMap locals:
      StackMap stack:
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
        18: iload 4 /* i */
            aload 1 /* str */
            invokevirtual java.lang.String.length:()I
            if_icmplt 9
        end local 4 // int i
        19: .line 133
            lload 2 /* ret */
            lreturn
        end local 2 // long ret
        end local 1 // java.lang.String str
        end local 0 // java.lang.String hexStr
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   20     0  hexStr  Ljava/lang/String;
            4   20     1     str  Ljava/lang/String;
            7   20     2     ret  J
            8   19     4       i  I
           10   17     5       c  I
    MethodParameters:
        Name  Flags
      hexStr  

  public static java.lang.String locationString(com.sun.jdi.Location);
    descriptor: (Lcom/sun/jdi/Location;)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // com.sun.jdi.Location loc
         0: .line 142
            new java.lang.StringBuilder
            dup
            aload 0 /* loc */
            invokeinterface com.sun.jdi.Location.declaringType:()Lcom/sun/jdi/ReferenceType;
            invokeinterface com.sun.jdi.ReferenceType.name:()Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         1: .line 143
            ldc "."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* loc */
            invokeinterface com.sun.jdi.Location.method:()Lcom/sun/jdi/Method;
            invokeinterface com.sun.jdi.Method.name:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "(), line="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         2: .line 144
            aload 0 /* loc */
            invokeinterface com.sun.jdi.Location.lineNumber:()I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
         3: .line 142
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 0 // com.sun.jdi.Location loc
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0   loc  Lcom/sun/jdi/Location;
    MethodParameters:
      Name  Flags
      loc   

  public static boolean isValidMethodName(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.String s
         0: .line 168
            aload 0 /* s */
            invokestatic com.sun.tools.example.debug.bdi.Utils.isJavaIdentifier:(Ljava/lang/String;)Z
            ifne 4
         1: .line 169
            aload 0 /* s */
            ldc "<init>"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 4
         2: .line 170
            aload 0 /* s */
            ldc "<clinit>"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 4
         3: .line 168
            iconst_0
            ireturn
      StackMap locals:
      StackMap stack:
         4: iconst_1
            ireturn
        end local 0 // java.lang.String s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0     s  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      s     

  public static boolean isJavaIdentifier(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // java.lang.String s
         0: .line 174
            aload 0 /* s */
            invokevirtual java.lang.String.length:()I
            ifne 2
         1: .line 175
            iconst_0
            ireturn
         2: .line 177
      StackMap locals:
      StackMap stack:
            aload 0 /* s */
            iconst_0
            invokevirtual java.lang.String.codePointAt:(I)I
            istore 1 /* cp */
        start local 1 // int cp
         3: .line 178
            iload 1 /* cp */
            invokestatic java.lang.Character.isJavaIdentifierStart:(I)Z
            ifne 5
         4: .line 179
            iconst_0
            ireturn
         5: .line 181
      StackMap locals: int
      StackMap stack:
            iload 1 /* cp */
            invokestatic java.lang.Character.charCount:(I)I
            istore 2 /* i */
        start local 2 // int i
         6: goto 11
         7: .line 182
      StackMap locals: int
      StackMap stack:
            aload 0 /* s */
            iload 2 /* i */
            invokevirtual java.lang.String.codePointAt:(I)I
            istore 1 /* cp */
         8: .line 183
            iload 1 /* cp */
            invokestatic java.lang.Character.isJavaIdentifierPart:(I)Z
            ifne 10
         9: .line 184
            iconst_0
            ireturn
        10: .line 181
      StackMap locals:
      StackMap stack:
            iload 2 /* i */
            iload 1 /* cp */
            invokestatic java.lang.Character.charCount:(I)I
            iadd
            istore 2 /* i */
      StackMap locals:
      StackMap stack:
        11: iload 2 /* i */
            aload 0 /* s */
            invokevirtual java.lang.String.length:()I
            if_icmplt 7
        end local 2 // int i
        12: .line 187
            iconst_1
            ireturn
        end local 1 // int cp
        end local 0 // java.lang.String s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   13     0     s  Ljava/lang/String;
            3   13     1    cp  I
            6   12     2     i  I
    MethodParameters:
      Name  Flags
      s     
}
SourceFile: "Utils.java"