public class ch.qos.logback.classic.joran.action.LevelAction 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.LevelAction
super_class: ch.qos.logback.core.joran.action.Action
{
boolean inError;
descriptor: Z
flags: (0x0000)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial ch.qos.logback.core.joran.action.Action.<init>:()V
1: aload 0
iconst_0
putfield ch.qos.logback.classic.joran.action.LevelAction.inError:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lch/qos/logback/classic/joran/action/LevelAction;
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=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual ch.qos.logback.core.joran.spi.InterpretationContext.peekObject:()Ljava/lang/Object;
astore 4
start local 4 1: aload 4
instanceof ch.qos.logback.classic.Logger
ifne 5
2: aload 0
iconst_1
putfield ch.qos.logback.classic.joran.action.LevelAction.inError:Z
3: aload 0
ldc "For element <level>, could not find a logger at the top of execution stack."
invokevirtual ch.qos.logback.classic.joran.action.LevelAction.addError:(Ljava/lang/String;)V
4: return
5: StackMap locals: java.lang.Object
StackMap stack:
aload 4
checkcast ch.qos.logback.classic.Logger
astore 5
start local 5 6: aload 5
invokevirtual ch.qos.logback.classic.Logger.getName:()Ljava/lang/String;
astore 6
start local 6 7: aload 1
aload 3
ldc "value"
invokeinterface org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual ch.qos.logback.core.joran.spi.InterpretationContext.subst:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 8: ldc "INHERITED"
aload 7
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 9
ldc "NULL"
aload 7
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 11
9: StackMap locals: ch.qos.logback.classic.Logger java.lang.String java.lang.String
StackMap stack:
aload 5
aconst_null
invokevirtual ch.qos.logback.classic.Logger.setLevel:(Lch/qos/logback/classic/Level;)V
10: goto 12
11: StackMap locals:
StackMap stack:
aload 5
aload 7
getstatic ch.qos.logback.classic.Level.DEBUG:Lch/qos/logback/classic/Level;
invokestatic ch.qos.logback.classic.Level.toLevel:(Ljava/lang/String;Lch/qos/logback/classic/Level;)Lch/qos/logback/classic/Level;
invokevirtual ch.qos.logback.classic.Logger.setLevel:(Lch/qos/logback/classic/Level;)V
12: StackMap locals:
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
aload 6
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " level set to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual ch.qos.logback.classic.Logger.getLevel:()Lch/qos/logback/classic/Level;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual ch.qos.logback.classic.joran.action.LevelAction.addInfo:(Ljava/lang/String;)V
13: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lch/qos/logback/classic/joran/action/LevelAction;
0 14 1 ec Lch/qos/logback/core/joran/spi/InterpretationContext;
0 14 2 name Ljava/lang/String;
0 14 3 attributes Lorg/xml/sax/Attributes;
1 14 4 o Ljava/lang/Object;
6 14 5 l Lch/qos/logback/classic/Logger;
7 14 6 loggerName Ljava/lang/String;
8 14 7 levelStr Ljava/lang/String;
MethodParameters:
Name Flags
ec
name
attributes
public void finish(ch.qos.logback.core.joran.spi.InterpretationContext);
descriptor: (Lch/qos/logback/core/joran/spi/InterpretationContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/classic/joran/action/LevelAction;
0 1 1 ec Lch/qos/logback/core/joran/spi/InterpretationContext;
MethodParameters:
Name Flags
ec
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=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/classic/joran/action/LevelAction;
0 1 1 ec Lch/qos/logback/core/joran/spi/InterpretationContext;
0 1 2 e Ljava/lang/String;
MethodParameters:
Name Flags
ec
e
}
SourceFile: "LevelAction.java"