public class ch.qos.logback.classic.joran.action.ContextNameAction 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.ContextNameAction
super_class: ch.qos.logback.core.joran.action.Action
{
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/ContextNameAction;
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=0, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: return
end local 3 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/ContextNameAction;
0 1 1 ec Lch/qos/logback/core/joran/spi/InterpretationContext;
0 1 2 name Ljava/lang/String;
0 1 3 attributes Lorg/xml/sax/Attributes;
MethodParameters:
Name Flags
ec
name
attributes
public void body(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=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokevirtual ch.qos.logback.core.joran.spi.InterpretationContext.subst:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 1: aload 0
new java.lang.StringBuilder
dup
ldc "Setting logger context name as ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
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.ContextNameAction.addInfo:(Ljava/lang/String;)V
2: aload 0
getfield ch.qos.logback.classic.joran.action.ContextNameAction.context:Lch/qos/logback/core/Context;
aload 3
invokeinterface ch.qos.logback.core.Context.setName:(Ljava/lang/String;)V
3: goto 6
StackMap locals: ch.qos.logback.classic.joran.action.ContextNameAction ch.qos.logback.core.joran.spi.InterpretationContext java.lang.String java.lang.String
StackMap stack: java.lang.IllegalStateException
4: astore 4
start local 4 5: aload 0
new java.lang.StringBuilder
dup
ldc "Failed to rename context ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield ch.qos.logback.classic.joran.action.ContextNameAction.context:Lch/qos/logback/core/Context;
invokeinterface ch.qos.logback.core.Context.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] as ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
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 4
invokevirtual ch.qos.logback.classic.joran.action.ContextNameAction.addError:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 4 6: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lch/qos/logback/classic/joran/action/ContextNameAction;
0 7 1 ec Lch/qos/logback/core/joran/spi/InterpretationContext;
0 7 2 body Ljava/lang/String;
1 7 3 finalBody Ljava/lang/String;
5 6 4 e Ljava/lang/IllegalStateException;
Exception table:
from to target type
2 3 4 Class java.lang.IllegalStateException
MethodParameters:
Name Flags
ec
body
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/ContextNameAction;
0 1 1 ec Lch/qos/logback/core/joran/spi/InterpretationContext;
0 1 2 name Ljava/lang/String;
MethodParameters:
Name Flags
ec
name
}
SourceFile: "ContextNameAction.java"