public abstract class org.aspectj.weaver.tools.cache.AbstractFileCacheBacking extends org.aspectj.weaver.tools.cache.AbstractCacheBacking
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.aspectj.weaver.tools.cache.AbstractFileCacheBacking
super_class: org.aspectj.weaver.tools.cache.AbstractCacheBacking
{
public static final java.lang.String WEAVED_CLASS_CACHE_DIR;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "aj.weaving.cache.dir"
private final java.io.File cacheDirectory;
descriptor: Ljava/io/File;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected void <init>(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.aspectj.weaver.tools.cache.AbstractCacheBacking.<init>:()V
1: aload 0
aload 1
dup_x1
putfield org.aspectj.weaver.tools.cache.AbstractFileCacheBacking.cacheDirectory:Ljava/io/File;
ifnonnull 3
2: new java.lang.IllegalStateException
dup
ldc "No cache directory specified"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.aspectj.weaver.tools.cache.AbstractFileCacheBacking java.io.File
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/aspectj/weaver/tools/cache/AbstractFileCacheBacking;
0 4 1 cacheDirectory Ljava/io/File;
MethodParameters:
Name Flags
cacheDirectory
public java.io.File getCacheDirectory();
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.AbstractFileCacheBacking.cacheDirectory:Ljava/io/File;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/aspectj/weaver/tools/cache/AbstractFileCacheBacking;
protected void writeClassBytes(java.lang.String, byte[]);
descriptor: (Ljava/lang/String;[B)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.aspectj.weaver.tools.cache.AbstractFileCacheBacking.getCacheDirectory:()Ljava/io/File;
astore 3
start local 3 1: new java.io.File
dup
aload 3
aload 1
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 4
start local 4 2: new java.io.FileOutputStream
dup
aload 4
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
astore 5
start local 5 3: aload 5
aload 2
invokevirtual java.io.FileOutputStream.write:([B)V
4: goto 8
StackMap locals: org.aspectj.weaver.tools.cache.AbstractFileCacheBacking java.lang.String byte[] java.io.File java.io.File java.io.FileOutputStream
StackMap stack: java.lang.Throwable
5: astore 6
6: aload 0
aload 5
aload 4
invokevirtual org.aspectj.weaver.tools.cache.AbstractFileCacheBacking.close:(Ljava/io/OutputStream;Ljava/io/File;)V
7: aload 6
athrow
8: StackMap locals:
StackMap stack:
aload 0
aload 5
aload 4
invokevirtual org.aspectj.weaver.tools.cache.AbstractFileCacheBacking.close:(Ljava/io/OutputStream;Ljava/io/File;)V
9: return
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 10 0 this Lorg/aspectj/weaver/tools/cache/AbstractFileCacheBacking;
0 10 1 key Ljava/lang/String;
0 10 2 bytes [B
1 10 3 dir Ljava/io/File;
2 10 4 file Ljava/io/File;
3 10 5 out Ljava/io/FileOutputStream;
Exception table:
from to target type
3 5 5 any
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
key
bytes
protected void delete(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.File.exists:()Z
ifeq 3
aload 1
invokevirtual java.io.File.delete:()Z
ifne 3
1: aload 0
getfield org.aspectj.weaver.tools.cache.AbstractFileCacheBacking.logger:Lorg/aspectj/weaver/tools/Trace;
ifnull 3
aload 0
getfield org.aspectj.weaver.tools.cache.AbstractFileCacheBacking.logger:Lorg/aspectj/weaver/tools/Trace;
invokeinterface org.aspectj.weaver.tools.Trace.isTraceEnabled:()Z
ifeq 3
2: aload 0
getfield org.aspectj.weaver.tools.cache.AbstractFileCacheBacking.logger:Lorg/aspectj/weaver/tools/Trace;
new java.lang.StringBuilder
dup
ldc "Error deleting file "
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;
invokeinterface org.aspectj.weaver.tools.Trace.error:(Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/aspectj/weaver/tools/cache/AbstractFileCacheBacking;
0 4 1 file Ljava/io/File;
MethodParameters:
Name Flags
file
protected void close(java.io.OutputStream, java.io.File);
descriptor: (Ljava/io/OutputStream;Ljava/io/File;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 9
1: aload 1
invokevirtual java.io.OutputStream.close:()V
2: goto 9
StackMap locals:
StackMap stack: java.io.IOException
3: astore 3
start local 3 4: aload 0
getfield org.aspectj.weaver.tools.cache.AbstractFileCacheBacking.logger:Lorg/aspectj/weaver/tools/Trace;
ifnull 9
aload 0
getfield org.aspectj.weaver.tools.cache.AbstractFileCacheBacking.logger:Lorg/aspectj/weaver/tools/Trace;
invokeinterface org.aspectj.weaver.tools.Trace.isTraceEnabled:()Z
ifeq 9
5: aload 0
getfield org.aspectj.weaver.tools.cache.AbstractFileCacheBacking.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;
6: ldc " to close write file "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.io.IOException.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
8: invokeinterface org.aspectj.weaver.tools.Trace.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 3 9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/aspectj/weaver/tools/cache/AbstractFileCacheBacking;
0 10 1 out Ljava/io/OutputStream;
0 10 2 file Ljava/io/File;
4 9 3 e Ljava/io/IOException;
Exception table:
from to target type
1 2 3 Class java.io.IOException
MethodParameters:
Name Flags
out
file
protected void close(java.io.InputStream, java.io.File);
descriptor: (Ljava/io/InputStream;Ljava/io/File;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 9
1: aload 1
invokevirtual java.io.InputStream.close:()V
2: goto 9
StackMap locals:
StackMap stack: java.io.IOException
3: astore 3
start local 3 4: aload 0
getfield org.aspectj.weaver.tools.cache.AbstractFileCacheBacking.logger:Lorg/aspectj/weaver/tools/Trace;
ifnull 9
aload 0
getfield org.aspectj.weaver.tools.cache.AbstractFileCacheBacking.logger:Lorg/aspectj/weaver/tools/Trace;
invokeinterface org.aspectj.weaver.tools.Trace.isTraceEnabled:()Z
ifeq 9
5: aload 0
getfield org.aspectj.weaver.tools.cache.AbstractFileCacheBacking.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;
6: ldc " to close read file "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.io.IOException.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
8: invokeinterface org.aspectj.weaver.tools.Trace.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 3 9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/aspectj/weaver/tools/cache/AbstractFileCacheBacking;
0 10 1 in Ljava/io/InputStream;
0 10 2 file Ljava/io/File;
4 9 3 e Ljava/io/IOException;
Exception table:
from to target type
1 2 3 Class java.io.IOException
MethodParameters:
Name Flags
in
file
}
SourceFile: "AbstractFileCacheBacking.java"