class org.springframework.boot.context.properties.NotConstructorBoundInjectionFailureAnalyzer extends org.springframework.boot.diagnostics.analyzer.AbstractInjectionFailureAnalyzer<org.springframework.beans.factory.NoSuchBeanDefinitionException> implements org.springframework.core.Ordered
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.boot.context.properties.NotConstructorBoundInjectionFailureAnalyzer
super_class: org.springframework.boot.diagnostics.analyzer.AbstractInjectionFailureAnalyzer
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.boot.diagnostics.analyzer.AbstractInjectionFailureAnalyzer.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/properties/NotConstructorBoundInjectionFailureAnalyzer;
public int getOrder();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/properties/NotConstructorBoundInjectionFailureAnalyzer;
protected org.springframework.boot.diagnostics.FailureAnalysis analyze(java.lang.Throwable, org.springframework.beans.factory.NoSuchBeanDefinitionException, java.lang.String);
descriptor: (Ljava/lang/Throwable;Lorg/springframework/beans/factory/NoSuchBeanDefinitionException;Ljava/lang/String;)Lorg/springframework/boot/diagnostics/FailureAnalysis;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual org.springframework.boot.context.properties.NotConstructorBoundInjectionFailureAnalyzer.findInjectionPoint:(Ljava/lang/Throwable;)Lorg/springframework/beans/factory/InjectionPoint;
astore 4
start local 4 1: aload 0
aload 4
invokevirtual org.springframework.boot.context.properties.NotConstructorBoundInjectionFailureAnalyzer.isConstructorBindingConfigurationProperties:(Lorg/springframework/beans/factory/InjectionPoint;)Z
ifeq 15
2: aload 4
invokevirtual org.springframework.beans.factory.InjectionPoint.getMember:()Ljava/lang/reflect/Member;
invokeinterface java.lang.reflect.Member.getDeclaringClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
astore 5
start local 5 3: new java.lang.StringBuilder
dup
ldc "Update your configuration so that "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " is defined via @"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc Lorg/springframework/boot/context/properties/ConfigurationPropertiesScan;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " or @"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: ldc Lorg/springframework/boot/context/properties/EnableConfigurationProperties;
invokevirtual java.lang.Class.getSimpleName:()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;
6: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
7: aload 5
aastore
8: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 6
start local 6 9: new org.springframework.boot.diagnostics.FailureAnalysis
dup
10: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " is annotated with @"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc Lorg/springframework/boot/context/properties/ConstructorBinding;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: ldc " but it is defined as a regular bean which caused dependency injection to fail."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: aload 6
aload 2
14: invokespecial org.springframework.boot.diagnostics.FailureAnalysis.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
areturn
end local 6 end local 5 15: StackMap locals: org.springframework.beans.factory.InjectionPoint
StackMap stack:
aconst_null
areturn
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/context/properties/NotConstructorBoundInjectionFailureAnalyzer;
0 16 1 rootFailure Ljava/lang/Throwable;
0 16 2 cause Lorg/springframework/beans/factory/NoSuchBeanDefinitionException;
0 16 3 description Ljava/lang/String;
1 16 4 injectionPoint Lorg/springframework/beans/factory/InjectionPoint;
3 15 5 simpleName Ljava/lang/String;
9 15 6 action Ljava/lang/String;
MethodParameters:
Name Flags
rootFailure
cause
description
private boolean isConstructorBindingConfigurationProperties(org.springframework.beans.factory.InjectionPoint);
descriptor: (Lorg/springframework/beans/factory/InjectionPoint;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnull 10
aload 1
invokevirtual org.springframework.beans.factory.InjectionPoint.getMember:()Ljava/lang/reflect/Member;
instanceof java.lang.reflect.Constructor
ifeq 10
1: aload 1
invokevirtual org.springframework.beans.factory.InjectionPoint.getMember:()Ljava/lang/reflect/Member;
checkcast java.lang.reflect.Constructor
astore 2
start local 2 2: aload 2
invokevirtual java.lang.reflect.Constructor.getDeclaringClass:()Ljava/lang/Class;
astore 3
start local 3 3: aload 3
invokestatic org.springframework.core.annotation.MergedAnnotations.from:(Ljava/lang/reflect/AnnotatedElement;)Lorg/springframework/core/annotation/MergedAnnotations;
4: ldc Lorg/springframework/boot/context/properties/ConfigurationProperties;
invokeinterface org.springframework.core.annotation.MergedAnnotations.get:(Ljava/lang/Class;)Lorg/springframework/core/annotation/MergedAnnotation;
5: astore 4
start local 4 6: aload 4
invokeinterface org.springframework.core.annotation.MergedAnnotation.isPresent:()Z
ifeq 9
7: aload 2
invokevirtual java.lang.reflect.Constructor.getDeclaringClass:()Ljava/lang/Class;
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 9
8: iconst_1
ireturn
StackMap locals: java.lang.reflect.Constructor java.lang.Class org.springframework.core.annotation.MergedAnnotation
StackMap stack:
9: iconst_0
ireturn
end local 4 end local 3 end local 2 10: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/springframework/boot/context/properties/NotConstructorBoundInjectionFailureAnalyzer;
0 11 1 injectionPoint Lorg/springframework/beans/factory/InjectionPoint;
2 10 2 constructor Ljava/lang/reflect/Constructor<*>;
3 10 3 declaringClass Ljava/lang/Class<*>;
6 10 4 configurationProperties Lorg/springframework/core/annotation/MergedAnnotation<Lorg/springframework/boot/context/properties/ConfigurationProperties;>;
MethodParameters:
Name Flags
injectionPoint
private org.springframework.beans.factory.InjectionPoint findInjectionPoint(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Lorg/springframework/beans/factory/InjectionPoint;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
1: ldc Lorg/springframework/beans/factory/UnsatisfiedDependencyException;
2: invokevirtual org.springframework.boot.context.properties.NotConstructorBoundInjectionFailureAnalyzer.findCause:(Ljava/lang/Throwable;Ljava/lang/Class;)Ljava/lang/Throwable;
checkcast org.springframework.beans.factory.UnsatisfiedDependencyException
astore 2
start local 2 3: aload 2
ifnonnull 5
4: aconst_null
areturn
5: StackMap locals: org.springframework.beans.factory.UnsatisfiedDependencyException
StackMap stack:
aload 2
invokevirtual org.springframework.beans.factory.UnsatisfiedDependencyException.getInjectionPoint:()Lorg/springframework/beans/factory/InjectionPoint;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/boot/context/properties/NotConstructorBoundInjectionFailureAnalyzer;
0 6 1 failure Ljava/lang/Throwable;
3 6 2 unsatisfiedDependencyException Lorg/springframework/beans/factory/UnsatisfiedDependencyException;
MethodParameters:
Name Flags
failure
protected org.springframework.boot.diagnostics.FailureAnalysis analyze(java.lang.Throwable, java.lang.Throwable, java.lang.String);
descriptor: (Ljava/lang/Throwable;Ljava/lang/Throwable;Ljava/lang/String;)Lorg/springframework/boot/diagnostics/FailureAnalysis;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
checkcast org.springframework.beans.factory.NoSuchBeanDefinitionException
aload 3
invokevirtual org.springframework.boot.context.properties.NotConstructorBoundInjectionFailureAnalyzer.analyze:(Ljava/lang/Throwable;Lorg/springframework/beans/factory/NoSuchBeanDefinitionException;Ljava/lang/String;)Lorg/springframework/boot/diagnostics/FailureAnalysis;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/springframework/boot/diagnostics/analyzer/AbstractInjectionFailureAnalyzer<Lorg/springframework/beans/factory/NoSuchBeanDefinitionException;>;Lorg/springframework/core/Ordered;
SourceFile: "NotConstructorBoundInjectionFailureAnalyzer.java"
InnerClasses:
public final BindMethod = org.springframework.boot.context.properties.ConfigurationPropertiesBean$BindMethod of org.springframework.boot.context.properties.ConfigurationPropertiesBean