public class java.net.URLEncoder
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: java.net.URLEncoder
  super_class: java.lang.Object
{
  static java.util.BitSet dontNeedEncoding;
    descriptor: Ljava/util/BitSet;
    flags: (0x0008) ACC_STATIC

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

  static java.lang.String dfltEncName;
    descriptor: Ljava/lang/String;
    flags: (0x0008) ACC_STATIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=1, args_size=0
         0: .line 85
            aconst_null
            putstatic java.net.URLEncoder.dfltEncName:Ljava/lang/String;
         1: .line 125
            new java.util.BitSet
            dup
            sipush 256
            invokespecial java.util.BitSet.<init>:(I)V
            putstatic java.net.URLEncoder.dontNeedEncoding:Ljava/util/BitSet;
         2: .line 127
            bipush 97
            istore 0 /* i */
        start local 0 // int i
         3: goto 6
         4: .line 128
      StackMap locals: int
      StackMap stack:
            getstatic java.net.URLEncoder.dontNeedEncoding:Ljava/util/BitSet;
            iload 0 /* i */
            invokevirtual java.util.BitSet.set:(I)V
         5: .line 127
            iinc 0 /* i */ 1
      StackMap locals:
      StackMap stack:
         6: iload 0 /* i */
            bipush 122
            if_icmple 4
         7: .line 130
            bipush 65
            istore 0 /* i */
            goto 10
         8: .line 131
      StackMap locals:
      StackMap stack:
            getstatic java.net.URLEncoder.dontNeedEncoding:Ljava/util/BitSet;
            iload 0 /* i */
            invokevirtual java.util.BitSet.set:(I)V
         9: .line 130
            iinc 0 /* i */ 1
      StackMap locals:
      StackMap stack:
        10: iload 0 /* i */
            bipush 90
            if_icmple 8
        11: .line 133
            bipush 48
            istore 0 /* i */
            goto 14
        12: .line 134
      StackMap locals:
      StackMap stack:
            getstatic java.net.URLEncoder.dontNeedEncoding:Ljava/util/BitSet;
            iload 0 /* i */
            invokevirtual java.util.BitSet.set:(I)V
        13: .line 133
            iinc 0 /* i */ 1
      StackMap locals:
      StackMap stack:
        14: iload 0 /* i */
            bipush 57
            if_icmple 12
        15: .line 136
            getstatic java.net.URLEncoder.dontNeedEncoding:Ljava/util/BitSet;
            bipush 32
            invokevirtual java.util.BitSet.set:(I)V
        16: .line 138
            getstatic java.net.URLEncoder.dontNeedEncoding:Ljava/util/BitSet;
            bipush 45
            invokevirtual java.util.BitSet.set:(I)V
        17: .line 139
            getstatic java.net.URLEncoder.dontNeedEncoding:Ljava/util/BitSet;
            bipush 95
            invokevirtual java.util.BitSet.set:(I)V
        18: .line 140
            getstatic java.net.URLEncoder.dontNeedEncoding:Ljava/util/BitSet;
            bipush 46
            invokevirtual java.util.BitSet.set:(I)V
        19: .line 141
            getstatic java.net.URLEncoder.dontNeedEncoding:Ljava/util/BitSet;
            bipush 42
            invokevirtual java.util.BitSet.set:(I)V
        20: .line 144
            new sun.security.action.GetPropertyAction
            dup
            ldc "file.encoding"
            invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
        21: .line 143
            invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
            checkcast java.lang.String
            putstatic java.net.URLEncoder.dfltEncName:Ljava/lang/String;
        end local 0 // int i
        22: .line 146
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            3   22     0     i  I

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.net.URLEncoder this
         0: .line 151
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // java.net.URLEncoder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljava/net/URLEncoder;

  public static java.lang.String encode(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // java.lang.String s
         0: .line 167
            aconst_null
            astore 1 /* str */
        start local 1 // java.lang.String str
         1: .line 170
            aload 0 /* s */
            getstatic java.net.URLEncoder.dfltEncName:Ljava/lang/String;
            invokestatic java.net.URLEncoder.encode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            astore 1 /* str */
         2: .line 171
            goto 4
      StackMap locals: java.lang.String java.lang.String
      StackMap stack: java.io.UnsupportedEncodingException
         3: pop
         4: .line 175
      StackMap locals:
      StackMap stack:
            aload 1 /* str */
            areturn
        end local 1 // java.lang.String str
        end local 0 // java.lang.String s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0     s  Ljava/lang/String;
            1    5     1   str  Ljava/lang/String;
      Exception table:
        from    to  target  type
           1     2       3  Class java.io.UnsupportedEncodingException
    RuntimeVisibleAnnotations: 
      java.lang.Deprecated()
    MethodParameters:
      Name  Flags
      s     

  public static java.lang.String encode(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=12, args_size=2
        start local 0 // java.lang.String s
        start local 1 // java.lang.String enc
         0: .line 203
            iconst_0
            istore 2 /* needToChange */
        start local 2 // boolean needToChange
         1: .line 204
            new java.lang.StringBuffer
            dup
            aload 0 /* s */
            invokevirtual java.lang.String.length:()I
            invokespecial java.lang.StringBuffer.<init>:(I)V
            astore 3 /* out */
        start local 3 // java.lang.StringBuffer out
         2: .line 206
            new java.io.CharArrayWriter
            dup
            invokespecial java.io.CharArrayWriter.<init>:()V
            astore 5 /* charArrayWriter */
        start local 5 // java.io.CharArrayWriter charArrayWriter
         3: .line 208
            aload 1 /* enc */
            ifnonnull 5
         4: .line 209
            new java.lang.NullPointerException
            dup
            ldc "charsetName"
            invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 212
      StackMap locals: java.lang.String java.lang.String int java.lang.StringBuffer top java.io.CharArrayWriter
      StackMap stack:
            aload 1 /* enc */
            invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
            astore 4 /* charset */
        start local 4 // java.nio.charset.Charset charset
         6: .line 213
            goto 11
        end local 4 // java.nio.charset.Charset charset
      StackMap locals:
      StackMap stack: java.nio.charset.IllegalCharsetNameException
         7: pop
         8: .line 214
            new java.io.UnsupportedEncodingException
            dup
            aload 1 /* enc */
            invokespecial java.io.UnsupportedEncodingException.<init>:(Ljava/lang/String;)V
            athrow
         9: .line 215
      StackMap locals:
      StackMap stack: java.nio.charset.UnsupportedCharsetException
            pop
        10: .line 216
            new java.io.UnsupportedEncodingException
            dup
            aload 1 /* enc */
            invokespecial java.io.UnsupportedEncodingException.<init>:(Ljava/lang/String;)V
            athrow
        start local 4 // java.nio.charset.Charset charset
        11: .line 219
      StackMap locals: java.lang.String java.lang.String int java.lang.StringBuffer java.nio.charset.Charset java.io.CharArrayWriter
      StackMap stack:
            iconst_0
            istore 6 /* i */
        start local 6 // int i
        12: goto 48
        13: .line 220
      StackMap locals: int
      StackMap stack:
            aload 0 /* s */
            iload 6 /* i */
            invokevirtual java.lang.String.charAt:(I)C
            istore 7 /* c */
        start local 7 // int c
        14: .line 222
            getstatic java.net.URLEncoder.dontNeedEncoding:Ljava/util/BitSet;
            iload 7 /* c */
            invokevirtual java.util.BitSet.get:(I)Z
            ifeq 21
        15: .line 223
            iload 7 /* c */
            bipush 32
            if_icmpne 18
        16: .line 224
            bipush 43
            istore 7 /* c */
        17: .line 225
            iconst_1
            istore 2 /* needToChange */
        18: .line 228
      StackMap locals: int
      StackMap stack:
            aload 3 /* out */
            iload 7 /* c */
            i2c
            invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
            pop
        19: .line 229
            iinc 6 /* i */ 1
        20: .line 230
            goto 48
        21: .line 233
      StackMap locals:
      StackMap stack:
            aload 5 /* charArrayWriter */
            iload 7 /* c */
            invokevirtual java.io.CharArrayWriter.write:(I)V
        22: .line 242
            iload 7 /* c */
            ldc 55296
            if_icmplt 28
            iload 7 /* c */
            ldc 56319
            if_icmpgt 28
        23: .line 247
            iload 6 /* i */
            iconst_1
            iadd
            aload 0 /* s */
            invokevirtual java.lang.String.length:()I
            if_icmpge 28
        24: .line 248
            aload 0 /* s */
            iload 6 /* i */
            iconst_1
            iadd
            invokevirtual java.lang.String.charAt:(I)C
            istore 8 /* d */
        start local 8 // int d
        25: .line 253
            iload 8 /* d */
            ldc 56320
            if_icmplt 28
            iload 8 /* d */
            ldc 57343
            if_icmpgt 28
        26: .line 259
            aload 5 /* charArrayWriter */
            iload 8 /* d */
            invokevirtual java.io.CharArrayWriter.write:(I)V
        27: .line 260
            iinc 6 /* i */ 1
        end local 8 // int d
        28: .line 264
      StackMap locals:
      StackMap stack:
            iinc 6 /* i */ 1
        29: .line 265
            iload 6 /* i */
            aload 0 /* s */
            invokevirtual java.lang.String.length:()I
            if_icmpge 30
            getstatic java.net.URLEncoder.dontNeedEncoding:Ljava/util/BitSet;
            aload 0 /* s */
            iload 6 /* i */
            invokevirtual java.lang.String.charAt:(I)C
            dup
            istore 7 /* c */
            invokevirtual java.util.BitSet.get:(I)Z
            ifeq 21
        30: .line 267
      StackMap locals:
      StackMap stack:
            aload 5 /* charArrayWriter */
            invokevirtual java.io.CharArrayWriter.flush:()V
        31: .line 268
            new java.lang.String
            dup
            aload 5 /* charArrayWriter */
            invokevirtual java.io.CharArrayWriter.toCharArray:()[C
            invokespecial java.lang.String.<init>:([C)V
            astore 8 /* str */
        start local 8 // java.lang.String str
        32: .line 269
            aload 8 /* str */
            aload 4 /* charset */
            invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
            astore 9 /* ba */
        start local 9 // byte[] ba
        33: .line 270
            iconst_0
            istore 10 /* j */
        start local 10 // int j
        34: goto 45
        35: .line 271
      StackMap locals: java.lang.String byte[] int
      StackMap stack:
            aload 3 /* out */
            bipush 37
            invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
            pop
        36: .line 272
            aload 9 /* ba */
            iload 10 /* j */
            baload
            iconst_4
            ishr
            bipush 15
            iand
            bipush 16
            invokestatic java.lang.Character.forDigit:(II)C
            istore 11 /* ch */
        start local 11 // char ch
        37: .line 275
            iload 11 /* ch */
            invokestatic java.lang.Character.isLetter:(C)Z
            ifeq 39
        38: .line 276
            iload 11 /* ch */
            bipush 32
            isub
            i2c
            istore 11 /* ch */
        39: .line 278
      StackMap locals: int
      StackMap stack:
            aload 3 /* out */
            iload 11 /* ch */
            invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
            pop
        40: .line 279
            aload 9 /* ba */
            iload 10 /* j */
            baload
            bipush 15
            iand
            bipush 16
            invokestatic java.lang.Character.forDigit:(II)C
            istore 11 /* ch */
        41: .line 280
            iload 11 /* ch */
            invokestatic java.lang.Character.isLetter:(C)Z
            ifeq 43
        42: .line 281
            iload 11 /* ch */
            bipush 32
            isub
            i2c
            istore 11 /* ch */
        43: .line 283
      StackMap locals:
      StackMap stack:
            aload 3 /* out */
            iload 11 /* ch */
            invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
            pop
        end local 11 // char ch
        44: .line 270
            iinc 10 /* j */ 1
      StackMap locals:
      StackMap stack:
        45: iload 10 /* j */
            aload 9 /* ba */
            arraylength
            if_icmplt 35
        end local 10 // int j
        46: .line 285
            aload 5 /* charArrayWriter */
            invokevirtual java.io.CharArrayWriter.reset:()V
        47: .line 286
            iconst_1
            istore 2 /* needToChange */
        end local 9 // byte[] ba
        end local 8 // java.lang.String str
        end local 7 // int c
        48: .line 219
      StackMap locals: java.lang.String java.lang.String int java.lang.StringBuffer java.nio.charset.Charset java.io.CharArrayWriter int
      StackMap stack:
            iload 6 /* i */
            aload 0 /* s */
            invokevirtual java.lang.String.length:()I
            if_icmplt 13
        end local 6 // int i
        49: .line 290
            iload 2 /* needToChange */
            ifeq 50
            aload 3 /* out */
            invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
            goto 51
      StackMap locals:
      StackMap stack:
        50: aload 0 /* s */
      StackMap locals:
      StackMap stack: java.lang.String
        51: areturn
        end local 5 // java.io.CharArrayWriter charArrayWriter
        end local 4 // java.nio.charset.Charset charset
        end local 3 // java.lang.StringBuffer out
        end local 2 // boolean needToChange
        end local 1 // java.lang.String enc
        end local 0 // java.lang.String s
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   52     0                s  Ljava/lang/String;
            0   52     1              enc  Ljava/lang/String;
            1   52     2     needToChange  Z
            2   52     3              out  Ljava/lang/StringBuffer;
            6    7     4          charset  Ljava/nio/charset/Charset;
           11   52     4          charset  Ljava/nio/charset/Charset;
            3   52     5  charArrayWriter  Ljava/io/CharArrayWriter;
           12   49     6                i  I
           14   48     7                c  I
           25   28     8                d  I
           32   48     8              str  Ljava/lang/String;
           33   48     9               ba  [B
           34   46    10                j  I
           37   44    11               ch  C
      Exception table:
        from    to  target  type
           5     6       7  Class java.nio.charset.IllegalCharsetNameException
           5     6       9  Class java.nio.charset.UnsupportedCharsetException
    Exceptions:
      throws java.io.UnsupportedEncodingException
    MethodParameters:
      Name  Flags
      s     
      enc   
}
SourceFile: "URLEncoder.java"