public class org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.core.PriorityOrdered, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor
super_class: java.lang.Object
{
public static final java.lang.String BEAN_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private org.springframework.context.ApplicationContext applicationContext;
descriptor: Lorg/springframework/context/ApplicationContext;
flags: (0x0002) ACC_PRIVATE
private org.springframework.beans.factory.support.BeanDefinitionRegistry registry;
descriptor: Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
flags: (0x0002) ACC_PRIVATE
private org.springframework.boot.context.properties.ConfigurationPropertiesBinder binder;
descriptor: Lorg/springframework/boot/context/properties/ConfigurationPropertiesBinder;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/springframework/boot/context/properties/ConfigurationPropertiesBindingPostProcessor;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
putstatic org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.BEAN_NAME:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/properties/ConfigurationPropertiesBindingPostProcessor;
public void setApplicationContext(org.springframework.context.ApplicationContext);
descriptor: (Lorg/springframework/context/ApplicationContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.applicationContext:Lorg/springframework/context/ApplicationContext;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/context/properties/ConfigurationPropertiesBindingPostProcessor;
0 2 1 applicationContext Lorg/springframework/context/ApplicationContext;
Exceptions:
throws org.springframework.beans.BeansException
MethodParameters:
Name Flags
applicationContext
public void afterPropertiesSet();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.applicationContext:Lorg/springframework/context/ApplicationContext;
invokeinterface org.springframework.context.ApplicationContext.getAutowireCapableBeanFactory:()Lorg/springframework/beans/factory/config/AutowireCapableBeanFactory;
checkcast org.springframework.beans.factory.support.BeanDefinitionRegistry
putfield org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.registry:Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
1: aload 0
aload 0
getfield org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.applicationContext:Lorg/springframework/context/ApplicationContext;
invokestatic org.springframework.boot.context.properties.ConfigurationPropertiesBinder.get:(Lorg/springframework/beans/factory/BeanFactory;)Lorg/springframework/boot/context/properties/ConfigurationPropertiesBinder;
putfield org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.binder:Lorg/springframework/boot/context/properties/ConfigurationPropertiesBinder;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/context/properties/ConfigurationPropertiesBindingPostProcessor;
Exceptions:
throws java.lang.Exception
public int getOrder();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc -2147483647
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/properties/ConfigurationPropertiesBindingPostProcessor;
public java.lang.Object postProcessBeforeInitialization(java.lang.Object, java.lang.String);
descriptor: (Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.applicationContext:Lorg/springframework/context/ApplicationContext;
aload 1
aload 2
invokestatic org.springframework.boot.context.properties.ConfigurationPropertiesBean.get:(Lorg/springframework/context/ApplicationContext;Ljava/lang/Object;Ljava/lang/String;)Lorg/springframework/boot/context/properties/ConfigurationPropertiesBean;
invokevirtual org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.bind:(Lorg/springframework/boot/context/properties/ConfigurationPropertiesBean;)V
1: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/context/properties/ConfigurationPropertiesBindingPostProcessor;
0 2 1 bean Ljava/lang/Object;
0 2 2 beanName Ljava/lang/String;
Exceptions:
throws org.springframework.beans.BeansException
MethodParameters:
Name Flags
bean
beanName
private void bind(org.springframework.boot.context.properties.ConfigurationPropertiesBean);
descriptor: (Lorg/springframework/boot/context/properties/ConfigurationPropertiesBean;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 0
aload 1
invokevirtual org.springframework.boot.context.properties.ConfigurationPropertiesBean.getName:()Ljava/lang/String;
invokevirtual org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.hasBoundValueObject:(Ljava/lang/String;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.springframework.boot.context.properties.ConfigurationPropertiesBean.getBindMethod:()Lorg/springframework/boot/context/properties/ConfigurationPropertiesBean$BindMethod;
getstatic org.springframework.boot.context.properties.ConfigurationPropertiesBean$BindMethod.JAVA_BEAN:Lorg/springframework/boot/context/properties/ConfigurationPropertiesBean$BindMethod;
if_acmpne 3
iconst_1
goto 4
StackMap locals:
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: new java.lang.StringBuilder
dup
ldc "Cannot bind @ConfigurationProperties for bean '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
5: aload 1
invokevirtual org.springframework.boot.context.properties.ConfigurationPropertiesBean.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'. Ensure that @ConstructorBinding has not been applied to regular bean"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
7: aload 0
getfield org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.binder:Lorg/springframework/boot/context/properties/ConfigurationPropertiesBinder;
aload 1
invokevirtual org.springframework.boot.context.properties.ConfigurationPropertiesBinder.bind:(Lorg/springframework/boot/context/properties/ConfigurationPropertiesBean;)Lorg/springframework/boot/context/properties/bind/BindResult;
pop
8: goto 11
9: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 10: new org.springframework.boot.context.properties.ConfigurationPropertiesBindException
dup
aload 1
aload 2
invokespecial org.springframework.boot.context.properties.ConfigurationPropertiesBindException.<init>:(Lorg/springframework/boot/context/properties/ConfigurationPropertiesBean;Ljava/lang/Exception;)V
athrow
end local 2 11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/springframework/boot/context/properties/ConfigurationPropertiesBindingPostProcessor;
0 12 1 bean Lorg/springframework/boot/context/properties/ConfigurationPropertiesBean;
10 11 2 ex Ljava/lang/Exception;
Exception table:
from to target type
7 8 9 Class java.lang.Exception
MethodParameters:
Name Flags
bean
private boolean hasBoundValueObject(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 0
getfield org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.registry:Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
aload 1
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.containsBeanDefinition:(Ljava/lang/String;)Z
ifeq 3
aload 0
getfield org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.registry:Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
1: aload 1
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.getBeanDefinition:(Ljava/lang/String;)Lorg/springframework/beans/factory/config/BeanDefinition;
instanceof org.springframework.boot.context.properties.ConfigurationPropertiesValueObjectBeanDefinition
ifeq 3
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/boot/context/properties/ConfigurationPropertiesBindingPostProcessor;
0 4 1 beanName Ljava/lang/String;
MethodParameters:
Name Flags
beanName
public static void register(org.springframework.beans.factory.support.BeanDefinitionRegistry);
descriptor: (Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ldc "Registry must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
getstatic org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.BEAN_NAME:Ljava/lang/String;
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.containsBeanDefinition:(Ljava/lang/String;)Z
ifne 9
2: ldc Lorg/springframework/boot/context/properties/ConfigurationPropertiesBindingPostProcessor;
3: invokedynamic get()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/context/properties/ConfigurationPropertiesBindingPostProcessor.<init>()V (8)
()Lorg/springframework/boot/context/properties/ConfigurationPropertiesBindingPostProcessor;
4: invokestatic org.springframework.beans.factory.support.BeanDefinitionBuilder.genericBeanDefinition:(Ljava/lang/Class;Ljava/util/function/Supplier;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
5: invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.getBeanDefinition:()Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
6: astore 1
start local 1 7: aload 1
iconst_2
invokeinterface org.springframework.beans.factory.config.BeanDefinition.setRole:(I)V
8: aload 0
getstatic org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.BEAN_NAME:Ljava/lang/String;
aload 1
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.registerBeanDefinition:(Ljava/lang/String;Lorg/springframework/beans/factory/config/BeanDefinition;)V
end local 1 9: StackMap locals:
StackMap stack:
aload 0
invokestatic org.springframework.boot.context.properties.ConfigurationPropertiesBinder.register:(Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)V
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 registry Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
7 9 1 definition Lorg/springframework/beans/factory/config/BeanDefinition;
MethodParameters:
Name Flags
registry
}
SourceFile: "ConfigurationPropertiesBindingPostProcessor.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final BindMethod = org.springframework.boot.context.properties.ConfigurationPropertiesBean$BindMethod of org.springframework.boot.context.properties.ConfigurationPropertiesBean