class org.springframework.boot.devtools.autoconfigure.DevToolsDataSourceAutoConfiguration$DevToolsDataSourceCondition extends org.springframework.boot.autoconfigure.condition.SpringBootCondition implements org.springframework.context.annotation.ConfigurationCondition
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.boot.devtools.autoconfigure.DevToolsDataSourceAutoConfiguration$DevToolsDataSourceCondition
super_class: org.springframework.boot.autoconfigure.condition.SpringBootCondition
{
void <init>();
descriptor: ()V
flags: (0x0000)
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/DevToolsDataSourceAutoConfiguration$DevToolsDataSourceCondition;
public org.springframework.context.annotation.ConfigurationCondition$ConfigurationPhase getConfigurationPhase();
descriptor: ()Lorg/springframework/context/annotation/ConfigurationCondition$ConfigurationPhase;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.springframework.context.annotation.ConfigurationCondition$ConfigurationPhase.REGISTER_BEAN:Lorg/springframework/context/annotation/ConfigurationCondition$ConfigurationPhase;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/devtools/autoconfigure/DevToolsDataSourceAutoConfiguration$DevToolsDataSourceCondition;
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=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: ldc "DevTools DataSource Condition"
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: aload 1
invokeinterface org.springframework.context.annotation.ConditionContext.getBeanFactory:()Lorg/springframework/beans/factory/config/ConfigurableListableBeanFactory;
ldc Ljavax/sql/DataSource;
iconst_1
iconst_0
invokeinterface org.springframework.beans.factory.config.ConfigurableListableBeanFactory.getBeanNamesForType:(Ljava/lang/Class;ZZ)[Ljava/lang/String;
astore 4
start local 4 2: aload 4
arraylength
iconst_1
if_icmpeq 4
3: aload 3
ldc "a single DataSource bean"
invokevirtual org.springframework.boot.autoconfigure.condition.ConditionMessage$Builder.didNotFind:(Ljava/lang/String;)Lorg/springframework/boot/autoconfigure/condition/ConditionMessage$ItemsBuilder;
invokevirtual org.springframework.boot.autoconfigure.condition.ConditionMessage$ItemsBuilder.atAll:()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 java.lang.String[]
StackMap stack:
aload 1
invokeinterface org.springframework.context.annotation.ConditionContext.getBeanFactory:()Lorg/springframework/beans/factory/config/ConfigurableListableBeanFactory;
ldc Lorg/springframework/boot/autoconfigure/jdbc/DataSourceProperties;
iconst_1
iconst_0
invokeinterface org.springframework.beans.factory.config.ConfigurableListableBeanFactory.getBeanNamesForType:(Ljava/lang/Class;ZZ)[Ljava/lang/String;
arraylength
iconst_1
if_icmpeq 6
5: aload 3
ldc "a single DataSourceProperties bean"
invokevirtual org.springframework.boot.autoconfigure.condition.ConditionMessage$Builder.didNotFind:(Ljava/lang/String;)Lorg/springframework/boot/autoconfigure/condition/ConditionMessage$ItemsBuilder;
invokevirtual org.springframework.boot.autoconfigure.condition.ConditionMessage$ItemsBuilder.atAll:()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
6: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.springframework.context.annotation.ConditionContext.getRegistry:()Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
aload 4
iconst_0
aaload
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.getBeanDefinition:(Ljava/lang/String;)Lorg/springframework/beans/factory/config/BeanDefinition;
astore 5
start local 5 7: aload 5
instanceof org.springframework.beans.factory.annotation.AnnotatedBeanDefinition
ifeq 15
8: aload 5
checkcast org.springframework.beans.factory.annotation.AnnotatedBeanDefinition
invokeinterface org.springframework.beans.factory.annotation.AnnotatedBeanDefinition.getFactoryMethodMetadata:()Lorg/springframework/core/type/MethodMetadata;
ifnull 15
9: aload 5
checkcast org.springframework.beans.factory.annotation.AnnotatedBeanDefinition
invokeinterface org.springframework.beans.factory.annotation.AnnotatedBeanDefinition.getFactoryMethodMetadata:()Lorg/springframework/core/type/MethodMetadata;
10: invokeinterface org.springframework.core.type.MethodMetadata.getDeclaringClassName:()Ljava/lang/String;
new java.lang.StringBuilder
dup
ldc Lorg/springframework/boot/autoconfigure/jdbc/DataSourceAutoConfiguration;
invokevirtual java.lang.Class.getPackage:()Ljava/lang/Package;
invokevirtual java.lang.Package.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
11: ldc ".DataSourceConfiguration$"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
12: invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
13: ifeq 15
14: aload 3
ldc "auto-configured DataSource"
invokevirtual org.springframework.boot.autoconfigure.condition.ConditionMessage$Builder.foundExactly:(Ljava/lang/Object;)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
15: StackMap locals: org.springframework.beans.factory.config.BeanDefinition
StackMap stack:
aload 3
ldc "an auto-configured DataSource"
invokevirtual org.springframework.boot.autoconfigure.condition.ConditionMessage$Builder.didNotFind:(Ljava/lang/String;)Lorg/springframework/boot/autoconfigure/condition/ConditionMessage$ItemsBuilder;
invokevirtual org.springframework.boot.autoconfigure.condition.ConditionMessage$ItemsBuilder.atAll:()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
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/springframework/boot/devtools/autoconfigure/DevToolsDataSourceAutoConfiguration$DevToolsDataSourceCondition;
0 16 1 context Lorg/springframework/context/annotation/ConditionContext;
0 16 2 metadata Lorg/springframework/core/type/AnnotatedTypeMetadata;
1 16 3 message Lorg/springframework/boot/autoconfigure/condition/ConditionMessage$Builder;
2 16 4 dataSourceBeanNames [Ljava/lang/String;
7 16 5 dataSourceDefinition Lorg/springframework/beans/factory/config/BeanDefinition;
MethodParameters:
Name Flags
context
metadata
}
SourceFile: "DevToolsDataSourceAutoConfiguration.java"
NestHost: org.springframework.boot.devtools.autoconfigure.DevToolsDataSourceAutoConfiguration
InnerClasses:
public final Builder = org.springframework.boot.autoconfigure.condition.ConditionMessage$Builder of org.springframework.boot.autoconfigure.condition.ConditionMessage
public final ItemsBuilder = org.springframework.boot.autoconfigure.condition.ConditionMessage$ItemsBuilder of org.springframework.boot.autoconfigure.condition.ConditionMessage
DevToolsDataSourceCondition = org.springframework.boot.devtools.autoconfigure.DevToolsDataSourceAutoConfiguration$DevToolsDataSourceCondition of org.springframework.boot.devtools.autoconfigure.DevToolsDataSourceAutoConfiguration
public final ConfigurationPhase = org.springframework.context.annotation.ConfigurationCondition$ConfigurationPhase of org.springframework.context.annotation.ConfigurationCondition