public class org.springframework.boot.context.properties.BoundConfigurationProperties
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.boot.context.properties.BoundConfigurationProperties
super_class: java.lang.Object
{
private java.util.Map<org.springframework.boot.context.properties.source.ConfigurationPropertyName, org.springframework.boot.context.properties.source.ConfigurationProperty> properties;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Lorg/springframework/boot/context/properties/source/ConfigurationPropertyName;Lorg/springframework/boot/context/properties/source/ConfigurationProperty;>;
private static final java.lang.String BEAN_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/springframework/boot/context/properties/BoundConfigurationProperties;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
putstatic org.springframework.boot.context.properties.BoundConfigurationProperties.BEAN_NAME:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield org.springframework.boot.context.properties.BoundConfigurationProperties.properties:Ljava/util/Map;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/context/properties/BoundConfigurationProperties;
void add(org.springframework.boot.context.properties.source.ConfigurationProperty);
descriptor: (Lorg/springframework/boot/context/properties/source/ConfigurationProperty;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.boot.context.properties.BoundConfigurationProperties.properties:Ljava/util/Map;
aload 1
invokevirtual org.springframework.boot.context.properties.source.ConfigurationProperty.getName:()Lorg/springframework/boot/context/properties/source/ConfigurationPropertyName;
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/context/properties/BoundConfigurationProperties;
0 2 1 configurationProperty Lorg/springframework/boot/context/properties/source/ConfigurationProperty;
MethodParameters:
Name Flags
configurationProperty
public org.springframework.boot.context.properties.source.ConfigurationProperty get(org.springframework.boot.context.properties.source.ConfigurationPropertyName);
descriptor: (Lorg/springframework/boot/context/properties/source/ConfigurationPropertyName;)Lorg/springframework/boot/context/properties/source/ConfigurationProperty;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.boot.context.properties.BoundConfigurationProperties.properties:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.springframework.boot.context.properties.source.ConfigurationProperty
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/properties/BoundConfigurationProperties;
0 1 1 name Lorg/springframework/boot/context/properties/source/ConfigurationPropertyName;
MethodParameters:
Name Flags
name
public java.util.Map<org.springframework.boot.context.properties.source.ConfigurationPropertyName, org.springframework.boot.context.properties.source.ConfigurationProperty> getAll();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.context.properties.BoundConfigurationProperties.properties:Ljava/util/Map;
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/properties/BoundConfigurationProperties;
Signature: ()Ljava/util/Map<Lorg/springframework/boot/context/properties/source/ConfigurationPropertyName;Lorg/springframework/boot/context/properties/source/ConfigurationProperty;>;
public static org.springframework.boot.context.properties.BoundConfigurationProperties get(org.springframework.context.ApplicationContext);
descriptor: (Lorg/springframework/context/ApplicationContext;)Lorg/springframework/boot/context/properties/BoundConfigurationProperties;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.springframework.boot.context.properties.BoundConfigurationProperties.BEAN_NAME:Ljava/lang/String;
invokeinterface org.springframework.context.ApplicationContext.containsBeanDefinition:(Ljava/lang/String;)Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getstatic org.springframework.boot.context.properties.BoundConfigurationProperties.BEAN_NAME:Ljava/lang/String;
ldc Lorg/springframework/boot/context/properties/BoundConfigurationProperties;
invokeinterface org.springframework.context.ApplicationContext.getBean:(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.springframework.boot.context.properties.BoundConfigurationProperties
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lorg/springframework/context/ApplicationContext;
MethodParameters:
Name Flags
context
static void register(org.springframework.beans.factory.support.BeanDefinitionRegistry);
descriptor: (Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)V
flags: (0x0008) 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.BoundConfigurationProperties.BEAN_NAME:Ljava/lang/String;
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.containsBeanDefinition:(Ljava/lang/String;)Z
ifne 7
2: ldc Lorg/springframework/boot/context/properties/BoundConfigurationProperties;
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/BoundConfigurationProperties.<init>()V (8)
()Lorg/springframework/boot/context/properties/BoundConfigurationProperties;
invokestatic org.springframework.beans.factory.support.BeanDefinitionBuilder.genericBeanDefinition:(Ljava/lang/Class;Ljava/util/function/Supplier;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
3: invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.getBeanDefinition:()Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
4: astore 1
start local 1 5: aload 1
iconst_2
invokeinterface org.springframework.beans.factory.config.BeanDefinition.setRole:(I)V
6: aload 0
getstatic org.springframework.boot.context.properties.BoundConfigurationProperties.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 7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 registry Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
5 7 1 definition Lorg/springframework/beans/factory/config/BeanDefinition;
MethodParameters:
Name Flags
registry
}
SourceFile: "BoundConfigurationProperties.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles