public final class org.springframework.boot.devtools.system.DevToolsEnablementDeducer
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.springframework.boot.devtools.system.DevToolsEnablementDeducer
super_class: java.lang.Object
{
private static final java.util.Set<java.lang.String> SKIPPED_STACK_ELEMENTS;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
astore 0
start local 0 1: aload 0
ldc "org.junit.runners."
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
2: aload 0
ldc "org.junit.platform."
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
3: aload 0
ldc "org.springframework.boot.test."
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
4: aload 0
ldc "cucumber.runtime."
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
5: aload 0
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
putstatic org.springframework.boot.devtools.system.DevToolsEnablementDeducer.SKIPPED_STACK_ELEMENTS:Ljava/util/Set;
end local 0 6: return
LocalVariableTable:
Start End Slot Name Signature
1 6 0 skipped Ljava/util/Set<Ljava/lang/String;>;
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/devtools/system/DevToolsEnablementDeducer;
public static boolean shouldEnable(java.lang.Thread);
descriptor: (Ljava/lang/Thread;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Thread.getStackTrace:()[Ljava/lang/StackTraceElement;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 5
StackMap locals: java.lang.Thread top int int java.lang.StackTraceElement[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aload 1
invokestatic org.springframework.boot.devtools.system.DevToolsEnablementDeducer.isSkippedStackElement:(Ljava/lang/StackTraceElement;)Z
ifeq 4
3: iconst_0
ireturn
end local 1 4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 3
if_icmplt 1
6: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 thread Ljava/lang/Thread;
2 4 1 element Ljava/lang/StackTraceElement;
MethodParameters:
Name Flags
thread
private static boolean isSkippedStackElement(java.lang.StackTraceElement);
descriptor: (Ljava/lang/StackTraceElement;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: getstatic org.springframework.boot.devtools.system.DevToolsEnablementDeducer.SKIPPED_STACK_ELEMENTS:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: java.lang.StackTraceElement top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 2: aload 0
invokevirtual java.lang.StackTraceElement.getClassName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
3: iconst_1
ireturn
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 element Ljava/lang/StackTraceElement;
2 4 1 skipped Ljava/lang/String;
MethodParameters:
Name Flags
element
}
SourceFile: "DevToolsEnablementDeducer.java"