final class jdk.internal.logger.SimpleConsoleLogger$CallerFinder implements java.util.function.Predicate<java.lang.StackWalker$StackFrame>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.internal.logger.SimpleConsoleLogger$CallerFinder
super_class: java.lang.Object
{
private static final java.lang.StackWalker WALKER;
descriptor: Ljava/lang/StackWalker;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private boolean lookingForLogger;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: new jdk.internal.logger.SimpleConsoleLogger$CallerFinder$1
dup
invokespecial jdk.internal.logger.SimpleConsoleLogger$CallerFinder$1.<init>:()V
astore 0
start local 0 1: aload 0
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.StackWalker
putstatic jdk.internal.logger.SimpleConsoleLogger$CallerFinder.WALKER:Ljava/lang/StackWalker;
end local 0 2: return
LocalVariableTable:
Start End Slot Name Signature
1 2 0 action Ljava/security/PrivilegedAction<Ljava/lang/StackWalker;>;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield jdk.internal.logger.SimpleConsoleLogger$CallerFinder.lookingForLogger:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/logger/SimpleConsoleLogger$CallerFinder;
java.util.Optional<java.lang.StackWalker$StackFrame> get();
descriptor: ()Ljava/util/Optional;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic jdk.internal.logger.SimpleConsoleLogger$CallerFinder.WALKER:Ljava/lang/StackWalker;
aload 0
invokedynamic apply(Ljdk/internal/logger/SimpleConsoleLogger$CallerFinder;)Ljava/util/function/Function;
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;)Ljava/lang/Object;
jdk/internal/logger/SimpleConsoleLogger$CallerFinder.lambda$0(Ljava/util/stream/Stream;)Ljava/util/Optional; (7)
(Ljava/util/stream/Stream;)Ljava/util/Optional;
invokevirtual java.lang.StackWalker.walk:(Ljava/util/function/Function;)Ljava/lang/Object;
checkcast java.util.Optional
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/logger/SimpleConsoleLogger$CallerFinder;
Signature: ()Ljava/util/Optional<Ljava/lang/StackWalker$StackFrame;>;
public boolean test(java.lang.StackWalker$StackFrame);
descriptor: (Ljava/lang/StackWalker$StackFrame;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.lang.StackWalker$StackFrame.getClassName:()Ljava/lang/String;
astore 2
start local 2 1: aload 0
getfield jdk.internal.logger.SimpleConsoleLogger$CallerFinder.lookingForLogger:Z
ifeq 6
2: aload 0
aload 0
aload 2
invokevirtual jdk.internal.logger.SimpleConsoleLogger$CallerFinder.isLoggerImplFrame:(Ljava/lang/String;)Z
ifeq 3
iconst_0
goto 4
StackMap locals: jdk.internal.logger.SimpleConsoleLogger$CallerFinder java.lang.StackWalker$StackFrame java.lang.String
StackMap stack: jdk.internal.logger.SimpleConsoleLogger$CallerFinder
3: iconst_1
StackMap locals: jdk.internal.logger.SimpleConsoleLogger$CallerFinder java.lang.StackWalker$StackFrame java.lang.String
StackMap stack: jdk.internal.logger.SimpleConsoleLogger$CallerFinder int
4: putfield jdk.internal.logger.SimpleConsoleLogger$CallerFinder.lookingForLogger:Z
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 1
invokestatic jdk.internal.logger.SimpleConsoleLogger$Formatting.isFilteredFrame:(Ljava/lang/StackWalker$StackFrame;)Z
ifeq 7
iconst_0
goto 8
StackMap locals:
StackMap stack:
7: iconst_1
StackMap locals:
StackMap stack: int
8: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/logger/SimpleConsoleLogger$CallerFinder;
0 9 1 t Ljava/lang/StackWalker$StackFrame;
1 9 2 cname Ljava/lang/String;
MethodParameters:
Name Flags
t
private boolean isLoggerImplFrame(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "sun.util.logging.PlatformLogger"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 3
1: aload 1
ldc "jdk.internal.logger.SimpleConsoleLogger"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 3
2: iconst_0
ireturn
StackMap locals:
StackMap stack:
3: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/logger/SimpleConsoleLogger$CallerFinder;
0 4 1 cname Ljava/lang/String;
MethodParameters:
Name Flags
cname
public boolean test(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.StackWalker$StackFrame
invokevirtual jdk.internal.logger.SimpleConsoleLogger$CallerFinder.test:(Ljava/lang/StackWalker$StackFrame;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
private java.util.Optional lambda$0(java.util.stream.Stream);
descriptor: (Ljava/util/stream/Stream;)Ljava/util/Optional;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.findFirst:()Ljava/util/Optional;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/logger/SimpleConsoleLogger$CallerFinder;
0 1 1 s Ljava/util/stream/Stream<Ljava/lang/StackWalker$StackFrame;>;
}
Signature: Ljava/lang/Object;Ljava/util/function/Predicate<Ljava/lang/StackWalker$StackFrame;>;
SourceFile: "SimpleConsoleLogger.java"
NestHost: jdk.internal.logger.SimpleConsoleLogger
InnerClasses:
public abstract StackFrame = java.lang.StackWalker$StackFrame of java.lang.StackWalker
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
final CallerFinder = jdk.internal.logger.SimpleConsoleLogger$CallerFinder of jdk.internal.logger.SimpleConsoleLogger
jdk.internal.logger.SimpleConsoleLogger$CallerFinder$1
final Formatting = jdk.internal.logger.SimpleConsoleLogger$Formatting of jdk.internal.logger.SimpleConsoleLogger