public class org.springframework.boot.devtools.autoconfigure.OnEnabledDevToolsCondition extends org.springframework.boot.autoconfigure.condition.SpringBootCondition
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.boot.devtools.autoconfigure.OnEnabledDevToolsCondition
super_class: org.springframework.boot.autoconfigure.condition.SpringBootCondition
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.boot.autoconfigure.condition.SpringBootCondition.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/devtools/autoconfigure/OnEnabledDevToolsCondition;
public org.springframework.boot.autoconfigure.condition.ConditionOutcome getMatchOutcome(org.springframework.context.annotation.ConditionContext, org.springframework.core.type.AnnotatedTypeMetadata);
descriptor: (Lorg/springframework/context/annotation/ConditionContext;Lorg/springframework/core/type/AnnotatedTypeMetadata;)Lorg/springframework/boot/autoconfigure/condition/ConditionOutcome;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: ldc "Devtools"
iconst_0
anewarray java.lang.Object
invokestatic org.springframework.boot.autoconfigure.condition.ConditionMessage.forCondition:(Ljava/lang/String;[Ljava/lang/Object;)Lorg/springframework/boot/autoconfigure/condition/ConditionMessage$Builder;
astore 3
start local 3 1: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokestatic org.springframework.boot.devtools.system.DevToolsEnablementDeducer.shouldEnable:(Ljava/lang/Thread;)Z
istore 4
start local 4 2: iload 4
ifne 4
3: aload 3
ldc "devtools is disabled for current context."
invokevirtual org.springframework.boot.autoconfigure.condition.ConditionMessage$Builder.because:(Ljava/lang/String;)Lorg/springframework/boot/autoconfigure/condition/ConditionMessage;
invokestatic org.springframework.boot.autoconfigure.condition.ConditionOutcome.noMatch:(Lorg/springframework/boot/autoconfigure/condition/ConditionMessage;)Lorg/springframework/boot/autoconfigure/condition/ConditionOutcome;
areturn
4: StackMap locals: org.springframework.boot.autoconfigure.condition.ConditionMessage$Builder int
StackMap stack:
aload 3
ldc "devtools enabled."
invokevirtual org.springframework.boot.autoconfigure.condition.ConditionMessage$Builder.because:(Ljava/lang/String;)Lorg/springframework/boot/autoconfigure/condition/ConditionMessage;
invokestatic org.springframework.boot.autoconfigure.condition.ConditionOutcome.match:(Lorg/springframework/boot/autoconfigure/condition/ConditionMessage;)Lorg/springframework/boot/autoconfigure/condition/ConditionOutcome;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/devtools/autoconfigure/OnEnabledDevToolsCondition;
0 5 1 context Lorg/springframework/context/annotation/ConditionContext;
0 5 2 metadata Lorg/springframework/core/type/AnnotatedTypeMetadata;
1 5 3 message Lorg/springframework/boot/autoconfigure/condition/ConditionMessage$Builder;
2 5 4 shouldEnable Z
MethodParameters:
Name Flags
context
metadata
}
SourceFile: "OnEnabledDevToolsCondition.java"
InnerClasses:
public final Builder = org.springframework.boot.autoconfigure.condition.ConditionMessage$Builder of org.springframework.boot.autoconfigure.condition.ConditionMessage