public class org.aspectj.weaver.tools.DefaultTraceFactory extends org.aspectj.weaver.tools.TraceFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.aspectj.weaver.tools.DefaultTraceFactory
super_class: org.aspectj.weaver.tools.TraceFactory
{
public static final java.lang.String ENABLED_PROPERTY;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "org.aspectj.tracing.enabled"
public static final java.lang.String FILE_PROPERTY;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "org.aspectj.tracing.file"
private boolean tracingEnabled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.io.PrintStream print;
descriptor: Ljava/io/PrintStream;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aload 0
invokespecial org.aspectj.weaver.tools.TraceFactory.<init>:()V
1: aload 0
ldc "org.aspectj.tracing.enabled"
iconst_0
invokestatic org.aspectj.weaver.tools.DefaultTraceFactory.getBoolean:(Ljava/lang/String;Z)Z
putfield org.aspectj.weaver.tools.DefaultTraceFactory.tracingEnabled:Z
2: ldc "org.aspectj.tracing.file"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 3: aload 1
ifnull 9
4: new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 2
start local 2 5: aload 0
new java.io.PrintStream
dup
new java.io.FileOutputStream
dup
aload 2
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;)V
putfield org.aspectj.weaver.tools.DefaultTraceFactory.print:Ljava/io/PrintStream;
6: goto 9
7: StackMap locals: org.aspectj.weaver.tools.DefaultTraceFactory java.lang.String java.io.File
StackMap stack: java.io.IOException
astore 3
start local 3 8: getstatic org.aspectj.weaver.tools.DefaultTraceFactory.debug:Z
ifeq 9
aload 3
invokevirtual java.io.IOException.printStackTrace:()V
end local 3 end local 2 9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/aspectj/weaver/tools/DefaultTraceFactory;
3 10 1 filename Ljava/lang/String;
5 9 2 file Ljava/io/File;
8 9 3 ex Ljava/io/IOException;
Exception table:
from to target type
5 6 7 Class java.io.IOException
public boolean isEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.aspectj.weaver.tools.DefaultTraceFactory.tracingEnabled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/aspectj/weaver/tools/DefaultTraceFactory;
public org.aspectj.weaver.tools.Trace getTrace(java.lang.Class);
descriptor: (Ljava/lang/Class;)Lorg/aspectj/weaver/tools/Trace;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new org.aspectj.weaver.tools.DefaultTrace
dup
aload 1
invokespecial org.aspectj.weaver.tools.DefaultTrace.<init>:(Ljava/lang/Class;)V
astore 2
start local 2 1: aload 2
aload 0
getfield org.aspectj.weaver.tools.DefaultTraceFactory.tracingEnabled:Z
invokevirtual org.aspectj.weaver.tools.DefaultTrace.setTraceEnabled:(Z)V
2: aload 0
getfield org.aspectj.weaver.tools.DefaultTraceFactory.print:Ljava/io/PrintStream;
ifnull 3
aload 2
aload 0
getfield org.aspectj.weaver.tools.DefaultTraceFactory.print:Ljava/io/PrintStream;
invokevirtual org.aspectj.weaver.tools.DefaultTrace.setPrintStream:(Ljava/io/PrintStream;)V
3: StackMap locals: org.aspectj.weaver.tools.DefaultTrace
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/aspectj/weaver/tools/DefaultTraceFactory;
0 4 1 clazz Ljava/lang/Class;
1 4 2 trace Lorg/aspectj/weaver/tools/DefaultTrace;
MethodParameters:
Name Flags
clazz
}
SourceFile: "DefaultTraceFactory.java"