public abstract class org.aspectj.weaver.tools.TraceFactory
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.aspectj.weaver.tools.TraceFactory
super_class: java.lang.Object
{
public static final java.lang.String DEBUG_PROPERTY;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "org.aspectj.tracing.debug"
public static final java.lang.String FACTORY_PROPERTY;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "org.aspectj.tracing.factory"
public static final java.lang.String DEFAULT_FACTORY_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "default"
protected static boolean debug;
descriptor: Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
private static org.aspectj.weaver.tools.TraceFactory instance;
descriptor: Lorg/aspectj/weaver/tools/TraceFactory;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=0
0: ldc "org.aspectj.tracing.debug"
iconst_0
invokestatic org.aspectj.weaver.tools.TraceFactory.getBoolean:(Ljava/lang/String;Z)Z
putstatic org.aspectj.weaver.tools.TraceFactory.debug:Z
1: ldc "org.aspectj.tracing.factory"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 2: aload 0
ifnull 11
3: aload 0
ldc "default"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
4: new org.aspectj.weaver.tools.DefaultTraceFactory
dup
invokespecial org.aspectj.weaver.tools.DefaultTraceFactory.<init>:()V
putstatic org.aspectj.weaver.tools.TraceFactory.instance:Lorg/aspectj/weaver/tools/TraceFactory;
5: goto 11
6: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 1
start local 1 7: aload 1
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast org.aspectj.weaver.tools.TraceFactory
putstatic org.aspectj.weaver.tools.TraceFactory.instance:Lorg/aspectj/weaver/tools/TraceFactory;
end local 1 8: goto 11
9: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
start local 1 10: getstatic org.aspectj.weaver.tools.TraceFactory.debug:Z
ifeq 11
aload 1
invokevirtual java.lang.Throwable.printStackTrace:()V
end local 1 11: StackMap locals:
StackMap stack:
getstatic org.aspectj.weaver.tools.TraceFactory.instance:Lorg/aspectj/weaver/tools/TraceFactory;
ifnonnull 21
12: invokestatic org.aspectj.util.LangUtil.is15VMOrGreater:()Z
ifeq 16
13: ldc "org.aspectj.weaver.tools.Jdk14TraceFactory"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 1
start local 1 14: aload 1
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast org.aspectj.weaver.tools.TraceFactory
putstatic org.aspectj.weaver.tools.TraceFactory.instance:Lorg/aspectj/weaver/tools/TraceFactory;
end local 1 15: goto 21
16: StackMap locals:
StackMap stack:
ldc "org.aspectj.weaver.tools.CommonsTraceFactory"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 1
start local 1 17: aload 1
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast org.aspectj.weaver.tools.TraceFactory
putstatic org.aspectj.weaver.tools.TraceFactory.instance:Lorg/aspectj/weaver/tools/TraceFactory;
end local 1 18: goto 21
19: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
start local 1 20: getstatic org.aspectj.weaver.tools.TraceFactory.debug:Z
ifeq 21
aload 1
invokevirtual java.lang.Throwable.printStackTrace:()V
end local 1 21: StackMap locals:
StackMap stack:
getstatic org.aspectj.weaver.tools.TraceFactory.instance:Lorg/aspectj/weaver/tools/TraceFactory;
ifnonnull 23
22: new org.aspectj.weaver.tools.DefaultTraceFactory
dup
invokespecial org.aspectj.weaver.tools.DefaultTraceFactory.<init>:()V
putstatic org.aspectj.weaver.tools.TraceFactory.instance:Lorg/aspectj/weaver/tools/TraceFactory;
23: StackMap locals:
StackMap stack:
getstatic org.aspectj.weaver.tools.TraceFactory.debug:Z
ifeq 24
getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "TraceFactory.instance="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic org.aspectj.weaver.tools.TraceFactory.instance:Lorg/aspectj/weaver/tools/TraceFactory;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 0 24: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
2 24 0 factoryName Ljava/lang/String;
7 8 1 factoryClass Ljava/lang/Class;
10 11 1 th Ljava/lang/Throwable;
14 15 1 factoryClass Ljava/lang/Class;
17 18 1 factoryClass Ljava/lang/Class;
20 21 1 th Ljava/lang/Throwable;
Exception table:
from to target type
3 8 9 Class java.lang.Throwable
12 18 19 Class java.lang.Throwable
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/aspectj/weaver/tools/TraceFactory;
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=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.aspectj.weaver.tools.TraceFactory.instance:Lorg/aspectj/weaver/tools/TraceFactory;
aload 1
invokevirtual org.aspectj.weaver.tools.TraceFactory.getTrace:(Ljava/lang/Class;)Lorg/aspectj/weaver/tools/Trace;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/aspectj/weaver/tools/TraceFactory;
0 1 1 clazz Ljava/lang/Class;
MethodParameters:
Name Flags
clazz
public static org.aspectj.weaver.tools.TraceFactory getTraceFactory();
descriptor: ()Lorg/aspectj/weaver/tools/TraceFactory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.aspectj.weaver.tools.TraceFactory.instance:Lorg/aspectj/weaver/tools/TraceFactory;
areturn
LocalVariableTable:
Start End Slot Name Signature
protected static boolean getBoolean(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: iload 1
invokestatic java.lang.String.valueOf:(Z)Ljava/lang/String;
astore 2
start local 2 1: aload 0
aload 2
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 2: aload 3
invokestatic java.lang.Boolean.valueOf:(Ljava/lang/String;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 name Ljava/lang/String;
0 3 1 def Z
1 3 2 defaultValue Ljava/lang/String;
2 3 3 value Ljava/lang/String;
MethodParameters:
Name Flags
name
def
}
SourceFile: "TraceFactory.java"