public class org.jboss.resteasy.util.PathHelper
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.jboss.resteasy.util.PathHelper
  super_class: java.lang.Object
{
  public static final java.lang.String URI_PARAM_NAME_REGEX;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: "\\w[\\w\\.-]*"

  public static final java.lang.String URI_PARAM_REGEX_REGEX;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: "[^{}][^{}]*"

  public static final java.lang.String URI_PARAM_REGEX;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: "\\{\\s*(\\w[\\w\\.-]*)\\s*(:\\s*([^{}][^{}]*))?\\}"

  public static final java.lang.String URI_PARAM_WITH_REGEX;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: "\\{\\s*(\\w[\\w\\.-]*)\\s*(:\\s*([^{}][^{}]*))\\}"

  public static final java.lang.String URI_PARAM_WITHOUT_REGEX;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: "\\{(\\w[\\w\\.-]*)\\}"

  public static final java.util.regex.Pattern URI_PARAM_PATTERN;
    descriptor: Ljava/util/regex/Pattern;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  public static final java.util.regex.Pattern URI_PARAM_WITH_REGEX_PATTERN;
    descriptor: Ljava/util/regex/Pattern;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  public static final java.util.regex.Pattern URI_PARAM_WITHOUT_REGEX_PATTERN;
    descriptor: Ljava/util/regex/Pattern;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  public static final java.util.regex.Pattern URI_TEMPLATE_PATTERN;
    descriptor: Ljava/util/regex/Pattern;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  public static final java.lang.String URI_TEMPLATE_REPLACE_PATTERN;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: "(.*?)"

  public static final char openCurlyReplacement;
    descriptor: C
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 6

  public static final char closeCurlyReplacement;
    descriptor: C
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 7

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 26
            ldc "\\{\\s*(\\w[\\w\\.-]*)\\s*(:\\s*([^{}][^{}]*))?\\}"
            invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
            putstatic org.jboss.resteasy.util.PathHelper.URI_PARAM_PATTERN:Ljava/util/regex/Pattern;
         1: .line 27
            ldc "\\{\\s*(\\w[\\w\\.-]*)\\s*(:\\s*([^{}][^{}]*))\\}"
            invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
            putstatic org.jboss.resteasy.util.PathHelper.URI_PARAM_WITH_REGEX_PATTERN:Ljava/util/regex/Pattern;
         2: .line 28
            ldc "\\{(\\w[\\w\\.-]*)\\}"
            invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
            putstatic org.jboss.resteasy.util.PathHelper.URI_PARAM_WITHOUT_REGEX_PATTERN:Ljava/util/regex/Pattern;
         3: .line 33
            ldc "(\\{([^}]+)\\})"
            invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
            putstatic org.jboss.resteasy.util.PathHelper.URI_TEMPLATE_PATTERN:Ljava/util/regex/Pattern;
         4: .line 49
            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 // org.jboss.resteasy.util.PathHelper this
         0: .line 19
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.jboss.resteasy.util.PathHelper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jboss/resteasy/util/PathHelper;

  public static java.lang.String getEncodedPathInfo(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.lang.String path
        start local 1 // java.lang.String contextPath
         0: .line 40
            aload 1 /* contextPath */
            ifnull 2
            ldc ""
            aload 1 /* contextPath */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 2
            aload 0 /* path */
            aload 1 /* contextPath */
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 2
         1: .line 42
            aload 0 /* path */
            aload 1 /* contextPath */
            invokevirtual java.lang.String.length:()I
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            astore 0 /* path */
         2: .line 44
      StackMap locals:
      StackMap stack:
            aload 0 /* path */
            areturn
        end local 1 // java.lang.String contextPath
        end local 0 // java.lang.String path
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    3     0         path  Ljava/lang/String;
            0    3     1  contextPath  Ljava/lang/String;
    MethodParameters:
             Name  Flags
      path         
      contextPath  

  public static java.lang.String replaceEnclosedCurlyBraces(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=4, args_size=1
        start local 0 // java.lang.String str
         0: .line 53
            aload 0 /* str */
            invokevirtual java.lang.String.toCharArray:()[C
            astore 1 /* chars */
        start local 1 // char[] chars
         1: .line 54
            iconst_0
            istore 2 /* open */
        start local 2 // int open
         2: .line 55
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         3: goto 13
         4: .line 57
      StackMap locals: char[] int int
      StackMap stack:
            aload 1 /* chars */
            iload 3 /* i */
            caload
            bipush 123
            if_icmpne 8
         5: .line 59
            iload 2 /* open */
            ifeq 6
            aload 1 /* chars */
            iload 3 /* i */
            bipush 6
            castore
         6: .line 60
      StackMap locals:
      StackMap stack:
            iinc 2 /* open */ 1
         7: .line 61
            goto 12
         8: .line 62
      StackMap locals:
      StackMap stack:
            aload 1 /* chars */
            iload 3 /* i */
            caload
            bipush 125
            if_icmpne 12
         9: .line 64
            iinc 2 /* open */ -1
        10: .line 65
            iload 2 /* open */
            ifeq 12
        11: .line 67
            aload 1 /* chars */
            iload 3 /* i */
            bipush 7
            castore
        12: .line 55
      StackMap locals:
      StackMap stack:
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
        13: iload 3 /* i */
            aload 1 /* chars */
            arraylength
            if_icmplt 4
        end local 3 // int i
        14: .line 71
            new java.lang.String
            dup
            aload 1 /* chars */
            invokespecial java.lang.String.<init>:([C)V
            areturn
        end local 2 // int open
        end local 1 // char[] chars
        end local 0 // java.lang.String str
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   15     0    str  Ljava/lang/String;
            1   15     1  chars  [C
            2   15     2   open  I
            3   14     3      i  I
    MethodParameters:
      Name  Flags
      str   

  public static java.lang.CharSequence replaceEnclosedCurlyBracesCS(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/CharSequence;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=5, args_size=1
        start local 0 // java.lang.String str
         0: .line 81
            iconst_0
            istore 1 /* open */
        start local 1 // int open
         1: .line 82
            aload 0 /* str */
            astore 2 /* cs */
        start local 2 // java.lang.CharSequence cs
         2: .line 83
            aconst_null
            astore 3 /* chars */
        start local 3 // char[] chars
         3: .line 84
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         4: goto 21
         5: .line 86
      StackMap locals: java.lang.String int java.lang.CharSequence char[] int
      StackMap stack:
            aload 2 /* cs */
            iload 4 /* i */
            invokeinterface java.lang.CharSequence.charAt:(I)C
            bipush 123
            if_icmpne 13
         6: .line 88
            iload 1 /* open */
            ifeq 11
         7: .line 89
            aload 2 /* cs */
            aload 0 /* str */
            if_acmpne 10
         8: .line 90
            aload 0 /* str */
            invokevirtual java.lang.String.toCharArray:()[C
            astore 3 /* chars */
         9: .line 91
            new org.jboss.resteasy.util.ArrayCharSequence
            dup
            aload 3 /* chars */
            invokespecial org.jboss.resteasy.util.ArrayCharSequence.<init>:([C)V
            astore 2 /* cs */
        10: .line 93
      StackMap locals:
      StackMap stack:
            aload 3 /* chars */
            iload 4 /* i */
            bipush 6
            castore
        11: .line 95
      StackMap locals:
      StackMap stack:
            iinc 1 /* open */ 1
        12: .line 96
            goto 20
        13: .line 97
      StackMap locals:
      StackMap stack:
            aload 2 /* cs */
            iload 4 /* i */
            invokeinterface java.lang.CharSequence.charAt:(I)C
            bipush 125
            if_icmpne 20
        14: .line 99
            iinc 1 /* open */ -1
        15: .line 100
            iload 1 /* open */
            ifeq 20
        16: .line 102
            aload 2 /* cs */
            aload 0 /* str */
            if_acmpne 19
        17: .line 103
            aload 0 /* str */
            invokevirtual java.lang.String.toCharArray:()[C
            astore 3 /* chars */
        18: .line 104
            new org.jboss.resteasy.util.ArrayCharSequence
            dup
            aload 3 /* chars */
            invokespecial org.jboss.resteasy.util.ArrayCharSequence.<init>:([C)V
            astore 2 /* cs */
        19: .line 106
      StackMap locals:
      StackMap stack:
            aload 3 /* chars */
            iload 4 /* i */
            bipush 7
            castore
        20: .line 84
      StackMap locals:
      StackMap stack:
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
        21: iload 4 /* i */
            aload 0 /* str */
            invokevirtual java.lang.String.length:()I
            if_icmplt 5
        end local 4 // int i
        22: .line 110
            aload 2 /* cs */
            areturn
        end local 3 // char[] chars
        end local 2 // java.lang.CharSequence cs
        end local 1 // int open
        end local 0 // java.lang.String str
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   23     0    str  Ljava/lang/String;
            1   23     1   open  I
            2   23     2     cs  Ljava/lang/CharSequence;
            3   23     3  chars  [C
            4   22     4      i  I
    MethodParameters:
      Name  Flags
      str   

  public static java.lang.String recoverEnclosedCurlyBraces(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.lang.String str
         0: .line 116
            aload 0 /* str */
            bipush 6
            bipush 123
            invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
            bipush 7
            bipush 125
            invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
            areturn
        end local 0 // java.lang.String str
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0   str  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      str   
}
SourceFile: "PathHelper.java"