public class com.sun.tools.hat.internal.util.Misc
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.sun.tools.hat.internal.util.Misc
  super_class: java.lang.Object
{
  private static char[] digits;
    descriptor: [C
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=0, args_size=0
         0: .line 45
            bipush 16
            newarray 5
            dup
            iconst_0
            bipush 48
            castore
            dup
            iconst_1
            bipush 49
            castore
            dup
            iconst_2
            bipush 50
            castore
            dup
            iconst_3
            bipush 51
            castore
            dup
            iconst_4
            bipush 52
            castore
            dup
            iconst_5
            bipush 53
            castore
            dup
            bipush 6
            bipush 54
            castore
            dup
            bipush 7
            bipush 55
            castore
            dup
            bipush 8
         1: .line 46
            bipush 56
            castore
            dup
            bipush 9
            bipush 57
            castore
            dup
            bipush 10
            bipush 97
            castore
            dup
            bipush 11
            bipush 98
            castore
            dup
            bipush 12
            bipush 99
            castore
            dup
            bipush 13
            bipush 100
            castore
            dup
            bipush 14
            bipush 101
            castore
            dup
            bipush 15
            bipush 102
            castore
         2: .line 45
            putstatic com.sun.tools.hat.internal.util.Misc.digits:[C
         3: .line 46
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.sun.tools.hat.internal.util.Misc this
         0: .line 43
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // com.sun.tools.hat.internal.util.Misc this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/tools/hat/internal/util/Misc;

  public static final java.lang.String toHex(int);
    descriptor: (I)Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Code:
      stack=5, locals=4, args_size=1
        start local 0 // int addr
         0: .line 49
            bipush 8
            newarray 5
            astore 1 /* buf */
        start local 1 // char[] buf
         1: .line 50
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         2: .line 51
            bipush 28
            istore 3 /* s */
        start local 3 // int s
         3: goto 6
         4: .line 52
      StackMap locals: char[] int int
      StackMap stack:
            aload 1 /* buf */
            iload 2 /* i */
            iinc 2 /* i */ 1
            getstatic com.sun.tools.hat.internal.util.Misc.digits:[C
            iload 0 /* addr */
            iload 3 /* s */
            ishr
            bipush 15
            iand
            caload
            castore
         5: .line 51
            iinc 3 /* s */ -4
      StackMap locals:
      StackMap stack:
         6: iload 3 /* s */
            ifge 4
        end local 3 // int s
         7: .line 54
            new java.lang.StringBuilder
            dup
            ldc "0x"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            new java.lang.String
            dup
            aload 1 /* buf */
            invokespecial java.lang.String.<init>:([C)V
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 2 // int i
        end local 1 // char[] buf
        end local 0 // int addr
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  addr  I
            1    8     1   buf  [C
            2    8     2     i  I
            3    7     3     s  I
    MethodParameters:
      Name  Flags
      addr  

  public static final java.lang.String toHex(long);
    descriptor: (J)Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // long addr
         0: .line 58
            new java.lang.StringBuilder
            dup
            ldc "0x"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            lload 0 /* addr */
            invokestatic java.lang.Long.toHexString:(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 0 // long addr
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  addr  J
    MethodParameters:
      Name  Flags
      addr  

  public static final long parseHex(java.lang.String);
    descriptor: (Ljava/lang/String;)J
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Code:
      stack=4, locals=5, args_size=1
        start local 0 // java.lang.String value
         0: .line 62
            lconst_0
            lstore 1 /* result */
        start local 1 // long result
         1: .line 63
            aload 0 /* value */
            invokevirtual java.lang.String.length:()I
            iconst_2
            if_icmplt 3
            aload 0 /* value */
            iconst_0
            invokevirtual java.lang.String.charAt:(I)C
            bipush 48
            if_icmpne 3
         2: .line 64
            aload 0 /* value */
            iconst_1
            invokevirtual java.lang.String.charAt:(I)C
            bipush 120
            if_icmpeq 4
         3: .line 65
      StackMap locals: long
      StackMap stack:
            ldc -1
            lreturn
         4: .line 67
      StackMap locals:
      StackMap stack:
            iconst_2
            istore 3 /* i */
        start local 3 // int i
         5: goto 21
         6: .line 68
      StackMap locals: int
      StackMap stack:
            lload 1 /* result */
            ldc 16
            lmul
            lstore 1 /* result */
         7: .line 69
            aload 0 /* value */
            iload 3 /* i */
            invokevirtual java.lang.String.charAt:(I)C
            istore 4 /* ch */
        start local 4 // char ch
         8: .line 70
            iload 4 /* ch */
            bipush 48
            if_icmplt 11
            iload 4 /* ch */
            bipush 57
            if_icmpgt 11
         9: .line 71
            lload 1 /* result */
            iload 4 /* ch */
            bipush 48
            isub
            i2l
            ladd
            lstore 1 /* result */
        10: .line 72
            goto 20
      StackMap locals: int
      StackMap stack:
        11: iload 4 /* ch */
            bipush 97
            if_icmplt 14
            iload 4 /* ch */
            bipush 102
            if_icmpgt 14
        12: .line 73
            lload 1 /* result */
            iload 4 /* ch */
            bipush 97
            isub
            bipush 10
            iadd
            i2l
            ladd
            lstore 1 /* result */
        13: .line 74
            goto 20
      StackMap locals:
      StackMap stack:
        14: iload 4 /* ch */
            bipush 65
            if_icmplt 17
            iload 4 /* ch */
            bipush 70
            if_icmpgt 17
        15: .line 75
            lload 1 /* result */
            iload 4 /* ch */
            bipush 65
            isub
            bipush 10
            iadd
            i2l
            ladd
            lstore 1 /* result */
        16: .line 76
            goto 20
        17: .line 77
      StackMap locals:
      StackMap stack:
            new java.lang.NumberFormatException
            dup
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            iload 4 /* ch */
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
        18: .line 78
            ldc " is not a valid hex digit"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        19: .line 77
            invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
            athrow
        end local 4 // char ch
        20: .line 67
      StackMap locals:
      StackMap stack:
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
        21: iload 3 /* i */
            aload 0 /* value */
            invokevirtual java.lang.String.length:()I
            if_icmplt 6
        end local 3 // int i
        22: .line 81
            lload 1 /* result */
            lreturn
        end local 1 // long result
        end local 0 // java.lang.String value
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   23     0   value  Ljava/lang/String;
            1   23     1  result  J
            5   22     3       i  I
            8   20     4      ch  C
    MethodParameters:
       Name  Flags
      value  

  public static java.lang.String encodeHtml(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=6, args_size=1
        start local 0 // java.lang.String str
         0: .line 85
            aload 0 /* str */
            invokevirtual java.lang.String.length:()I
            istore 1 /* len */
        start local 1 // int len
         1: .line 86
            new java.lang.StringBuffer
            dup
            invokespecial java.lang.StringBuffer.<init>:()V
            astore 2 /* buf */
        start local 2 // java.lang.StringBuffer buf
         2: .line 87
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         3: goto 29
         4: .line 88
      StackMap locals: int java.lang.StringBuffer int
      StackMap stack:
            aload 0 /* str */
            iload 3 /* i */
            invokevirtual java.lang.String.charAt:(I)C
            istore 4 /* ch */
        start local 4 // char ch
         5: .line 89
            iload 4 /* ch */
            bipush 60
            if_icmpne 8
         6: .line 90
            aload 2 /* buf */
            ldc "&lt;"
            invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
            pop
         7: .line 91
            goto 28
      StackMap locals: int
      StackMap stack:
         8: iload 4 /* ch */
            bipush 62
            if_icmpne 11
         9: .line 92
            aload 2 /* buf */
            ldc "&gt;"
            invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
            pop
        10: .line 93
            goto 28
      StackMap locals:
      StackMap stack:
        11: iload 4 /* ch */
            bipush 34
            if_icmpne 14
        12: .line 94
            aload 2 /* buf */
            ldc "&quot;"
            invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
            pop
        13: .line 95
            goto 28
      StackMap locals:
      StackMap stack:
        14: iload 4 /* ch */
            bipush 39
            if_icmpne 17
        15: .line 96
            aload 2 /* buf */
            ldc "&#039;"
            invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
            pop
        16: .line 97
            goto 28
      StackMap locals:
      StackMap stack:
        17: iload 4 /* ch */
            bipush 38
            if_icmpne 20
        18: .line 98
            aload 2 /* buf */
            ldc "&amp;"
            invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
            pop
        19: .line 99
            goto 28
      StackMap locals:
      StackMap stack:
        20: iload 4 /* ch */
            bipush 32
            if_icmpge 23
        21: .line 100
            aload 2 /* buf */
            new java.lang.StringBuilder
            dup
            ldc "&#"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 4 /* ch */
            invokestatic java.lang.Integer.toString:(I)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;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
            pop
        22: .line 101
            goto 28
        23: .line 102
      StackMap locals:
      StackMap stack:
            iload 4 /* ch */
            ldc 65535
            iand
            istore 5 /* c */
        start local 5 // int c
        24: .line 103
            iload 5 /* c */
            bipush 127
            if_icmple 27
        25: .line 104
            aload 2 /* buf */
            new java.lang.StringBuilder
            dup
            ldc "&#"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 5 /* c */
            invokestatic java.lang.Integer.toString:(I)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;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
            pop
        26: .line 105
            goto 28
        27: .line 106
      StackMap locals: int
      StackMap stack:
            aload 2 /* buf */
            iload 4 /* ch */
            invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
            pop
        end local 5 // int c
        end local 4 // char ch
        28: .line 87
      StackMap locals:
      StackMap stack:
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
        29: iload 3 /* i */
            iload 1 /* len */
            if_icmplt 4
        end local 3 // int i
        30: .line 110
            aload 2 /* buf */
            invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
            areturn
        end local 2 // java.lang.StringBuffer buf
        end local 1 // int len
        end local 0 // java.lang.String str
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   31     0   str  Ljava/lang/String;
            1   31     1   len  I
            2   31     2   buf  Ljava/lang/StringBuffer;
            3   30     3     i  I
            5   28     4    ch  C
           24   28     5     c  I
    MethodParameters:
      Name  Flags
      str   
}
SourceFile: "Misc.java"