public class ch.qos.logback.core.sift.AppenderTracker<E> extends ch.qos.logback.core.spi.AbstractComponentTracker<ch.qos.logback.core.Appender<E>>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: ch.qos.logback.core.sift.AppenderTracker
super_class: ch.qos.logback.core.spi.AbstractComponentTracker
{
int nopaWarningCount;
descriptor: I
flags: (0x0000)
final ch.qos.logback.core.Context context;
descriptor: Lch/qos/logback/core/Context;
flags: (0x0010) ACC_FINAL
final ch.qos.logback.core.sift.AppenderFactory<E> appenderFactory;
descriptor: Lch/qos/logback/core/sift/AppenderFactory;
flags: (0x0010) ACC_FINAL
Signature: Lch/qos/logback/core/sift/AppenderFactory<TE;>;
final ch.qos.logback.core.spi.ContextAwareImpl contextAware;
descriptor: Lch/qos/logback/core/spi/ContextAwareImpl;
flags: (0x0010) ACC_FINAL
public void <init>(ch.qos.logback.core.Context, ch.qos.logback.core.sift.AppenderFactory<E>);
descriptor: (Lch/qos/logback/core/Context;Lch/qos/logback/core/sift/AppenderFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial ch.qos.logback.core.spi.AbstractComponentTracker.<init>:()V
1: aload 0
iconst_0
putfield ch.qos.logback.core.sift.AppenderTracker.nopaWarningCount:I
2: aload 0
aload 1
putfield ch.qos.logback.core.sift.AppenderTracker.context:Lch/qos/logback/core/Context;
3: aload 0
aload 2
putfield ch.qos.logback.core.sift.AppenderTracker.appenderFactory:Lch/qos/logback/core/sift/AppenderFactory;
4: aload 0
new ch.qos.logback.core.spi.ContextAwareImpl
dup
aload 1
aload 0
invokespecial ch.qos.logback.core.spi.ContextAwareImpl.<init>:(Lch/qos/logback/core/Context;Ljava/lang/Object;)V
putfield ch.qos.logback.core.sift.AppenderTracker.contextAware:Lch/qos/logback/core/spi/ContextAwareImpl;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lch/qos/logback/core/sift/AppenderTracker<TE;>;
0 6 1 context Lch/qos/logback/core/Context;
0 6 2 appenderFactory Lch/qos/logback/core/sift/AppenderFactory<TE;>;
Signature: (Lch/qos/logback/core/Context;Lch/qos/logback/core/sift/AppenderFactory<TE;>;)V
MethodParameters:
Name Flags
context
appenderFactory
protected void processPriorToRemoval(ch.qos.logback.core.Appender<E>);
descriptor: (Lch/qos/logback/core/Appender;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface ch.qos.logback.core.Appender.stop:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/sift/AppenderTracker<TE;>;
0 2 1 component Lch/qos/logback/core/Appender<TE;>;
Signature: (Lch/qos/logback/core/Appender<TE;>;)V
MethodParameters:
Name Flags
component
protected ch.qos.logback.core.Appender<E> buildComponent(java.lang.String);
descriptor: (Ljava/lang/String;)Lch/qos/logback/core/Appender;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
getfield ch.qos.logback.core.sift.AppenderTracker.appenderFactory:Lch/qos/logback/core/sift/AppenderFactory;
aload 0
getfield ch.qos.logback.core.sift.AppenderTracker.context:Lch/qos/logback/core/Context;
aload 1
invokeinterface ch.qos.logback.core.sift.AppenderFactory.buildAppender:(Lch/qos/logback/core/Context;Ljava/lang/String;)Lch/qos/logback/core/Appender;
astore 2
2: goto 5
StackMap locals: ch.qos.logback.core.sift.AppenderTracker java.lang.String ch.qos.logback.core.Appender
StackMap stack: ch.qos.logback.core.joran.spi.JoranException
3: pop
4: aload 0
getfield ch.qos.logback.core.sift.AppenderTracker.contextAware:Lch/qos/logback/core/spi/ContextAwareImpl;
new java.lang.StringBuilder
dup
ldc "Error while building appender with discriminating value ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual ch.qos.logback.core.spi.ContextAwareImpl.addError:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
aload 2
ifnonnull 7
6: aload 0
aload 1
invokevirtual ch.qos.logback.core.sift.AppenderTracker.buildNOPAppender:(Ljava/lang/String;)Lch/qos/logback/core/helpers/NOPAppender;
astore 2
7: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lch/qos/logback/core/sift/AppenderTracker<TE;>;
0 8 1 key Ljava/lang/String;
1 8 2 appender Lch/qos/logback/core/Appender<TE;>;
Exception table:
from to target type
1 2 3 Class ch.qos.logback.core.joran.spi.JoranException
Signature: (Ljava/lang/String;)Lch/qos/logback/core/Appender<TE;>;
MethodParameters:
Name Flags
key
private ch.qos.logback.core.helpers.NOPAppender<E> buildNOPAppender(java.lang.String);
descriptor: (Ljava/lang/String;)Lch/qos/logback/core/helpers/NOPAppender;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield ch.qos.logback.core.sift.AppenderTracker.nopaWarningCount:I
iconst_4
if_icmpge 3
1: aload 0
dup
getfield ch.qos.logback.core.sift.AppenderTracker.nopaWarningCount:I
iconst_1
iadd
putfield ch.qos.logback.core.sift.AppenderTracker.nopaWarningCount:I
2: aload 0
getfield ch.qos.logback.core.sift.AppenderTracker.contextAware:Lch/qos/logback/core/spi/ContextAwareImpl;
new java.lang.StringBuilder
dup
ldc "Building NOPAppender for discriminating value ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual ch.qos.logback.core.spi.ContextAwareImpl.addError:(Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
new ch.qos.logback.core.helpers.NOPAppender
dup
invokespecial ch.qos.logback.core.helpers.NOPAppender.<init>:()V
astore 2
start local 2 4: aload 2
aload 0
getfield ch.qos.logback.core.sift.AppenderTracker.context:Lch/qos/logback/core/Context;
invokevirtual ch.qos.logback.core.helpers.NOPAppender.setContext:(Lch/qos/logback/core/Context;)V
5: aload 2
invokevirtual ch.qos.logback.core.helpers.NOPAppender.start:()V
6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lch/qos/logback/core/sift/AppenderTracker<TE;>;
0 7 1 key Ljava/lang/String;
4 7 2 nopa Lch/qos/logback/core/helpers/NOPAppender<TE;>;
Signature: (Ljava/lang/String;)Lch/qos/logback/core/helpers/NOPAppender<TE;>;
MethodParameters:
Name Flags
key
protected boolean isComponentStale(ch.qos.logback.core.Appender<E>);
descriptor: (Lch/qos/logback/core/Appender;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface ch.qos.logback.core.Appender.isStarted:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lch/qos/logback/core/sift/AppenderTracker<TE;>;
0 3 1 appender Lch/qos/logback/core/Appender<TE;>;
Signature: (Lch/qos/logback/core/Appender<TE;>;)Z
MethodParameters:
Name Flags
appender
protected java.lang.Object buildComponent(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual ch.qos.logback.core.sift.AppenderTracker.buildComponent:(Ljava/lang/String;)Lch/qos/logback/core/Appender;
areturn
LocalVariableTable:
Start End Slot Name Signature
protected boolean isComponentStale(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast ch.qos.logback.core.Appender
invokevirtual ch.qos.logback.core.sift.AppenderTracker.isComponentStale:(Lch/qos/logback/core/Appender;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
protected void processPriorToRemoval(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast ch.qos.logback.core.Appender
invokevirtual ch.qos.logback.core.sift.AppenderTracker.processPriorToRemoval:(Lch/qos/logback/core/Appender;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <E:Ljava/lang/Object;>Lch/qos/logback/core/spi/AbstractComponentTracker<Lch/qos/logback/core/Appender<TE;>;>;
SourceFile: "AppenderTracker.java"