final class org.springframework.boot.context.properties.ConfigurationPropertiesBeanRegistrar
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.springframework.boot.context.properties.ConfigurationPropertiesBeanRegistrar
super_class: java.lang.Object
{
private final org.springframework.beans.factory.support.BeanDefinitionRegistry registry;
descriptor: Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.beans.factory.BeanFactory beanFactory;
descriptor: Lorg/springframework/beans/factory/BeanFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(org.springframework.beans.factory.support.BeanDefinitionRegistry);
descriptor: (Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.springframework.boot.context.properties.ConfigurationPropertiesBeanRegistrar.registry:Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
2: aload 0
aload 0
getfield org.springframework.boot.context.properties.ConfigurationPropertiesBeanRegistrar.registry:Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
checkcast org.springframework.beans.factory.BeanFactory
putfield org.springframework.boot.context.properties.ConfigurationPropertiesBeanRegistrar.beanFactory:Lorg/springframework/beans/factory/BeanFactory;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/boot/context/properties/ConfigurationPropertiesBeanRegistrar;
0 4 1 registry Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
MethodParameters:
Name Flags
registry
void register(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
getstatic org.springframework.core.annotation.MergedAnnotations$SearchStrategy.TYPE_HIERARCHY:Lorg/springframework/core/annotation/MergedAnnotations$SearchStrategy;
invokestatic org.springframework.core.annotation.MergedAnnotations.from:(Ljava/lang/reflect/AnnotatedElement;Lorg/springframework/core/annotation/MergedAnnotations$SearchStrategy;)Lorg/springframework/core/annotation/MergedAnnotations;
ldc Lorg/springframework/boot/context/properties/ConfigurationProperties;
invokeinterface org.springframework.core.annotation.MergedAnnotations.get:(Ljava/lang/Class;)Lorg/springframework/core/annotation/MergedAnnotation;
1: astore 2
start local 2 2: aload 0
aload 1
aload 2
invokevirtual org.springframework.boot.context.properties.ConfigurationPropertiesBeanRegistrar.register:(Ljava/lang/Class;Lorg/springframework/core/annotation/MergedAnnotation;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/boot/context/properties/ConfigurationPropertiesBeanRegistrar;
0 4 1 type Ljava/lang/Class<*>;
2 4 2 annotation Lorg/springframework/core/annotation/MergedAnnotation<Lorg/springframework/boot/context/properties/ConfigurationProperties;>;
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
type
void register(java.lang.Class<?>, org.springframework.core.annotation.MergedAnnotation<org.springframework.boot.context.properties.ConfigurationProperties>);
descriptor: (Ljava/lang/Class;Lorg/springframework/core/annotation/MergedAnnotation;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.springframework.boot.context.properties.ConfigurationPropertiesBeanRegistrar.getName:(Ljava/lang/Class;Lorg/springframework/core/annotation/MergedAnnotation;)Ljava/lang/String;
astore 3
start local 3 1: aload 0
aload 3
invokevirtual org.springframework.boot.context.properties.ConfigurationPropertiesBeanRegistrar.containsBeanDefinition:(Ljava/lang/String;)Z
ifne 3
2: aload 0
aload 3
aload 1
aload 2
invokevirtual org.springframework.boot.context.properties.ConfigurationPropertiesBeanRegistrar.registerBeanDefinition:(Ljava/lang/String;Ljava/lang/Class;Lorg/springframework/core/annotation/MergedAnnotation;)V
3: StackMap locals: java.lang.String
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/boot/context/properties/ConfigurationPropertiesBeanRegistrar;
0 4 1 type Ljava/lang/Class<*>;
0 4 2 annotation Lorg/springframework/core/annotation/MergedAnnotation<Lorg/springframework/boot/context/properties/ConfigurationProperties;>;
1 4 3 name Ljava/lang/String;
Signature: (Ljava/lang/Class<*>;Lorg/springframework/core/annotation/MergedAnnotation<Lorg/springframework/boot/context/properties/ConfigurationProperties;>;)V
MethodParameters:
Name Flags
type
annotation
private java.lang.String getName(java.lang.Class<?>, org.springframework.core.annotation.MergedAnnotation<org.springframework.boot.context.properties.ConfigurationProperties>);
descriptor: (Ljava/lang/Class;Lorg/springframework/core/annotation/MergedAnnotation;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface org.springframework.core.annotation.MergedAnnotation.isPresent:()Z
ifeq 1
aload 2
ldc "prefix"
invokeinterface org.springframework.core.annotation.MergedAnnotation.getString:(Ljava/lang/String;)Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: ldc ""
StackMap locals:
StackMap stack: java.lang.String
2: astore 3
start local 3 3: aload 3
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 4
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 5
StackMap locals: java.lang.String
StackMap stack:
4: aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
5: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/boot/context/properties/ConfigurationPropertiesBeanRegistrar;
0 6 1 type Ljava/lang/Class<*>;
0 6 2 annotation Lorg/springframework/core/annotation/MergedAnnotation<Lorg/springframework/boot/context/properties/ConfigurationProperties;>;
3 6 3 prefix Ljava/lang/String;
Signature: (Ljava/lang/Class<*>;Lorg/springframework/core/annotation/MergedAnnotation<Lorg/springframework/boot/context/properties/ConfigurationProperties;>;)Ljava/lang/String;
MethodParameters:
Name Flags
type
annotation
private boolean containsBeanDefinition(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.springframework.boot.context.properties.ConfigurationPropertiesBeanRegistrar.beanFactory:Lorg/springframework/beans/factory/BeanFactory;
aload 1
invokevirtual org.springframework.boot.context.properties.ConfigurationPropertiesBeanRegistrar.containsBeanDefinition:(Lorg/springframework/beans/factory/BeanFactory;Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/properties/ConfigurationPropertiesBeanRegistrar;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
private boolean containsBeanDefinition(org.springframework.beans.factory.BeanFactory, java.lang.String);
descriptor: (Lorg/springframework/beans/factory/BeanFactory;Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof org.springframework.beans.factory.ListableBeanFactory
ifeq 3
1: aload 1
checkcast org.springframework.beans.factory.ListableBeanFactory
aload 2
invokeinterface org.springframework.beans.factory.ListableBeanFactory.containsBeanDefinition:(Ljava/lang/String;)Z
ifeq 3
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
aload 1
instanceof org.springframework.beans.factory.HierarchicalBeanFactory
ifeq 5
4: aload 0
aload 1
checkcast org.springframework.beans.factory.HierarchicalBeanFactory
invokeinterface org.springframework.beans.factory.HierarchicalBeanFactory.getParentBeanFactory:()Lorg/springframework/beans/factory/BeanFactory;
aload 2
invokevirtual org.springframework.boot.context.properties.ConfigurationPropertiesBeanRegistrar.containsBeanDefinition:(Lorg/springframework/beans/factory/BeanFactory;Ljava/lang/String;)Z
ireturn
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/boot/context/properties/ConfigurationPropertiesBeanRegistrar;
0 6 1 beanFactory Lorg/springframework/beans/factory/BeanFactory;
0 6 2 name Ljava/lang/String;
MethodParameters:
Name Flags
beanFactory
name
private void registerBeanDefinition(java.lang.String, java.lang.Class<?>, org.springframework.core.annotation.MergedAnnotation<org.springframework.boot.context.properties.ConfigurationProperties>);
descriptor: (Ljava/lang/String;Ljava/lang/Class;Lorg/springframework/core/annotation/MergedAnnotation;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokeinterface org.springframework.core.annotation.MergedAnnotation.isPresent:()Z
aload 2
invokedynamic get(Ljava/lang/Class;)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/ConfigurationPropertiesBeanRegistrar.lambda$0(Ljava/lang/Class;)Ljava/lang/String; (6)
()Ljava/lang/String;
invokestatic org.springframework.util.Assert.state:(ZLjava/util/function/Supplier;)V
1: aload 0
getfield org.springframework.boot.context.properties.ConfigurationPropertiesBeanRegistrar.registry:Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
aload 1
aload 0
aload 1
aload 2
invokevirtual org.springframework.boot.context.properties.ConfigurationPropertiesBeanRegistrar.createBeanDefinition:(Ljava/lang/String;Ljava/lang/Class;)Lorg/springframework/beans/factory/config/BeanDefinition;
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.registerBeanDefinition:(Ljava/lang/String;Lorg/springframework/beans/factory/config/BeanDefinition;)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/context/properties/ConfigurationPropertiesBeanRegistrar;
0 3 1 beanName Ljava/lang/String;
0 3 2 type Ljava/lang/Class<*>;
0 3 3 annotation Lorg/springframework/core/annotation/MergedAnnotation<Lorg/springframework/boot/context/properties/ConfigurationProperties;>;
Signature: (Ljava/lang/String;Ljava/lang/Class<*>;Lorg/springframework/core/annotation/MergedAnnotation<Lorg/springframework/boot/context/properties/ConfigurationProperties;>;)V
MethodParameters:
Name Flags
beanName
type
annotation
private org.springframework.beans.factory.config.BeanDefinition createBeanDefinition(java.lang.String, java.lang.Class<?>);
descriptor: (Ljava/lang/String;Ljava/lang/Class;)Lorg/springframework/beans/factory/config/BeanDefinition;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic org.springframework.boot.context.properties.ConfigurationPropertiesBean$BindMethod.forType:(Ljava/lang/Class;)Lorg/springframework/boot/context/properties/ConfigurationPropertiesBean$BindMethod;
getstatic org.springframework.boot.context.properties.ConfigurationPropertiesBean$BindMethod.VALUE_OBJECT:Lorg/springframework/boot/context/properties/ConfigurationPropertiesBean$BindMethod;
if_acmpne 2
1: new org.springframework.boot.context.properties.ConfigurationPropertiesValueObjectBeanDefinition
dup
aload 0
getfield org.springframework.boot.context.properties.ConfigurationPropertiesBeanRegistrar.beanFactory:Lorg/springframework/beans/factory/BeanFactory;
aload 1
aload 2
invokespecial org.springframework.boot.context.properties.ConfigurationPropertiesValueObjectBeanDefinition.<init>:(Lorg/springframework/beans/factory/BeanFactory;Ljava/lang/String;Ljava/lang/Class;)V
areturn
2: StackMap locals:
StackMap stack:
new org.springframework.beans.factory.support.GenericBeanDefinition
dup
invokespecial org.springframework.beans.factory.support.GenericBeanDefinition.<init>:()V
astore 3
start local 3 3: aload 3
aload 2
invokevirtual org.springframework.beans.factory.support.GenericBeanDefinition.setBeanClass:(Ljava/lang/Class;)V
4: aload 3
areturn
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/context/properties/ConfigurationPropertiesBeanRegistrar;
0 5 1 beanName Ljava/lang/String;
0 5 2 type Ljava/lang/Class<*>;
3 5 3 definition Lorg/springframework/beans/factory/support/GenericBeanDefinition;
Signature: (Ljava/lang/String;Ljava/lang/Class<*>;)Lorg/springframework/beans/factory/config/BeanDefinition;
MethodParameters:
Name Flags
beanName
type
private static java.lang.String lambda$0(java.lang.Class);
descriptor: (Ljava/lang/Class;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.StringBuilder
dup
ldc "No "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc Lorg/springframework/boot/context/properties/ConfigurationProperties;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: ldc " annotation found on '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ConfigurationPropertiesBeanRegistrar.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
public final SearchStrategy = org.springframework.core.annotation.MergedAnnotations$SearchStrategy of org.springframework.core.annotation.MergedAnnotations