public class ch.qos.logback.core.spi.ContextAwareBase implements ch.qos.logback.core.spi.ContextAware
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: ch.qos.logback.core.spi.ContextAwareBase
super_class: java.lang.Object
{
private int noContextWarning;
descriptor: I
flags: (0x0002) ACC_PRIVATE
protected ch.qos.logback.core.Context context;
descriptor: Lch/qos/logback/core/Context;
flags: (0x0004) ACC_PROTECTED
final java.lang.Object declaredOrigin;
descriptor: Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield ch.qos.logback.core.spi.ContextAwareBase.noContextWarning:I
2: aload 0
aload 0
putfield ch.qos.logback.core.spi.ContextAwareBase.declaredOrigin:Ljava/lang/Object;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lch/qos/logback/core/spi/ContextAwareBase;
public void <init>(ch.qos.logback.core.spi.ContextAware);
descriptor: (Lch/qos/logback/core/spi/ContextAware;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield ch.qos.logback.core.spi.ContextAwareBase.noContextWarning:I
2: aload 0
aload 1
putfield ch.qos.logback.core.spi.ContextAwareBase.declaredOrigin:Ljava/lang/Object;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lch/qos/logback/core/spi/ContextAwareBase;
0 4 1 declaredOrigin Lch/qos/logback/core/spi/ContextAware;
MethodParameters:
Name Flags
declaredOrigin
public void setContext(ch.qos.logback.core.Context);
descriptor: (Lch/qos/logback/core/Context;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield ch.qos.logback.core.spi.ContextAwareBase.context:Lch/qos/logback/core/Context;
ifnonnull 3
1: aload 0
aload 1
putfield ch.qos.logback.core.spi.ContextAwareBase.context:Lch/qos/logback/core/Context;
2: goto 5
StackMap locals:
StackMap stack:
3: aload 0
getfield ch.qos.logback.core.spi.ContextAwareBase.context:Lch/qos/logback/core/Context;
aload 1
if_acmpeq 5
4: new java.lang.IllegalStateException
dup
ldc "Context has been already set"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lch/qos/logback/core/spi/ContextAwareBase;
0 6 1 context Lch/qos/logback/core/Context;
MethodParameters:
Name Flags
context
public ch.qos.logback.core.Context getContext();
descriptor: ()Lch/qos/logback/core/Context;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.spi.ContextAwareBase.context:Lch/qos/logback/core/Context;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/spi/ContextAwareBase;
public ch.qos.logback.core.status.StatusManager getStatusManager();
descriptor: ()Lch/qos/logback/core/status/StatusManager;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.spi.ContextAwareBase.context:Lch/qos/logback/core/Context;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield ch.qos.logback.core.spi.ContextAwareBase.context:Lch/qos/logback/core/Context;
invokeinterface ch.qos.logback.core.Context.getStatusManager:()Lch/qos/logback/core/status/StatusManager;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lch/qos/logback/core/spi/ContextAwareBase;
protected java.lang.Object getDeclaredOrigin();
descriptor: ()Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.spi.ContextAwareBase.declaredOrigin:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/spi/ContextAwareBase;
public void addStatus(ch.qos.logback.core.status.Status);
descriptor: (Lch/qos/logback/core/status/Status;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield ch.qos.logback.core.spi.ContextAwareBase.context:Lch/qos/logback/core/Context;
ifnonnull 4
1: aload 0
dup
getfield ch.qos.logback.core.spi.ContextAwareBase.noContextWarning:I
dup_x1
iconst_1
iadd
putfield ch.qos.logback.core.spi.ContextAwareBase.noContextWarning:I
ifne 3
2: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "LOGBACK: No context given for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
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
3: StackMap locals:
StackMap stack:
return
4: StackMap locals:
StackMap stack:
aload 0
getfield ch.qos.logback.core.spi.ContextAwareBase.context:Lch/qos/logback/core/Context;
invokeinterface ch.qos.logback.core.Context.getStatusManager:()Lch/qos/logback/core/status/StatusManager;
astore 2
start local 2 5: aload 2
ifnull 7
6: aload 2
aload 1
invokeinterface ch.qos.logback.core.status.StatusManager.add:(Lch/qos/logback/core/status/Status;)V
7: StackMap locals: ch.qos.logback.core.status.StatusManager
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lch/qos/logback/core/spi/ContextAwareBase;
0 8 1 status Lch/qos/logback/core/status/Status;
5 8 2 sm Lch/qos/logback/core/status/StatusManager;
MethodParameters:
Name Flags
status
public void addInfo(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new ch.qos.logback.core.status.InfoStatus
dup
aload 1
aload 0
invokevirtual ch.qos.logback.core.spi.ContextAwareBase.getDeclaredOrigin:()Ljava/lang/Object;
invokespecial ch.qos.logback.core.status.InfoStatus.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
invokevirtual ch.qos.logback.core.spi.ContextAwareBase.addStatus:(Lch/qos/logback/core/status/Status;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/spi/ContextAwareBase;
0 2 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
public void addInfo(java.lang.String, java.lang.Throwable);
descriptor: (Ljava/lang/String;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
new ch.qos.logback.core.status.InfoStatus
dup
aload 1
aload 0
invokevirtual ch.qos.logback.core.spi.ContextAwareBase.getDeclaredOrigin:()Ljava/lang/Object;
aload 2
invokespecial ch.qos.logback.core.status.InfoStatus.<init>:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Throwable;)V
invokevirtual ch.qos.logback.core.spi.ContextAwareBase.addStatus:(Lch/qos/logback/core/status/Status;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/spi/ContextAwareBase;
0 2 1 msg Ljava/lang/String;
0 2 2 ex Ljava/lang/Throwable;
MethodParameters:
Name Flags
msg
ex
public void addWarn(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new ch.qos.logback.core.status.WarnStatus
dup
aload 1
aload 0
invokevirtual ch.qos.logback.core.spi.ContextAwareBase.getDeclaredOrigin:()Ljava/lang/Object;
invokespecial ch.qos.logback.core.status.WarnStatus.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
invokevirtual ch.qos.logback.core.spi.ContextAwareBase.addStatus:(Lch/qos/logback/core/status/Status;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/spi/ContextAwareBase;
0 2 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
public void addWarn(java.lang.String, java.lang.Throwable);
descriptor: (Ljava/lang/String;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
new ch.qos.logback.core.status.WarnStatus
dup
aload 1
aload 0
invokevirtual ch.qos.logback.core.spi.ContextAwareBase.getDeclaredOrigin:()Ljava/lang/Object;
aload 2
invokespecial ch.qos.logback.core.status.WarnStatus.<init>:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Throwable;)V
invokevirtual ch.qos.logback.core.spi.ContextAwareBase.addStatus:(Lch/qos/logback/core/status/Status;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/spi/ContextAwareBase;
0 2 1 msg Ljava/lang/String;
0 2 2 ex Ljava/lang/Throwable;
MethodParameters:
Name Flags
msg
ex
public void addError(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new ch.qos.logback.core.status.ErrorStatus
dup
aload 1
aload 0
invokevirtual ch.qos.logback.core.spi.ContextAwareBase.getDeclaredOrigin:()Ljava/lang/Object;
invokespecial ch.qos.logback.core.status.ErrorStatus.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
invokevirtual ch.qos.logback.core.spi.ContextAwareBase.addStatus:(Lch/qos/logback/core/status/Status;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/spi/ContextAwareBase;
0 2 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
public void addError(java.lang.String, java.lang.Throwable);
descriptor: (Ljava/lang/String;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
new ch.qos.logback.core.status.ErrorStatus
dup
aload 1
aload 0
invokevirtual ch.qos.logback.core.spi.ContextAwareBase.getDeclaredOrigin:()Ljava/lang/Object;
aload 2
invokespecial ch.qos.logback.core.status.ErrorStatus.<init>:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Throwable;)V
invokevirtual ch.qos.logback.core.spi.ContextAwareBase.addStatus:(Lch/qos/logback/core/status/Status;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/spi/ContextAwareBase;
0 2 1 msg Ljava/lang/String;
0 2 2 ex Ljava/lang/Throwable;
MethodParameters:
Name Flags
msg
ex
}
SourceFile: "ContextAwareBase.java"