public abstract class org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking extends org.aspectj.weaver.tools.cache.AbstractFileCacheBacking
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking
super_class: org.aspectj.weaver.tools.cache.AbstractFileCacheBacking
{
public static final java.lang.String INDEX_FILE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "cache.idx"
protected static final org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry[] EMPTY_INDEX;
descriptor: [Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected static final java.lang.String[] EMPTY_KEYS;
descriptor: [Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
private final java.io.File indexFile;
descriptor: Ljava/io/File;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
anewarray org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry
putstatic org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.EMPTY_INDEX:[Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;
1: iconst_0
anewarray java.lang.String
putstatic org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.EMPTY_KEYS:[Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.aspectj.weaver.tools.cache.AbstractFileCacheBacking.<init>:(Ljava/io/File;)V
1: aload 0
new java.io.File
dup
aload 1
ldc "cache.idx"
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
putfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.indexFile:Ljava/io/File;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking;
0 3 1 cacheDir Ljava/io/File;
MethodParameters:
Name Flags
cacheDir
public java.io.File getIndexFile();
descriptor: ()Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.indexFile:Ljava/io/File;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking;
public java.lang.String[] getKeys(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.getIndex:()Ljava/util/Map;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
invokeinterface java.util.Map.isEmpty:()Z
ifeq 3
2: StackMap locals: java.util.Map
StackMap stack:
getstatic org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.EMPTY_KEYS:[Ljava/lang/String;
areturn
3: StackMap locals:
StackMap stack:
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 3
start local 3 4: aload 2
dup
astore 4
monitorenter
5: aload 2
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 9
StackMap locals: org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking java.lang.String java.util.Map java.util.Collection java.util.Map top java.util.Iterator
StackMap stack:
6: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 7: aload 5
aload 1
invokevirtual java.lang.String.matches:(Ljava/lang/String;)Z
ifeq 9
8: aload 3
aload 5
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 5 9: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
10: aload 4
monitorexit
11: goto 14
StackMap locals: org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking java.lang.String java.util.Map java.util.Collection java.util.Map
StackMap stack: java.lang.Throwable
12: aload 4
monitorexit
13: athrow
14: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Collection.isEmpty:()Z
ifeq 16
15: getstatic org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.EMPTY_KEYS:[Ljava/lang/String;
areturn
16: StackMap locals:
StackMap stack:
aload 3
aload 3
invokeinterface java.util.Collection.size:()I
anewarray java.lang.String
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking;
0 17 1 regex Ljava/lang/String;
1 17 2 index Ljava/util/Map<Ljava/lang/String;Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;>;
4 17 3 matches Ljava/util/Collection<Ljava/lang/String;>;
7 9 5 key Ljava/lang/String;
Exception table:
from to target type
5 11 12 any
12 13 12 any
MethodParameters:
Name Flags
regex
protected java.util.Map<java.lang.String, org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry> readIndex();
descriptor: ()Ljava/util/Map;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.getCacheDirectory:()Ljava/io/File;
aload 0
invokevirtual org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.getIndexFile:()Ljava/io/File;
invokevirtual org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.readIndex:(Ljava/io/File;Ljava/io/File;)Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking;
Signature: ()Ljava/util/Map<Ljava/lang/String;Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;>;
protected void writeIndex();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.getIndexFile:()Ljava/io/File;
invokevirtual org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.writeIndex:(Ljava/io/File;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking;
protected void writeIndex(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
invokevirtual org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.getIndex:()Ljava/util/Map;
invokevirtual org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.writeIndex:(Ljava/io/File;Ljava/util/Map;)V
1: goto 5
StackMap locals:
StackMap stack: java.lang.Exception
2: astore 2
start local 2 3: aload 0
getfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.logger:Lorg/aspectj/weaver/tools/Trace;
ifnull 5
aload 0
getfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.logger:Lorg/aspectj/weaver/tools/Trace;
invokeinterface org.aspectj.weaver.tools.Trace.isTraceEnabled:()Z
ifeq 5
4: aload 0
getfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.logger:Lorg/aspectj/weaver/tools/Trace;
new java.lang.StringBuilder
dup
ldc "writeIndex("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ") "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()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;
aload 2
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokeinterface org.aspectj.weaver.tools.Trace.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking;
0 6 1 file Ljava/io/File;
3 5 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
MethodParameters:
Name Flags
file
protected abstract java.util.Map<java.lang.String, org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry> getIndex();
descriptor: ()Ljava/util/Map;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: ()Ljava/util/Map<Ljava/lang/String;Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;>;
protected java.util.Map<java.lang.String, org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry> readIndex(java.io.File, java.io.File);
descriptor: (Ljava/io/File;Ljava/io/File;)Ljava/util/Map;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=10, args_size=3
start local 0 start local 1 start local 2 0: new java.util.TreeMap
dup
invokespecial java.util.TreeMap.<init>:()V
astore 3
start local 3 1: aload 0
aload 2
invokevirtual org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.readIndex:(Ljava/io/File;)[Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;
astore 4
start local 4 2: aload 4
invokestatic org.aspectj.util.LangUtil.isEmpty:([Ljava/lang/Object;)Z
ifeq 6
3: aload 0
getfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.logger:Lorg/aspectj/weaver/tools/Trace;
ifnull 5
aload 0
getfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.logger:Lorg/aspectj/weaver/tools/Trace;
invokeinterface org.aspectj.weaver.tools.Trace.isTraceEnabled:()Z
ifeq 5
4: aload 0
getfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.logger:Lorg/aspectj/weaver/tools/Trace;
new java.lang.StringBuilder
dup
ldc "readIndex("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ") no index entries"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.aspectj.weaver.tools.Trace.debug:(Ljava/lang/String;)V
5: StackMap locals: java.util.Map org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry[]
StackMap stack:
aload 3
areturn
6: StackMap locals:
StackMap stack:
aload 4
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 15
StackMap locals: org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking java.io.File java.io.File java.util.Map org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry[] top int int org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry[]
StackMap stack:
7: aload 8
iload 6
aaload
astore 5
start local 5 8: aload 0
aload 1
aload 5
invokevirtual org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.resolveIndexMapEntry:(Ljava/io/File;Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;)Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;
astore 9
start local 9 9: aload 9
ifnull 12
10: aload 3
aload 9
getfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry.key:Ljava/lang/String;
aload 9
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: goto 14
StackMap locals: org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking java.io.File java.io.File java.util.Map org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry[] org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry int int org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry[] org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry
StackMap stack:
12: aload 0
getfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.logger:Lorg/aspectj/weaver/tools/Trace;
ifnull 14
aload 0
getfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.logger:Lorg/aspectj/weaver/tools/Trace;
invokeinterface org.aspectj.weaver.tools.Trace.isTraceEnabled:()Z
ifeq 14
13: aload 0
getfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.logger:Lorg/aspectj/weaver/tools/Trace;
new java.lang.StringBuilder
dup
ldc "readIndex("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ") skip "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
getfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry.key:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.aspectj.weaver.tools.Trace.debug:(Ljava/lang/String;)V
end local 9 end local 5 14: StackMap locals: org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking java.io.File java.io.File java.util.Map org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry[] top int int org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
15: iload 6
iload 7
if_icmplt 7
16: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking;
0 17 1 cacheDir Ljava/io/File;
0 17 2 cacheFile Ljava/io/File;
1 17 3 indexMap Ljava/util/Map<Ljava/lang/String;Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;>;
2 17 4 idxValues [Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;
8 14 5 ie Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;
9 14 9 resEntry Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;
Signature: (Ljava/io/File;Ljava/io/File;)Ljava/util/Map<Ljava/lang/String;Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;>;
MethodParameters:
Name Flags
cacheDir
cacheFile
protected org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry resolveIndexMapEntry(java.io.File, org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry);
descriptor: (Ljava/io/File;Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;)Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking;
0 1 1 cacheDir Ljava/io/File;
0 1 2 ie Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;
MethodParameters:
Name Flags
cacheDir
ie
public org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry[] readIndex(java.io.File);
descriptor: (Ljava/io/File;)[Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.File.canRead:()Z
ifne 2
1: getstatic org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.EMPTY_INDEX:[Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 3: new java.io.ObjectInputStream
dup
new java.io.FileInputStream
dup
aload 1
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
invokespecial java.io.ObjectInputStream.<init>:(Ljava/io/InputStream;)V
astore 2
4: aload 2
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
checkcast org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry[]
astore 5
5: aload 0
aload 2
aload 1
invokevirtual org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.close:(Ljava/io/InputStream;Ljava/io/File;)V
6: aload 5
areturn
7: StackMap locals: org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking java.io.File java.io.ObjectInputStream
StackMap stack: java.lang.Exception
astore 3
start local 3 8: aload 0
getfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.logger:Lorg/aspectj/weaver/tools/Trace;
ifnull 13
aload 0
getfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.logger:Lorg/aspectj/weaver/tools/Trace;
invokeinterface org.aspectj.weaver.tools.Trace.isTraceEnabled:()Z
ifeq 13
9: aload 0
getfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.logger:Lorg/aspectj/weaver/tools/Trace;
new java.lang.StringBuilder
dup
ldc "Failed ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()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;
10: ldc " to read index from "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: ldc " : "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
12: invokeinterface org.aspectj.weaver.tools.Trace.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
13: StackMap locals: java.lang.Exception
StackMap stack:
aload 0
aload 1
invokevirtual org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.delete:(Ljava/io/File;)V
end local 3 14: aload 0
aload 2
aload 1
invokevirtual org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.close:(Ljava/io/InputStream;Ljava/io/File;)V
goto 18
15: StackMap locals: org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking java.io.File java.io.ObjectInputStream
StackMap stack: java.lang.Throwable
astore 4
16: aload 0
aload 2
aload 1
invokevirtual org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.close:(Ljava/io/InputStream;Ljava/io/File;)V
17: aload 4
athrow
18: StackMap locals:
StackMap stack:
getstatic org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.EMPTY_INDEX:[Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking;
0 19 1 indexFile Ljava/io/File;
3 19 2 ois Ljava/io/ObjectInputStream;
8 14 3 e Ljava/lang/Exception;
Exception table:
from to target type
3 5 7 Class java.lang.Exception
3 5 15 any
7 14 15 any
MethodParameters:
Name Flags
indexFile
protected void writeIndex(java.io.File, java.util.Map<java.lang.String, ? extends org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry>);
descriptor: (Ljava/io/File;Ljava/util/Map;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic org.aspectj.util.LangUtil.isEmpty:(Ljava/util/Map;)Z
ifeq 1
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
goto 2
StackMap locals: org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking java.io.File java.util.Map
StackMap stack: org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking java.io.File
1: aload 2
invokeinterface java.util.Map.values:()Ljava/util/Collection;
StackMap locals: org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking java.io.File java.util.Map
StackMap stack: org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking java.io.File java.util.Collection
2: invokevirtual org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.writeIndex:(Ljava/io/File;Ljava/util/Collection;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking;
0 4 1 indexFile Ljava/io/File;
0 4 2 index Ljava/util/Map<Ljava/lang/String;+Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;>;
Exceptions:
throws java.io.IOException
Signature: (Ljava/io/File;Ljava/util/Map<Ljava/lang/String;+Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;>;)V
MethodParameters:
Name Flags
indexFile
index
protected void writeIndex(java.io.File, org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry[]);
descriptor: (Ljava/io/File;[Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;)V
flags: (0x0084) ACC_PROTECTED, ACC_VARARGS
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic org.aspectj.util.LangUtil.isEmpty:([Ljava/lang/Object;)Z
ifeq 1
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
goto 2
StackMap locals: org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking java.io.File org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry[]
StackMap stack: org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking java.io.File
1: aload 2
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
StackMap locals: org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking java.io.File org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry[]
StackMap stack: org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking java.io.File java.util.List
2: invokevirtual org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.writeIndex:(Ljava/io/File;Ljava/util/Collection;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking;
0 4 1 indexFile Ljava/io/File;
0 4 2 entries [Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
indexFile
entries
protected void writeIndex(java.io.File, java.util.Collection<? extends org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry>);
descriptor: (Ljava/io/File;Ljava/util/Collection;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
astore 3
start local 3 1: aload 3
invokevirtual java.io.File.exists:()Z
ifne 3
aload 3
invokevirtual java.io.File.mkdirs:()Z
ifne 3
2: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Failed to create path to "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.io.File
StackMap stack:
aload 2
invokestatic org.aspectj.util.LangUtil.isEmpty:(Ljava/util/Collection;)Z
ifeq 4
iconst_0
goto 5
StackMap locals:
StackMap stack:
4: aload 2
invokeinterface java.util.Collection.size:()I
StackMap locals:
StackMap stack: int
5: istore 4
start local 4 6: iload 4
ifgt 7
aconst_null
goto 8
StackMap locals: int
StackMap stack:
7: aload 2
iload 4
anewarray org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry[]
StackMap locals:
StackMap stack: org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry[]
8: astore 5
start local 5 9: aload 5
invokestatic org.aspectj.util.LangUtil.isEmpty:([Ljava/lang/Object;)Z
ifeq 13
10: aload 1
invokevirtual java.io.File.exists:()Z
ifeq 12
aload 1
invokevirtual java.io.File.delete:()Z
ifne 12
11: new java.io.StreamCorruptedException
dup
new java.lang.StringBuilder
dup
ldc "Failed to clean up index file at "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.StreamCorruptedException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals: org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry[]
StackMap stack:
return
13: StackMap locals:
StackMap stack:
new java.io.ObjectOutputStream
dup
new java.io.BufferedOutputStream
dup
new java.io.FileOutputStream
dup
aload 1
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
sipush 4096
invokespecial java.io.BufferedOutputStream.<init>:(Ljava/io/OutputStream;I)V
invokespecial java.io.ObjectOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 6
start local 6 14: aload 6
aload 5
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
15: goto 19
StackMap locals: org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking java.io.File java.util.Collection java.io.File int org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry[] java.io.ObjectOutputStream
StackMap stack: java.lang.Throwable
16: astore 7
17: aload 0
aload 6
aload 1
invokevirtual org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.close:(Ljava/io/OutputStream;Ljava/io/File;)V
18: aload 7
athrow
19: StackMap locals:
StackMap stack:
aload 0
aload 6
aload 1
invokevirtual org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.close:(Ljava/io/OutputStream;Ljava/io/File;)V
20: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking;
0 21 1 indexFile Ljava/io/File;
0 21 2 entries Ljava/util/Collection<+Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;>;
1 21 3 indexDir Ljava/io/File;
6 21 4 numEntries I
9 21 5 entryValues [Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;
14 21 6 oos Ljava/io/ObjectOutputStream;
Exception table:
from to target type
14 16 16 any
Exceptions:
throws java.io.IOException
Signature: (Ljava/io/File;Ljava/util/Collection<+Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;>;)V
MethodParameters:
Name Flags
indexFile
entries
public static final org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry createIndexEntry(org.aspectj.weaver.tools.cache.CachedClassEntry, byte[]);
descriptor: (Lorg/aspectj/weaver/tools/cache/CachedClassEntry;[B)Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
new org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry
dup
invokespecial org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry.<init>:()V
astore 2
start local 2 3: aload 2
aload 0
invokevirtual org.aspectj.weaver.tools.cache.CachedClassEntry.getKey:()Ljava/lang/String;
putfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry.key:Ljava/lang/String;
4: aload 2
aload 0
invokevirtual org.aspectj.weaver.tools.cache.CachedClassEntry.isGenerated:()Z
putfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry.generated:Z
5: aload 2
aload 0
invokevirtual org.aspectj.weaver.tools.cache.CachedClassEntry.isIgnored:()Z
putfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry.ignored:Z
6: aload 2
aload 1
invokestatic org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.crc:([B)J
putfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry.crcClass:J
7: aload 0
invokevirtual org.aspectj.weaver.tools.cache.CachedClassEntry.isIgnored:()Z
ifne 9
8: aload 2
aload 0
invokevirtual org.aspectj.weaver.tools.cache.CachedClassEntry.getBytes:()[B
invokestatic org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.crc:([B)J
putfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry.crcWeaved:J
9: StackMap locals: org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 classEntry Lorg/aspectj/weaver/tools/cache/CachedClassEntry;
0 10 1 originalBytes [B
3 10 2 indexEntry Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;
MethodParameters:
Name Flags
classEntry
originalBytes
}
SourceFile: "AbstractIndexedFileCacheBacking.java"
NestMembers:
org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry
InnerClasses:
public IndexEntry = org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry of org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking