class org.jruby.util.JarCache$JarIndex
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.jruby.util.JarCache$JarIndex
  super_class: java.lang.Object
{
  private static final java.lang.String ROOT_KEY;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: ""

  private final java.util.Map<java.lang.String, java.lang.String[]> cachedDirEntries;
    descriptor: Ljava/util/Map;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Map<Ljava/lang/String;[Ljava/lang/String;>;

  private final java.util.jar.JarFile jar;
    descriptor: Ljava/util/jar/JarFile;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final long snapshotCalculated;
    descriptor: J
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  void <init>(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=10, args_size=2
        start local 0 // org.jruby.util.JarCache$JarIndex this
        start local 1 // java.lang.String jarPath
         0: .line 46
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 47
            aload 0 /* this */
            new java.util.jar.JarFile
            dup
            aload 1 /* jarPath */
            invokespecial java.util.jar.JarFile.<init>:(Ljava/lang/String;)V
            putfield org.jruby.util.JarCache$JarIndex.jar:Ljava/util/jar/JarFile;
         2: .line 48
            aload 0 /* this */
            new java.io.File
            dup
            aload 1 /* jarPath */
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            invokevirtual java.io.File.lastModified:()J
            putfield org.jruby.util.JarCache$JarIndex.snapshotCalculated:J
         3: .line 50
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            astore 2 /* mutableCache */
        start local 2 // java.util.Map mutableCache
         4: .line 53
            aload 2 /* mutableCache */
            ldc ""
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         5: .line 55
            aload 0 /* this */
            getfield org.jruby.util.JarCache$JarIndex.jar:Ljava/util/jar/JarFile;
            invokevirtual java.util.jar.JarFile.entries:()Ljava/util/Enumeration;
            astore 3 /* entries */
        start local 3 // java.util.Enumeration entries
         6: .line 56
            goto 20
         7: .line 57
      StackMap locals: org.jruby.util.JarCache$JarIndex java.lang.String java.util.Map java.util.Enumeration
      StackMap stack:
            aload 3 /* entries */
            invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
            checkcast java.util.jar.JarEntry
            astore 4 /* entry */
        start local 4 // java.util.jar.JarEntry entry
         8: .line 58
            aload 4 /* entry */
            invokevirtual java.util.jar.JarEntry.getName:()Ljava/lang/String;
            astore 5 /* path */
        start local 5 // java.lang.String path
         9: .line 61
            goto 17
        start local 6 // int lastPathSep
        10: .line 62
      StackMap locals: java.util.jar.JarEntry java.lang.String int
      StackMap stack:
            aload 5 /* path */
            iconst_0
            iload 6 /* lastPathSep */
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            astore 7 /* dirPath */
        start local 7 // java.lang.String dirPath
        11: .line 64
            aload 2 /* mutableCache */
            aload 7 /* dirPath */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.util.HashSet
            astore 8 /* paths */
        start local 8 // java.util.HashSet paths
        12: .line 65
            aload 8 /* paths */
            ifnonnull 14
        13: .line 66
            aload 2 /* mutableCache */
            aload 7 /* dirPath */
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            dup
            astore 8 /* paths */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        14: .line 69
      StackMap locals: java.lang.String java.util.HashSet
      StackMap stack:
            aload 5 /* path */
            iload 6 /* lastPathSep */
            iconst_1
            iadd
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            astore 9 /* entryPath */
        start local 9 // java.lang.String entryPath
        15: .line 72
            aload 9 /* entryPath */
            invokevirtual java.lang.String.length:()I
            ifle 16
            aload 8 /* paths */
            aload 9 /* entryPath */
            invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
            pop
        16: .line 74
      StackMap locals: java.lang.String
      StackMap stack:
            aload 7 /* dirPath */
            astore 5 /* path */
        end local 9 // java.lang.String entryPath
        end local 8 // java.util.HashSet paths
        end local 7 // java.lang.String dirPath
        end local 6 // int lastPathSep
        17: .line 61
      StackMap locals: org.jruby.util.JarCache$JarIndex java.lang.String java.util.Map java.util.Enumeration java.util.jar.JarEntry java.lang.String
      StackMap stack:
            aload 5 /* path */
            bipush 47
            invokevirtual java.lang.String.lastIndexOf:(I)I
            dup
            istore 6 /* lastPathSep */
        start local 6 // int lastPathSep
        18: iconst_m1
            if_icmpne 10
        19: .line 77
            aload 2 /* mutableCache */
            ldc ""
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.util.HashSet
            aload 5 /* path */
            invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
            pop
        end local 6 // int lastPathSep
        end local 5 // java.lang.String path
        end local 4 // java.util.jar.JarEntry entry
        20: .line 56
      StackMap locals:
      StackMap stack:
            aload 3 /* entries */
            invokeinterface java.util.Enumeration.hasMoreElements:()Z
            ifne 7
        21: .line 80
            new java.util.HashMap
            dup
            aload 2 /* mutableCache */
            invokeinterface java.util.Map.size:()I
            bipush 8
            iadd
            fconst_1
            invokespecial java.util.HashMap.<init>:(IF)V
            astore 4 /* cachedDirEntries */
        start local 4 // java.util.Map cachedDirEntries
        22: .line 81
            aload 2 /* mutableCache */
            invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 6
            goto 26
      StackMap locals: org.jruby.util.JarCache$JarIndex java.lang.String java.util.Map java.util.Enumeration java.util.Map top java.util.Iterator
      StackMap stack:
        23: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.util.Map$Entry
            astore 5 /* entry */
        start local 5 // java.util.Map$Entry entry
        24: .line 82
            aload 5 /* entry */
            invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
            checkcast java.util.Set
            astore 7 /* value */
        start local 7 // java.util.Set value
        25: .line 83
            aload 4 /* cachedDirEntries */
            aload 5 /* entry */
            invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
            checkcast java.lang.String
            aload 7 /* value */
            aload 7 /* value */
            invokeinterface java.util.Set.size:()I
            anewarray java.lang.String
            invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
            checkcast java.lang.String[]
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        end local 7 // java.util.Set value
        end local 5 // java.util.Map$Entry entry
        26: .line 81
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 23
        27: .line 86
            aload 0 /* this */
            aload 4 /* cachedDirEntries */
            invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
            putfield org.jruby.util.JarCache$JarIndex.cachedDirEntries:Ljava/util/Map;
        28: .line 87
            return
        end local 4 // java.util.Map cachedDirEntries
        end local 3 // java.util.Enumeration entries
        end local 2 // java.util.Map mutableCache
        end local 1 // java.lang.String jarPath
        end local 0 // org.jruby.util.JarCache$JarIndex this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   29     0              this  Lorg/jruby/util/JarCache$JarIndex;
            0   29     1           jarPath  Ljava/lang/String;
            4   29     2      mutableCache  Ljava/util/Map<Ljava/lang/String;Ljava/util/HashSet<Ljava/lang/String;>;>;
            6   29     3           entries  Ljava/util/Enumeration<Ljava/util/jar/JarEntry;>;
            8   20     4             entry  Ljava/util/jar/JarEntry;
            9   20     5              path  Ljava/lang/String;
           10   17     6       lastPathSep  I
           18   20     6       lastPathSep  I
           11   17     7           dirPath  Ljava/lang/String;
           12   17     8             paths  Ljava/util/HashSet<Ljava/lang/String;>;
           15   17     9         entryPath  Ljava/lang/String;
           22   29     4  cachedDirEntries  Ljava/util/Map<Ljava/lang/String;[Ljava/lang/String;>;
           24   26     5             entry  Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/HashSet<Ljava/lang/String;>;>;
           25   26     7             value  Ljava/util/Set<Ljava/lang/String;>;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      jarPath  

  public java.util.jar.JarEntry getJarEntry(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/util/jar/JarEntry;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.jruby.util.JarCache$JarIndex this
        start local 1 // java.lang.String entryPath
         0: .line 90
            aload 0 /* this */
            getfield org.jruby.util.JarCache$JarIndex.jar:Ljava/util/jar/JarFile;
            aload 1 /* entryPath */
            invokestatic org.jruby.util.JarCache$JarIndex.canonicalJarPath:(Ljava/lang/String;)Ljava/lang/String;
            invokevirtual java.util.jar.JarFile.getJarEntry:(Ljava/lang/String;)Ljava/util/jar/JarEntry;
            areturn
        end local 1 // java.lang.String entryPath
        end local 0 // org.jruby.util.JarCache$JarIndex this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0       this  Lorg/jruby/util/JarCache$JarIndex;
            0    1     1  entryPath  Ljava/lang/String;
    MethodParameters:
           Name  Flags
      entryPath  

  public java.lang.String[] getDirEntries(java.lang.String);
    descriptor: (Ljava/lang/String;)[Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.jruby.util.JarCache$JarIndex this
        start local 1 // java.lang.String entryPath
         0: .line 94
            aload 0 /* this */
            getfield org.jruby.util.JarCache$JarIndex.cachedDirEntries:Ljava/util/Map;
            aload 1 /* entryPath */
            invokestatic org.jruby.util.JarCache$JarIndex.canonicalJarPath:(Ljava/lang/String;)Ljava/lang/String;
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.String[]
            areturn
        end local 1 // java.lang.String entryPath
        end local 0 // org.jruby.util.JarCache$JarIndex this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0       this  Lorg/jruby/util/JarCache$JarIndex;
            0    1     1  entryPath  Ljava/lang/String;
    MethodParameters:
           Name  Flags
      entryPath  

  public java.io.InputStream getInputStream(java.util.jar.JarEntry);
    descriptor: (Ljava/util/jar/JarEntry;)Ljava/io/InputStream;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.jruby.util.JarCache$JarIndex this
        start local 1 // java.util.jar.JarEntry entry
         0: .line 98
            aload 0 /* this */
            getfield org.jruby.util.JarCache$JarIndex.jar:Ljava/util/jar/JarFile;
            aload 1 /* entry */
            invokevirtual java.util.jar.JarFile.getInputStream:(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;
            areturn
        end local 1 // java.util.jar.JarEntry entry
        end local 0 // org.jruby.util.JarCache$JarIndex this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0   this  Lorg/jruby/util/JarCache$JarIndex;
            0    1     1  entry  Ljava/util/jar/JarEntry;
    Exceptions:
      throws java.io.IOException, java.lang.IllegalStateException
    MethodParameters:
       Name  Flags
      entry  

  public void release();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.util.JarCache$JarIndex this
         0: .line 103
            aload 0 /* this */
            getfield org.jruby.util.JarCache$JarIndex.jar:Ljava/util/jar/JarFile;
            invokevirtual java.util.jar.JarFile.close:()V
         1: .line 104
            goto 3
      StackMap locals:
      StackMap stack: java.io.IOException
         2: pop
         3: .line 105
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.jruby.util.JarCache$JarIndex this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/jruby/util/JarCache$JarIndex;
      Exception table:
        from    to  target  type
           0     1       2  Class java.io.IOException

  public boolean isValid();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // org.jruby.util.JarCache$JarIndex this
         0: .line 108
            new java.io.File
            dup
            aload 0 /* this */
            getfield org.jruby.util.JarCache$JarIndex.jar:Ljava/util/jar/JarFile;
            invokevirtual java.util.jar.JarFile.getName:()Ljava/lang/String;
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            invokevirtual java.io.File.lastModified:()J
            aload 0 /* this */
            getfield org.jruby.util.JarCache$JarIndex.snapshotCalculated:J
            lcmp
            ifgt 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // org.jruby.util.JarCache$JarIndex this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/jruby/util/JarCache$JarIndex;

  private static java.lang.String canonicalJarPath(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // java.lang.String path
         0: .line 112
            aload 0 /* path */
            invokestatic org.jruby.RubyFile.canonicalize:(Ljava/lang/String;)Ljava/lang/String;
            astore 1 /* canonical */
        start local 1 // java.lang.String canonical
         1: .line 117
            aload 1 /* canonical */
            ldc "/"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 3
            aload 0 /* path */
            ldc "/"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifne 3
         2: .line 118
            aload 1 /* canonical */
            iconst_1
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            astore 1 /* canonical */
         3: .line 121
      StackMap locals: java.lang.String
      StackMap stack:
            aload 1 /* canonical */
            areturn
        end local 1 // java.lang.String canonical
        end local 0 // java.lang.String path
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    4     0       path  Ljava/lang/String;
            1    4     1  canonical  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      path  
}
SourceFile: "JarCache.java"
NestHost: org.jruby.util.JarCache
InnerClasses:
  public abstract Entry = java.util.Map$Entry of java.util.Map
  JarIndex = org.jruby.util.JarCache$JarIndex of org.jruby.util.JarCache