public class org.springframework.boot.logging.DeferredLogs implements org.springframework.boot.logging.DeferredLogFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.boot.logging.DeferredLogs
super_class: java.lang.Object
{
private final org.springframework.boot.logging.DeferredLog$Lines lines;
descriptor: Lorg/springframework/boot/logging/DeferredLog$Lines;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<org.springframework.boot.logging.DeferredLog> loggers;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/springframework/boot/logging/DeferredLog;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.springframework.boot.logging.DeferredLog$Lines
dup
invokespecial org.springframework.boot.logging.DeferredLog$Lines.<init>:()V
putfield org.springframework.boot.logging.DeferredLogs.lines:Lorg/springframework/boot/logging/DeferredLog$Lines;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.springframework.boot.logging.DeferredLogs.loggers:Ljava/util/List;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/boot/logging/DeferredLogs;
public org.apache.commons.logging.Log getLog(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokedynamic get(Ljava/lang/Class;)Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
org/springframework/boot/logging/DeferredLogs.lambda$0(Ljava/lang/Class;)Lorg/apache/commons/logging/Log; (6)
()Lorg/apache/commons/logging/Log;
invokevirtual org.springframework.boot.logging.DeferredLogs.getLog:(Ljava/util/function/Supplier;)Lorg/apache/commons/logging/Log;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/logging/DeferredLogs;
0 1 1 destination Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Lorg/apache/commons/logging/Log;
MethodParameters:
Name Flags
destination
public org.apache.commons.logging.Log getLog(org.apache.commons.logging.Log);
descriptor: (Lorg/apache/commons/logging/Log;)Lorg/apache/commons/logging/Log;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokedynamic get(Lorg/apache/commons/logging/Log;)Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
org/springframework/boot/logging/DeferredLogs.lambda$1(Lorg/apache/commons/logging/Log;)Lorg/apache/commons/logging/Log; (6)
()Lorg/apache/commons/logging/Log;
invokevirtual org.springframework.boot.logging.DeferredLogs.getLog:(Ljava/util/function/Supplier;)Lorg/apache/commons/logging/Log;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/logging/DeferredLogs;
0 1 1 destination Lorg/apache/commons/logging/Log;
MethodParameters:
Name Flags
destination
public org.apache.commons.logging.Log getLog(java.util.function.Supplier<org.apache.commons.logging.Log>);
descriptor: (Ljava/util/function/Supplier;)Lorg/apache/commons/logging/Log;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.boot.logging.DeferredLogs.lines:Lorg/springframework/boot/logging/DeferredLog$Lines;
dup
astore 2
monitorenter
1: new org.springframework.boot.logging.DeferredLog
dup
aload 1
aload 0
getfield org.springframework.boot.logging.DeferredLogs.lines:Lorg/springframework/boot/logging/DeferredLog$Lines;
invokespecial org.springframework.boot.logging.DeferredLog.<init>:(Ljava/util/function/Supplier;Lorg/springframework/boot/logging/DeferredLog$Lines;)V
astore 3
start local 3 2: aload 0
getfield org.springframework.boot.logging.DeferredLogs.loggers:Ljava/util/List;
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 3
aload 2
monitorexit
4: areturn
end local 3 5: StackMap locals: org.springframework.boot.logging.DeferredLogs java.util.function.Supplier org.springframework.boot.logging.DeferredLog$Lines
StackMap stack: java.lang.Throwable
aload 2
monitorexit
6: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/boot/logging/DeferredLogs;
0 7 1 destination Ljava/util/function/Supplier<Lorg/apache/commons/logging/Log;>;
2 5 3 logger Lorg/springframework/boot/logging/DeferredLog;
Exception table:
from to target type
1 4 5 any
5 6 5 any
Signature: (Ljava/util/function/Supplier<Lorg/apache/commons/logging/Log;>;)Lorg/apache/commons/logging/Log;
MethodParameters:
Name Flags
destination
public void switchOverAll();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.logging.DeferredLogs.lines:Lorg/springframework/boot/logging/DeferredLog$Lines;
dup
astore 1
monitorenter
1: aload 0
getfield org.springframework.boot.logging.DeferredLogs.lines:Lorg/springframework/boot/logging/DeferredLog$Lines;
invokevirtual org.springframework.boot.logging.DeferredLog$Lines.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.springframework.boot.logging.DeferredLogs org.springframework.boot.logging.DeferredLog$Lines top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.boot.logging.DeferredLog$Line
astore 2
start local 2 3: aload 2
invokevirtual org.springframework.boot.logging.DeferredLog$Line.getDestination:()Lorg/apache/commons/logging/Log;
aload 2
invokevirtual org.springframework.boot.logging.DeferredLog$Line.getLevel:()Lorg/springframework/boot/logging/LogLevel;
aload 2
invokevirtual org.springframework.boot.logging.DeferredLog$Line.getMessage:()Ljava/lang/Object;
aload 2
invokevirtual org.springframework.boot.logging.DeferredLog$Line.getThrowable:()Ljava/lang/Throwable;
invokestatic org.springframework.boot.logging.DeferredLog.logTo:(Lorg/apache/commons/logging/Log;Lorg/springframework/boot/logging/LogLevel;Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 0
getfield org.springframework.boot.logging.DeferredLogs.loggers:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals:
StackMap stack:
6: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.boot.logging.DeferredLog
astore 2
start local 2 7: aload 2
invokevirtual org.springframework.boot.logging.DeferredLog.switchOver:()V
end local 2 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: aload 0
getfield org.springframework.boot.logging.DeferredLogs.lines:Lorg/springframework/boot/logging/DeferredLog$Lines;
invokevirtual org.springframework.boot.logging.DeferredLog$Lines.clear:()V
10: aload 1
monitorexit
11: goto 14
StackMap locals: org.springframework.boot.logging.DeferredLogs org.springframework.boot.logging.DeferredLog$Lines
StackMap stack: java.lang.Throwable
12: aload 1
monitorexit
13: athrow
14: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/springframework/boot/logging/DeferredLogs;
3 4 2 line Lorg/springframework/boot/logging/DeferredLog$Line;
7 8 2 logger Lorg/springframework/boot/logging/DeferredLog;
Exception table:
from to target type
1 11 12 any
12 13 12 any
private static org.apache.commons.logging.Log lambda$0(java.lang.Class);
descriptor: (Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static org.apache.commons.logging.Log lambda$1(org.apache.commons.logging.Log);
descriptor: (Lorg/apache/commons/logging/Log;)Lorg/apache/commons/logging/Log;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "DeferredLogs.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
Line = org.springframework.boot.logging.DeferredLog$Line of org.springframework.boot.logging.DeferredLog
Lines = org.springframework.boot.logging.DeferredLog$Lines of org.springframework.boot.logging.DeferredLog