class org.apache.catalina.webresources.StandardRoot$BaseLocation
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.apache.catalina.webresources.StandardRoot$BaseLocation
  super_class: java.lang.Object
{
  private final java.lang.String basePath;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.lang.String archivePath;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  void <init>(java.net.URL);
    descriptor: (Ljava/net/URL;)V
    flags: (0x0000) 
    Code:
      stack=8, locals=7, args_size=2
        start local 0 // org.apache.catalina.webresources.StandardRoot$BaseLocation this
        start local 1 // java.net.URL url
         0: .line 819
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 820
            aconst_null
            astore 2 /* f */
        start local 2 // java.io.File f
         2: .line 822
            ldc "jar"
            aload 1 /* url */
            invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 3
            ldc "war"
            aload 1 /* url */
            invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 20
         3: .line 823
      StackMap locals: org.apache.catalina.webresources.StandardRoot$BaseLocation java.net.URL java.io.File
      StackMap stack:
            aload 1 /* url */
            invokevirtual java.net.URL.toString:()Ljava/lang/String;
            astore 3 /* jarUrl */
        start local 3 // java.lang.String jarUrl
         4: .line 824
            iconst_m1
            istore 4 /* endOfFileUrl */
        start local 4 // int endOfFileUrl
         5: .line 825
            ldc "jar"
            aload 1 /* url */
            invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 8
         6: .line 826
            aload 3 /* jarUrl */
            ldc "!/"
            invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
            istore 4 /* endOfFileUrl */
         7: .line 827
            goto 9
         8: .line 828
      StackMap locals: java.lang.String int
      StackMap stack:
            aload 3 /* jarUrl */
            invokestatic org.apache.tomcat.util.buf.UriUtil.getWarSeparator:()Ljava/lang/String;
            invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
            istore 4 /* endOfFileUrl */
         9: .line 830
      StackMap locals:
      StackMap stack:
            aload 3 /* jarUrl */
            iconst_4
            iload 4 /* endOfFileUrl */
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            astore 5 /* fileUrl */
        start local 5 // java.lang.String fileUrl
        10: .line 832
            new java.io.File
            dup
            new java.net.URL
            dup
            aload 5 /* fileUrl */
            invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
            invokevirtual java.net.URL.toURI:()Ljava/net/URI;
            invokespecial java.io.File.<init>:(Ljava/net/URI;)V
            astore 2 /* f */
        11: .line 833
            goto 14
      StackMap locals: org.apache.catalina.webresources.StandardRoot$BaseLocation java.net.URL java.io.File java.lang.String int java.lang.String
      StackMap stack: java.lang.Exception
        12: astore 6 /* e */
        start local 6 // java.lang.Exception e
        13: .line 834
            new java.lang.IllegalArgumentException
            dup
            aload 6 /* e */
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 6 // java.lang.Exception e
        14: .line 836
      StackMap locals:
      StackMap stack:
            iload 4 /* endOfFileUrl */
            iconst_2
            iadd
            istore 6 /* startOfArchivePath */
        start local 6 // int startOfArchivePath
        15: .line 837
            aload 3 /* jarUrl */
            invokevirtual java.lang.String.length:()I
            iload 6 /* startOfArchivePath */
            if_icmple 18
        16: .line 838
            aload 0 /* this */
            aload 3 /* jarUrl */
            iload 6 /* startOfArchivePath */
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            putfield org.apache.catalina.webresources.StandardRoot$BaseLocation.archivePath:Ljava/lang/String;
        17: .line 839
            goto 30
        18: .line 840
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield org.apache.catalina.webresources.StandardRoot$BaseLocation.archivePath:Ljava/lang/String;
        end local 6 // int startOfArchivePath
        end local 5 // java.lang.String fileUrl
        end local 4 // int endOfFileUrl
        end local 3 // java.lang.String jarUrl
        19: .line 842
            goto 30
      StackMap locals: org.apache.catalina.webresources.StandardRoot$BaseLocation java.net.URL java.io.File
      StackMap stack:
        20: ldc "file"
            aload 1 /* url */
            invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 27
        21: .line 844
            new java.io.File
            dup
            aload 1 /* url */
            invokevirtual java.net.URL.toURI:()Ljava/net/URI;
            invokespecial java.io.File.<init>:(Ljava/net/URI;)V
            astore 2 /* f */
        22: .line 845
            goto 25
      StackMap locals:
      StackMap stack: java.net.URISyntaxException
        23: astore 3 /* e */
        start local 3 // java.net.URISyntaxException e
        24: .line 846
            new java.lang.IllegalArgumentException
            dup
            aload 3 /* e */
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 3 // java.net.URISyntaxException e
        25: .line 848
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield org.apache.catalina.webresources.StandardRoot$BaseLocation.archivePath:Ljava/lang/String;
        26: .line 849
            goto 30
        27: .line 850
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            getstatic org.apache.catalina.webresources.StandardRoot.sm:Lorg/apache/tomcat/util/res/StringManager;
        28: .line 851
            ldc "standardRoot.unsupportedProtocol"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* url */
            invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
            aastore
        29: .line 850
            invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        30: .line 854
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 2 /* f */
            invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
            putfield org.apache.catalina.webresources.StandardRoot$BaseLocation.basePath:Ljava/lang/String;
        31: .line 855
            return
        end local 2 // java.io.File f
        end local 1 // java.net.URL url
        end local 0 // org.apache.catalina.webresources.StandardRoot$BaseLocation this
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0   32     0                this  Lorg/apache/catalina/webresources/StandardRoot$BaseLocation;
            0   32     1                 url  Ljava/net/URL;
            2   32     2                   f  Ljava/io/File;
            4   19     3              jarUrl  Ljava/lang/String;
            5   19     4        endOfFileUrl  I
           10   19     5             fileUrl  Ljava/lang/String;
           13   14     6                   e  Ljava/lang/Exception;
           15   19     6  startOfArchivePath  I
           24   25     3                   e  Ljava/net/URISyntaxException;
      Exception table:
        from    to  target  type
          10    11      12  Class java.net.MalformedURLException
          10    11      12  Class java.net.URISyntaxException
          21    22      23  Class java.net.URISyntaxException
    MethodParameters:
      Name  Flags
      url   

  java.lang.String getBasePath();
    descriptor: ()Ljava/lang/String;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.catalina.webresources.StandardRoot$BaseLocation this
         0: .line 859
            aload 0 /* this */
            getfield org.apache.catalina.webresources.StandardRoot$BaseLocation.basePath:Ljava/lang/String;
            areturn
        end local 0 // org.apache.catalina.webresources.StandardRoot$BaseLocation this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/catalina/webresources/StandardRoot$BaseLocation;

  java.lang.String getArchivePath();
    descriptor: ()Ljava/lang/String;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.catalina.webresources.StandardRoot$BaseLocation this
         0: .line 864
            aload 0 /* this */
            getfield org.apache.catalina.webresources.StandardRoot$BaseLocation.archivePath:Ljava/lang/String;
            areturn
        end local 0 // org.apache.catalina.webresources.StandardRoot$BaseLocation this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/catalina/webresources/StandardRoot$BaseLocation;
}
SourceFile: "StandardRoot.java"
NestHost: org.apache.catalina.webresources.StandardRoot
InnerClasses:
  BaseLocation = org.apache.catalina.webresources.StandardRoot$BaseLocation of org.apache.catalina.webresources.StandardRoot