public class ch.qos.logback.classic.joran.action.ReceiverAction extends ch.qos.logback.core.joran.action.Action
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: ch.qos.logback.classic.joran.action.ReceiverAction
super_class: ch.qos.logback.core.joran.action.Action
{
private ch.qos.logback.classic.net.ReceiverBase receiver;
descriptor: Lch/qos/logback/classic/net/ReceiverBase;
flags: (0x0002) ACC_PRIVATE
private boolean inError;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial ch.qos.logback.core.joran.action.Action.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/classic/joran/action/ReceiverAction;
public void begin(ch.qos.logback.core.joran.spi.InterpretationContext, java.lang.String, org.xml.sax.Attributes);
descriptor: (Lch/qos/logback/core/joran/spi/InterpretationContext;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ldc "class"
invokeinterface org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 1: aload 4
invokestatic ch.qos.logback.core.util.OptionHelper.isEmpty:(Ljava/lang/String;)Z
ifeq 5
2: aload 0
new java.lang.StringBuilder
dup
ldc "Missing class name for receiver. Near ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] line "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
aload 1
invokevirtual ch.qos.logback.classic.joran.action.ReceiverAction.getLineNumber:(Lch/qos/logback/core/joran/spi/InterpretationContext;)I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual ch.qos.logback.classic.joran.action.ReceiverAction.addError:(Ljava/lang/String;)V
3: aload 0
iconst_1
putfield ch.qos.logback.classic.joran.action.ReceiverAction.inError:Z
4: return
5: StackMap locals: java.lang.String
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc "About to instantiate receiver of type ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
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.classic.joran.action.ReceiverAction.addInfo:(Ljava/lang/String;)V
6: aload 0
aload 4
ldc Lch/qos/logback/classic/net/ReceiverBase;
aload 0
getfield ch.qos.logback.classic.joran.action.ReceiverAction.context:Lch/qos/logback/core/Context;
invokestatic ch.qos.logback.core.util.OptionHelper.instantiateByClassName:(Ljava/lang/String;Ljava/lang/Class;Lch/qos/logback/core/Context;)Ljava/lang/Object;
checkcast ch.qos.logback.classic.net.ReceiverBase
putfield ch.qos.logback.classic.joran.action.ReceiverAction.receiver:Lch/qos/logback/classic/net/ReceiverBase;
7: aload 0
getfield ch.qos.logback.classic.joran.action.ReceiverAction.receiver:Lch/qos/logback/classic/net/ReceiverBase;
aload 0
getfield ch.qos.logback.classic.joran.action.ReceiverAction.context:Lch/qos/logback/core/Context;
invokevirtual ch.qos.logback.classic.net.ReceiverBase.setContext:(Lch/qos/logback/core/Context;)V
8: aload 1
aload 0
getfield ch.qos.logback.classic.joran.action.ReceiverAction.receiver:Lch/qos/logback/classic/net/ReceiverBase;
invokevirtual ch.qos.logback.core.joran.spi.InterpretationContext.pushObject:(Ljava/lang/Object;)V
9: goto 14
StackMap locals:
StackMap stack: java.lang.Exception
10: astore 5
start local 5 11: aload 0
iconst_1
putfield ch.qos.logback.classic.joran.action.ReceiverAction.inError:Z
12: aload 0
new java.lang.StringBuilder
dup
ldc "Could not create a receiver of type ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
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;
aload 5
invokevirtual ch.qos.logback.classic.joran.action.ReceiverAction.addError:(Ljava/lang/String;Ljava/lang/Throwable;)V
13: new ch.qos.logback.core.joran.spi.ActionException
dup
aload 5
invokespecial ch.qos.logback.core.joran.spi.ActionException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 14: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lch/qos/logback/classic/joran/action/ReceiverAction;
0 15 1 ic Lch/qos/logback/core/joran/spi/InterpretationContext;
0 15 2 name Ljava/lang/String;
0 15 3 attributes Lorg/xml/sax/Attributes;
1 15 4 className Ljava/lang/String;
11 14 5 ex Ljava/lang/Exception;
Exception table:
from to target type
5 9 10 Class java.lang.Exception
Exceptions:
throws ch.qos.logback.core.joran.spi.ActionException
MethodParameters:
Name Flags
ic
name
attributes
public void end(ch.qos.logback.core.joran.spi.InterpretationContext, java.lang.String);
descriptor: (Lch/qos/logback/core/joran/spi/InterpretationContext;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield ch.qos.logback.classic.joran.action.ReceiverAction.inError:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual ch.qos.logback.core.joran.spi.InterpretationContext.getContext:()Lch/qos/logback/core/Context;
aload 0
getfield ch.qos.logback.classic.joran.action.ReceiverAction.receiver:Lch/qos/logback/classic/net/ReceiverBase;
invokeinterface ch.qos.logback.core.Context.register:(Lch/qos/logback/core/spi/LifeCycle;)V
3: aload 0
getfield ch.qos.logback.classic.joran.action.ReceiverAction.receiver:Lch/qos/logback/classic/net/ReceiverBase;
invokevirtual ch.qos.logback.classic.net.ReceiverBase.start:()V
4: aload 1
invokevirtual ch.qos.logback.core.joran.spi.InterpretationContext.peekObject:()Ljava/lang/Object;
astore 3
start local 3 5: aload 3
aload 0
getfield ch.qos.logback.classic.joran.action.ReceiverAction.receiver:Lch/qos/logback/classic/net/ReceiverBase;
if_acmpeq 8
6: aload 0
ldc "The object at the of the stack is not the remote pushed earlier."
invokevirtual ch.qos.logback.classic.joran.action.ReceiverAction.addWarn:(Ljava/lang/String;)V
7: goto 9
8: StackMap locals: java.lang.Object
StackMap stack:
aload 1
invokevirtual ch.qos.logback.core.joran.spi.InterpretationContext.popObject:()Ljava/lang/Object;
pop
9: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lch/qos/logback/classic/joran/action/ReceiverAction;
0 10 1 ic Lch/qos/logback/core/joran/spi/InterpretationContext;
0 10 2 name Ljava/lang/String;
5 10 3 o Ljava/lang/Object;
Exceptions:
throws ch.qos.logback.core.joran.spi.ActionException
MethodParameters:
Name Flags
ic
name
}
SourceFile: "ReceiverAction.java"