public class org.aspectj.weaver.tools.cache.DefaultFileCacheBacking extends org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.aspectj.weaver.tools.cache.DefaultFileCacheBacking
super_class: org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking
{
private final java.util.Map<java.lang.String, org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry> index;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;>;
private static final java.lang.Object LOCK;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.LOCK:Ljava/lang/Object;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.<init>:(Ljava/io/File;)V
1: aload 0
aload 0
invokevirtual org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.readIndex:()Ljava/util/Map;
putfield org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.index:Ljava/util/Map;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/aspectj/weaver/tools/cache/DefaultFileCacheBacking;
0 3 1 cacheDir Ljava/io/File;
MethodParameters:
Name Flags
cacheDir
public static final org.aspectj.weaver.tools.cache.DefaultFileCacheBacking createBacking(java.io.File);
descriptor: (Ljava/io/File;)Lorg/aspectj/weaver/tools/cache/DefaultFileCacheBacking;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.io.File.exists:()Z
ifne 4
1: aload 0
invokevirtual java.io.File.mkdirs:()Z
ifne 7
2: new java.lang.StringBuilder
dup
ldc "Unable to create cache directory at "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.io.File.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.aspectj.bridge.MessageUtil.error:(Ljava/lang/String;)Lorg/aspectj/bridge/IMessage;
pop
3: aconst_null
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.io.File.isDirectory:()Z
ifne 7
5: new java.lang.StringBuilder
dup
ldc "Not a cache directory at "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.io.File.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.aspectj.bridge.MessageUtil.error:(Ljava/lang/String;)Lorg/aspectj/bridge/IMessage;
pop
6: aconst_null
areturn
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.io.File.canWrite:()Z
ifne 10
8: new java.lang.StringBuilder
dup
ldc "Cache directory is not writable at "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.io.File.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.aspectj.bridge.MessageUtil.error:(Ljava/lang/String;)Lorg/aspectj/bridge/IMessage;
pop
9: aconst_null
areturn
10: StackMap locals:
StackMap stack:
new org.aspectj.weaver.tools.cache.DefaultFileCacheBacking
dup
aload 0
invokespecial org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.<init>:(Ljava/io/File;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 cacheDir Ljava/io/File;
MethodParameters:
Name Flags
cacheDir
protected java.util.Map<java.lang.String, org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry> getIndex();
descriptor: ()Ljava/util/Map;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.index:Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/aspectj/weaver/tools/cache/DefaultFileCacheBacking;
Signature: ()Ljava/util/Map<Ljava/lang/String;Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;>;
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=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new java.io.File
dup
aload 1
aload 2
getfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry.key:Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 3
start local 3 1: aload 2
getfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry.ignored:Z
ifne 2
aload 3
invokevirtual java.io.File.canRead:()Z
ifeq 3
2: StackMap locals: java.io.File
StackMap stack:
aload 2
areturn
3: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/aspectj/weaver/tools/cache/DefaultFileCacheBacking;
0 4 1 cacheDir Ljava/io/File;
0 4 2 ie Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;
1 4 3 cacheEntry Ljava/io/File;
MethodParameters:
Name Flags
cacheDir
ie
private void removeIndexEntry(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.LOCK:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
getfield org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.index:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
invokevirtual org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.writeIndex:()V
3: aload 2
monitorexit
4: goto 7
StackMap locals: org.aspectj.weaver.tools.cache.DefaultFileCacheBacking java.lang.String java.lang.Object
StackMap stack: java.lang.Throwable
5: aload 2
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/aspectj/weaver/tools/cache/DefaultFileCacheBacking;
0 8 1 key Ljava/lang/String;
Exception table:
from to target type
1 4 5 any
5 6 5 any
MethodParameters:
Name Flags
key
private void addIndexEntry(org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry);
descriptor: (Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.LOCK:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
getfield org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.index:Ljava/util/Map;
aload 1
getfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry.key:Ljava/lang/String;
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
invokevirtual org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.writeIndex:()V
3: aload 2
monitorexit
4: goto 7
StackMap locals: org.aspectj.weaver.tools.cache.DefaultFileCacheBacking org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry java.lang.Object
StackMap stack: java.lang.Throwable
5: aload 2
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/aspectj/weaver/tools/cache/DefaultFileCacheBacking;
0 8 1 ie Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;
Exception table:
from to target type
1 4 5 any
5 6 5 any
MethodParameters:
Name Flags
ie
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=2, locals=2, args_size=1
start local 0 0: getstatic org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.LOCK:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
invokespecial org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.readIndex:()Ljava/util/Map;
aload 1
monitorexit
2: areturn
3: StackMap locals: org.aspectj.weaver.tools.cache.DefaultFileCacheBacking java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/aspectj/weaver/tools/cache/DefaultFileCacheBacking;
Exception table:
from to target type
1 2 3 any
3 4 3 any
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=2, args_size=1
start local 0 0: getstatic org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.LOCK:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
invokespecial org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.writeIndex:()V
2: aload 1
monitorexit
3: goto 6
StackMap locals: org.aspectj.weaver.tools.cache.DefaultFileCacheBacking java.lang.Object
StackMap stack: java.lang.Throwable
4: aload 1
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/aspectj/weaver/tools/cache/DefaultFileCacheBacking;
Exception table:
from to target type
1 3 4 any
4 5 4 any
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.getCacheDirectory:()Ljava/io/File;
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: getstatic org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.LOCK:Ljava/lang/Object;
dup
astore 3
monitorenter
3: aload 1
invokestatic org.aspectj.util.FileUtil.deleteContents:(Ljava/io/File;)I
istore 2
4: aload 3
monitorexit
5: goto 8
StackMap locals: org.aspectj.weaver.tools.cache.DefaultFileCacheBacking java.io.File int java.lang.Object
StackMap stack: java.lang.Throwable
6: aload 3
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
iload 2
ifle 10
aload 0
getfield org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.logger:Lorg/aspectj/weaver/tools/Trace;
ifnull 10
aload 0
getfield org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.logger:Lorg/aspectj/weaver/tools/Trace;
invokeinterface org.aspectj.weaver.tools.Trace.isTraceEnabled:()Z
ifeq 10
9: aload 0
getfield org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.logger:Lorg/aspectj/weaver/tools/Trace;
new java.lang.StringBuilder
dup
ldc "clear("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ") deleted"
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.info:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/aspectj/weaver/tools/cache/DefaultFileCacheBacking;
1 11 1 cacheDir Ljava/io/File;
2 11 2 numDeleted I
Exception table:
from to target type
3 5 6 any
6 7 6 any
public static org.aspectj.weaver.tools.cache.CacheBacking createBacking(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/aspectj/weaver/tools/cache/CacheBacking;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: ldc "aj.weaving.cache.dir"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: java.lang.String
StackMap stack:
new java.io.File
dup
aload 1
aload 0
invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 2
start local 2 4: aload 2
invokestatic org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.createBacking:(Ljava/io/File;)Lorg/aspectj/weaver/tools/cache/DefaultFileCacheBacking;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 scope Ljava/lang/String;
1 5 1 cache Ljava/lang/String;
4 5 2 cacheDir Ljava/io/File;
MethodParameters:
Name Flags
scope
public java.lang.String[] getKeys(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.getCacheDirectory:()Ljava/io/File;
astore 2
start local 2 1: aload 2
new org.aspectj.weaver.tools.cache.DefaultFileCacheBacking$1
dup
aload 0
aload 1
invokespecial org.aspectj.weaver.tools.cache.DefaultFileCacheBacking$1.<init>:(Lorg/aspectj/weaver/tools/cache/DefaultFileCacheBacking;Ljava/lang/String;)V
invokevirtual java.io.File.listFiles:(Ljava/io/FilenameFilter;)[Ljava/io/File;
astore 3
start local 3 2: aload 3
invokestatic org.aspectj.util.LangUtil.isEmpty:([Ljava/lang/Object;)Z
ifeq 4
3: getstatic org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.EMPTY_KEYS:[Ljava/lang/String;
areturn
4: StackMap locals: java.io.File java.io.File[]
StackMap stack:
aload 3
arraylength
anewarray java.lang.String
astore 4
start local 4 5: iconst_0
istore 5
start local 5 6: goto 9
7: StackMap locals: java.lang.String[] int
StackMap stack:
aload 4
iload 5
aload 3
iload 5
aaload
invokevirtual java.io.File.getName:()Ljava/lang/String;
aastore
8: iinc 5 1
StackMap locals:
StackMap stack:
9: iload 5
aload 3
arraylength
if_icmplt 7
end local 5 10: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/aspectj/weaver/tools/cache/DefaultFileCacheBacking;
0 11 1 regex Ljava/lang/String;
1 11 2 cacheDirectory Ljava/io/File;
2 11 3 files [Ljava/io/File;
5 11 4 keys [Ljava/lang/String;
6 10 5 i I
MethodParameters:
Name Flags
regex final
public org.aspectj.weaver.tools.cache.CachedClassEntry get(org.aspectj.weaver.tools.cache.CachedClassReference, byte[]);
descriptor: (Lorg/aspectj/weaver/tools/cache/CachedClassReference;[B)Lorg/aspectj/weaver/tools/cache/CachedClassEntry;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.getCacheDirectory:()Ljava/io/File;
astore 3
start local 3 1: aload 1
invokevirtual org.aspectj.weaver.tools.cache.CachedClassReference.getKey:()Ljava/lang/String;
astore 4
start local 4 2: new java.io.File
dup
aload 3
aload 4
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 5
start local 5 3: aload 0
getfield org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.index:Ljava/util/Map;
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry
astore 6
start local 6 4: aload 6
ifnonnull 7
5: aload 0
aload 5
invokevirtual org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.delete:(Ljava/io/File;)V
6: aconst_null
areturn
7: StackMap locals: org.aspectj.weaver.tools.cache.DefaultFileCacheBacking org.aspectj.weaver.tools.cache.CachedClassReference byte[] java.io.File java.lang.String java.io.File org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry
StackMap stack:
aload 2
invokestatic org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.crc:([B)J
aload 6
getfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry.crcClass:J
lcmp
ifeq 10
8: aload 0
aload 5
invokevirtual org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.delete:(Ljava/io/File;)V
9: aconst_null
areturn
10: StackMap locals:
StackMap stack:
aload 6
getfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry.ignored:Z
ifeq 12
11: new org.aspectj.weaver.tools.cache.CachedClassEntry
dup
aload 1
getstatic org.aspectj.weaver.tools.cache.WeavedClassCache.ZERO_BYTES:[B
getstatic org.aspectj.weaver.tools.cache.CachedClassEntry$EntryType.IGNORED:Lorg/aspectj/weaver/tools/cache/CachedClassEntry$EntryType;
invokespecial org.aspectj.weaver.tools.cache.CachedClassEntry.<init>:(Lorg/aspectj/weaver/tools/cache/CachedClassReference;[BLorg/aspectj/weaver/tools/cache/CachedClassEntry$EntryType;)V
areturn
12: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.io.File.canRead:()Z
ifeq 18
13: aload 0
aload 5
aload 6
getfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry.crcWeaved:J
invokevirtual org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.read:(Ljava/io/File;J)[B
astore 7
start local 7 14: aload 7
ifnull 18
15: aload 6
getfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry.generated:Z
ifne 17
16: new org.aspectj.weaver.tools.cache.CachedClassEntry
dup
aload 1
aload 7
getstatic org.aspectj.weaver.tools.cache.CachedClassEntry$EntryType.WEAVED:Lorg/aspectj/weaver/tools/cache/CachedClassEntry$EntryType;
invokespecial org.aspectj.weaver.tools.cache.CachedClassEntry.<init>:(Lorg/aspectj/weaver/tools/cache/CachedClassReference;[BLorg/aspectj/weaver/tools/cache/CachedClassEntry$EntryType;)V
areturn
17: StackMap locals: byte[]
StackMap stack:
new org.aspectj.weaver.tools.cache.CachedClassEntry
dup
aload 1
aload 7
getstatic org.aspectj.weaver.tools.cache.CachedClassEntry$EntryType.GENERATED:Lorg/aspectj/weaver/tools/cache/CachedClassEntry$EntryType;
invokespecial org.aspectj.weaver.tools.cache.CachedClassEntry.<init>:(Lorg/aspectj/weaver/tools/cache/CachedClassReference;[BLorg/aspectj/weaver/tools/cache/CachedClassEntry$EntryType;)V
areturn
end local 7 18: StackMap locals:
StackMap stack:
aconst_null
areturn
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 19 0 this Lorg/aspectj/weaver/tools/cache/DefaultFileCacheBacking;
0 19 1 ref Lorg/aspectj/weaver/tools/cache/CachedClassReference;
0 19 2 originalBytes [B
1 19 3 cacheDirectory Ljava/io/File;
2 19 4 refKey Ljava/lang/String;
3 19 5 cacheFile Ljava/io/File;
4 19 6 ie Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;
14 18 7 bytes [B
MethodParameters:
Name Flags
ref
originalBytes
public void put(org.aspectj.weaver.tools.cache.CachedClassEntry, byte[]);
descriptor: (Lorg/aspectj/weaver/tools/cache/CachedClassEntry;[B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.getCacheDirectory:()Ljava/io/File;
astore 3
start local 3 1: aload 1
invokevirtual org.aspectj.weaver.tools.cache.CachedClassEntry.getKey:()Ljava/lang/String;
astore 4
start local 4 2: aload 0
getfield org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.index:Ljava/util/Map;
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry
astore 5
start local 5 3: new java.io.File
dup
aload 3
aload 4
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 6
start local 6 4: aload 5
ifnull 9
5: aload 5
getfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry.ignored:Z
aload 1
invokevirtual org.aspectj.weaver.tools.cache.CachedClassEntry.isIgnored:()Z
if_icmpne 6
aload 5
getfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry.generated:Z
aload 1
invokevirtual org.aspectj.weaver.tools.cache.CachedClassEntry.isGenerated:()Z
if_icmpne 6
aload 2
invokestatic org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.crc:([B)J
aload 5
getfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry.crcClass:J
lcmp
ifeq 9
6: StackMap locals: org.aspectj.weaver.tools.cache.DefaultFileCacheBacking org.aspectj.weaver.tools.cache.CachedClassEntry byte[] java.io.File java.lang.String org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry java.io.File
StackMap stack:
aload 0
aload 6
invokevirtual org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.delete:(Ljava/io/File;)V
7: iconst_1
istore 7
start local 7 8: goto 12
end local 7 9: StackMap locals:
StackMap stack:
aload 6
invokevirtual java.io.File.exists:()Z
ifeq 10
iconst_0
goto 11
StackMap locals:
StackMap stack:
10: iconst_1
StackMap locals:
StackMap stack: int
11: istore 7
start local 7 12: StackMap locals: int
StackMap stack:
iload 7
ifeq 17
13: aload 1
aload 2
invokestatic org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.createIndexEntry:(Lorg/aspectj/weaver/tools/cache/CachedClassEntry;[B)Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;
astore 5
14: aload 1
invokevirtual org.aspectj.weaver.tools.cache.CachedClassEntry.isIgnored:()Z
ifne 16
15: aload 5
aload 0
aload 6
aload 1
invokevirtual org.aspectj.weaver.tools.cache.CachedClassEntry.getBytes:()[B
invokevirtual org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.write:(Ljava/io/File;[B)J
putfield org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry.crcWeaved:J
16: StackMap locals:
StackMap stack:
aload 0
aload 5
invokevirtual org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.addIndexEntry:(Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;)V
17: StackMap locals:
StackMap stack:
return
end local 7 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 18 0 this Lorg/aspectj/weaver/tools/cache/DefaultFileCacheBacking;
0 18 1 entry Lorg/aspectj/weaver/tools/cache/CachedClassEntry;
0 18 2 originalBytes [B
1 18 3 cacheDirectory Ljava/io/File;
2 18 4 refKey Ljava/lang/String;
3 18 5 ie Lorg/aspectj/weaver/tools/cache/AbstractIndexedFileCacheBacking$IndexEntry;
4 18 6 cacheFile Ljava/io/File;
8 9 7 writeEntryBytes Z
12 18 7 writeEntryBytes Z
MethodParameters:
Name Flags
entry
originalBytes
public void remove(org.aspectj.weaver.tools.cache.CachedClassReference);
descriptor: (Lorg/aspectj/weaver/tools/cache/CachedClassReference;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.getCacheDirectory:()Ljava/io/File;
astore 2
start local 2 1: aload 1
invokevirtual org.aspectj.weaver.tools.cache.CachedClassReference.getKey:()Ljava/lang/String;
astore 3
start local 3 2: new java.io.File
dup
aload 2
aload 3
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 4
start local 4 3: getstatic org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.LOCK:Ljava/lang/Object;
dup
astore 5
monitorenter
4: aload 0
aload 3
invokevirtual org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.removeIndexEntry:(Ljava/lang/String;)V
5: aload 0
aload 4
invokevirtual org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.delete:(Ljava/io/File;)V
6: aload 5
monitorexit
7: goto 10
StackMap locals: org.aspectj.weaver.tools.cache.DefaultFileCacheBacking org.aspectj.weaver.tools.cache.CachedClassReference java.io.File java.lang.String java.io.File java.lang.Object
StackMap stack: java.lang.Throwable
8: aload 5
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/aspectj/weaver/tools/cache/DefaultFileCacheBacking;
0 11 1 ref Lorg/aspectj/weaver/tools/cache/CachedClassReference;
1 11 2 cacheDirectory Ljava/io/File;
2 11 3 refKey Ljava/lang/String;
3 11 4 cacheFile Ljava/io/File;
Exception table:
from to target type
4 7 8 any
8 9 8 any
MethodParameters:
Name Flags
ref
protected void delete(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.LOCK:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
aload 1
invokespecial org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking.delete:(Ljava/io/File;)V
2: aload 2
monitorexit
3: goto 6
StackMap locals: org.aspectj.weaver.tools.cache.DefaultFileCacheBacking java.io.File java.lang.Object
StackMap stack: java.lang.Throwable
4: aload 2
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/aspectj/weaver/tools/cache/DefaultFileCacheBacking;
0 7 1 file Ljava/io/File;
Exception table:
from to target type
1 3 4 any
4 5 4 any
MethodParameters:
Name Flags
file
protected byte[] read(java.io.File, long);
descriptor: (Ljava/io/File;J)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 4
start local 4 1: getstatic org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.LOCK:Ljava/lang/Object;
dup
astore 5
monitorenter
2: aconst_null
astore 6
start local 6 3: new java.io.FileInputStream
dup
aload 1
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 6
4: aload 6
invokestatic org.aspectj.util.FileUtil.readAsByteArray:(Ljava/io/InputStream;)[B
astore 4
5: goto 16
StackMap locals: org.aspectj.weaver.tools.cache.DefaultFileCacheBacking java.io.File long byte[] java.lang.Object java.io.FileInputStream
StackMap stack: java.lang.Exception
6: astore 7
start local 7 7: aload 0
getfield org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.logger:Lorg/aspectj/weaver/tools/Trace;
ifnull 12
aload 0
getfield org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.logger:Lorg/aspectj/weaver/tools/Trace;
invokeinterface org.aspectj.weaver.tools.Trace.isTraceEnabled:()Z
ifeq 12
8: aload 0
getfield org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.logger:Lorg/aspectj/weaver/tools/Trace;
new java.lang.StringBuilder
dup
ldc "read("
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;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: ldc " failed ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
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 contents: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
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 7
11: invokeinterface org.aspectj.weaver.tools.Trace.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 7 12: StackMap locals:
StackMap stack:
aload 0
aload 6
aload 1
invokevirtual org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.close:(Ljava/io/InputStream;Ljava/io/File;)V
goto 17
13: StackMap locals:
StackMap stack: java.lang.Throwable
astore 8
14: aload 0
aload 6
aload 1
invokevirtual org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.close:(Ljava/io/InputStream;Ljava/io/File;)V
15: aload 8
athrow
16: StackMap locals:
StackMap stack:
aload 0
aload 6
aload 1
invokevirtual org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.close:(Ljava/io/InputStream;Ljava/io/File;)V
17: StackMap locals:
StackMap stack:
aload 4
ifnull 18
aload 4
invokestatic org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.crc:([B)J
lload 2
lcmp
ifeq 21
18: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.delete:(Ljava/io/File;)V
19: aload 5
monitorexit
20: aconst_null
areturn
end local 6 21: StackMap locals:
StackMap stack:
aload 5
monitorexit
22: goto 25
StackMap locals:
StackMap stack: java.lang.Throwable
23: aload 5
monitorexit
24: athrow
25: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/aspectj/weaver/tools/cache/DefaultFileCacheBacking;
0 26 1 file Ljava/io/File;
0 26 2 expectedCRC J
1 26 4 bytes [B
3 21 6 fis Ljava/io/FileInputStream;
7 12 7 e Ljava/lang/Exception;
Exception table:
from to target type
3 5 6 Class java.lang.Exception
3 12 13 any
2 20 23 any
21 22 23 any
23 24 23 any
MethodParameters:
Name Flags
file
expectedCRC
protected long write(java.io.File, byte[]);
descriptor: (Ljava/io/File;[B)J
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.LOCK:Ljava/lang/Object;
dup
astore 3
monitorenter
1: aload 1
invokevirtual java.io.File.exists:()Z
ifeq 4
2: aload 3
monitorexit
3: ldc -1
lreturn
4: StackMap locals: java.lang.Object
StackMap stack:
aconst_null
astore 4
start local 4 5: new java.io.FileOutputStream
dup
aload 1
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
astore 4
6: aload 4
aload 2
invokevirtual java.io.OutputStream.write:([B)V
7: goto 20
StackMap locals: org.aspectj.weaver.tools.cache.DefaultFileCacheBacking java.io.File byte[] java.lang.Object java.io.OutputStream
StackMap stack: java.lang.Exception
8: astore 5
start local 5 9: aload 0
getfield org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.logger:Lorg/aspectj/weaver/tools/Trace;
ifnull 14
aload 0
getfield org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.logger:Lorg/aspectj/weaver/tools/Trace;
invokeinterface org.aspectj.weaver.tools.Trace.isTraceEnabled:()Z
ifeq 14
10: aload 0
getfield org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.logger:Lorg/aspectj/weaver/tools/Trace;
new java.lang.StringBuilder
dup
ldc "write("
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;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: ldc " failed ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
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;
12: ldc " to write contents: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
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 5
13: invokeinterface org.aspectj.weaver.tools.Trace.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
14: StackMap locals: java.lang.Exception
StackMap stack:
aload 0
aload 1
invokevirtual org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.delete:(Ljava/io/File;)V
15: aload 0
aload 4
aload 1
invokevirtual org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.close:(Ljava/io/OutputStream;Ljava/io/File;)V
aload 3
monitorexit
16: ldc -1
lreturn
end local 5 17: StackMap locals: org.aspectj.weaver.tools.cache.DefaultFileCacheBacking java.io.File byte[] java.lang.Object java.io.OutputStream
StackMap stack: java.lang.Throwable
astore 6
18: aload 0
aload 4
aload 1
invokevirtual org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.close:(Ljava/io/OutputStream;Ljava/io/File;)V
19: aload 6
athrow
20: StackMap locals:
StackMap stack:
aload 0
aload 4
aload 1
invokevirtual org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.close:(Ljava/io/OutputStream;Ljava/io/File;)V
21: aload 2
invokestatic org.aspectj.weaver.tools.cache.DefaultFileCacheBacking.crc:([B)J
aload 3
monitorexit
22: lreturn
end local 4 23: StackMap locals: org.aspectj.weaver.tools.cache.DefaultFileCacheBacking java.io.File byte[] java.lang.Object
StackMap stack: java.lang.Throwable
aload 3
monitorexit
24: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/aspectj/weaver/tools/cache/DefaultFileCacheBacking;
0 25 1 file Ljava/io/File;
0 25 2 bytes [B
5 23 4 out Ljava/io/OutputStream;
9 17 5 e Ljava/lang/Exception;
Exception table:
from to target type
5 7 8 Class java.lang.Exception
5 15 17 any
1 3 23 any
4 16 23 any
17 22 23 any
23 24 23 any
MethodParameters:
Name Flags
file
bytes
}
SourceFile: "DefaultFileCacheBacking.java"
NestMembers:
org.aspectj.weaver.tools.cache.DefaultFileCacheBacking$1
InnerClasses:
public IndexEntry = org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking$IndexEntry of org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking
final EntryType = org.aspectj.weaver.tools.cache.CachedClassEntry$EntryType of org.aspectj.weaver.tools.cache.CachedClassEntry
org.aspectj.weaver.tools.cache.DefaultFileCacheBacking$1