public abstract class ch.qos.logback.core.status.StatusBase implements ch.qos.logback.core.status.Status
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: ch.qos.logback.core.status.StatusBase
super_class: java.lang.Object
{
private static final java.util.List<ch.qos.logback.core.status.Status> EMPTY_LIST;
descriptor: Ljava/util/List;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/List<Lch/qos/logback/core/status/Status;>;
int level;
descriptor: I
flags: (0x0000)
final java.lang.String message;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final java.lang.Object origin;
descriptor: Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
java.util.List<ch.qos.logback.core.status.Status> childrenList;
descriptor: Ljava/util/List;
flags: (0x0000)
Signature: Ljava/util/List<Lch/qos/logback/core/status/Status;>;
java.lang.Throwable throwable;
descriptor: Ljava/lang/Throwable;
flags: (0x0000)
long date;
descriptor: J
flags: (0x0000)
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.util.ArrayList
dup
iconst_0
invokespecial java.util.ArrayList.<init>:(I)V
putstatic ch.qos.logback.core.status.StatusBase.EMPTY_LIST:Ljava/util/List;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(int, java.lang.String, java.lang.Object);
descriptor: (ILjava/lang/String;Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 2
aload 3
aconst_null
invokespecial ch.qos.logback.core.status.StatusBase.<init>:(ILjava/lang/String;Ljava/lang/Object;Ljava/lang/Throwable;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/status/StatusBase;
0 2 1 level I
0 2 2 msg Ljava/lang/String;
0 2 3 origin Ljava/lang/Object;
MethodParameters:
Name Flags
level
msg
origin
void <init>(int, java.lang.String, java.lang.Object, java.lang.Throwable);
descriptor: (ILjava/lang/String;Ljava/lang/Object;Ljava/lang/Throwable;)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield ch.qos.logback.core.status.StatusBase.level:I
2: aload 0
aload 2
putfield ch.qos.logback.core.status.StatusBase.message:Ljava/lang/String;
3: aload 0
aload 3
putfield ch.qos.logback.core.status.StatusBase.origin:Ljava/lang/Object;
4: aload 0
aload 4
putfield ch.qos.logback.core.status.StatusBase.throwable:Ljava/lang/Throwable;
5: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
putfield ch.qos.logback.core.status.StatusBase.date:J
6: return
end local 4 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/core/status/StatusBase;
0 7 1 level I
0 7 2 msg Ljava/lang/String;
0 7 3 origin Ljava/lang/Object;
0 7 4 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
level
msg
origin
t
public synchronized void add(ch.qos.logback.core.status.Status);
descriptor: (Lch/qos/logback/core/status/Status;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "Null values are not valid Status."
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield ch.qos.logback.core.status.StatusBase.childrenList:Ljava/util/List;
ifnonnull 4
3: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield ch.qos.logback.core.status.StatusBase.childrenList:Ljava/util/List;
4: StackMap locals:
StackMap stack:
aload 0
getfield ch.qos.logback.core.status.StatusBase.childrenList:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lch/qos/logback/core/status/StatusBase;
0 6 1 child Lch/qos/logback/core/status/Status;
MethodParameters:
Name Flags
child
public synchronized boolean hasChildren();
descriptor: ()Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.status.StatusBase.childrenList:Ljava/util/List;
ifnull 1
aload 0
getfield ch.qos.logback.core.status.StatusBase.childrenList:Ljava/util/List;
invokeinterface java.util.List.size:()I
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/status/StatusBase;
public synchronized java.util.Iterator<ch.qos.logback.core.status.Status> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.status.StatusBase.childrenList:Ljava/util/List;
ifnull 2
1: aload 0
getfield ch.qos.logback.core.status.StatusBase.childrenList:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
areturn
2: StackMap locals:
StackMap stack:
getstatic ch.qos.logback.core.status.StatusBase.EMPTY_LIST:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lch/qos/logback/core/status/StatusBase;
Signature: ()Ljava/util/Iterator<Lch/qos/logback/core/status/Status;>;
public synchronized boolean remove(ch.qos.logback.core.status.Status);
descriptor: (Lch/qos/logback/core/status/Status;)Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield ch.qos.logback.core.status.StatusBase.childrenList:Ljava/util/List;
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield ch.qos.logback.core.status.StatusBase.childrenList:Ljava/util/List;
aload 1
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lch/qos/logback/core/status/StatusBase;
0 3 1 statusToRemove Lch/qos/logback/core/status/Status;
MethodParameters:
Name Flags
statusToRemove
public int getLevel();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.status.StatusBase.level:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/status/StatusBase;
public synchronized int getEffectiveLevel();
descriptor: ()I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.status.StatusBase.level:I
istore 1
start local 1 1: aload 0
invokevirtual ch.qos.logback.core.status.StatusBase.iterator:()Ljava/util/Iterator;
astore 3
start local 3 2: goto 7
3: StackMap locals: ch.qos.logback.core.status.StatusBase int top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast ch.qos.logback.core.status.Status
astore 4
start local 4 4: aload 4
invokeinterface ch.qos.logback.core.status.Status.getEffectiveLevel:()I
istore 2
start local 2 5: iload 2
iload 1
if_icmple 7
6: iload 2
istore 1
end local 4 end local 2 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: iload 1
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lch/qos/logback/core/status/StatusBase;
1 9 1 result I
5 7 2 effLevel I
2 9 3 it Ljava/util/Iterator<Lch/qos/logback/core/status/Status;>;
4 7 4 s Lch/qos/logback/core/status/Status;
public java.lang.String getMessage();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.status.StatusBase.message:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/status/StatusBase;
public java.lang.Object getOrigin();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.status.StatusBase.origin:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/status/StatusBase;
public java.lang.Throwable getThrowable();
descriptor: ()Ljava/lang/Throwable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.status.StatusBase.throwable:Ljava/lang/Throwable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/status/StatusBase;
public java.lang.Long getDate();
descriptor: ()Ljava/lang/Long;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.status.StatusBase.date:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/status/StatusBase;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 0
invokevirtual ch.qos.logback.core.status.StatusBase.getEffectiveLevel:()I
tableswitch { // 0 - 2
0: 2
1: 4
2: 6
default: 7
}
2: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
ldc "INFO"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: goto 7
4: StackMap locals:
StackMap stack:
aload 1
ldc "WARN"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: goto 7
6: StackMap locals:
StackMap stack:
aload 1
ldc "ERROR"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: StackMap locals:
StackMap stack:
aload 0
getfield ch.qos.logback.core.status.StatusBase.origin:Ljava/lang/Object;
ifnull 11
8: aload 1
ldc " in "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 1
aload 0
getfield ch.qos.logback.core.status.StatusBase.origin:Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
10: aload 1
ldc " -"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: StackMap locals:
StackMap stack:
aload 1
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: aload 1
aload 0
getfield ch.qos.logback.core.status.StatusBase.message:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: aload 0
getfield ch.qos.logback.core.status.StatusBase.throwable:Ljava/lang/Throwable;
ifnull 16
14: aload 1
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: aload 1
aload 0
getfield ch.qos.logback.core.status.StatusBase.throwable:Ljava/lang/Throwable;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
16: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lch/qos/logback/core/status/StatusBase;
1 17 1 buf Ljava/lang/StringBuilder;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield ch.qos.logback.core.status.StatusBase.level:I
iadd
istore 1
2: bipush 31
iload 1
imul
aload 0
getfield ch.qos.logback.core.status.StatusBase.message:Ljava/lang/String;
ifnonnull 3
iconst_0
goto 4
StackMap locals: ch.qos.logback.core.status.StatusBase int
StackMap stack: int
3: aload 0
getfield ch.qos.logback.core.status.StatusBase.message:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
StackMap locals: ch.qos.logback.core.status.StatusBase int
StackMap stack: int int
4: iadd
istore 1
5: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lch/qos/logback/core/status/StatusBase;
1 6 1 result I
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 1
checkcast ch.qos.logback.core.status.StatusBase
astore 2
start local 2 7: aload 0
getfield ch.qos.logback.core.status.StatusBase.level:I
aload 2
getfield ch.qos.logback.core.status.StatusBase.level:I
if_icmpeq 9
8: iconst_0
ireturn
9: StackMap locals: ch.qos.logback.core.status.StatusBase
StackMap stack:
aload 0
getfield ch.qos.logback.core.status.StatusBase.message:Ljava/lang/String;
ifnonnull 12
10: aload 2
getfield ch.qos.logback.core.status.StatusBase.message:Ljava/lang/String;
ifnull 14
11: iconst_0
ireturn
12: StackMap locals:
StackMap stack:
aload 0
getfield ch.qos.logback.core.status.StatusBase.message:Ljava/lang/String;
aload 2
getfield ch.qos.logback.core.status.StatusBase.message:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 14
13: iconst_0
ireturn
14: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lch/qos/logback/core/status/StatusBase;
0 15 1 obj Ljava/lang/Object;
7 15 2 other Lch/qos/logback/core/status/StatusBase;
MethodParameters:
Name Flags
obj
}
SourceFile: "StatusBase.java"