class org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty
super_class: java.lang.Object
{
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.core.ResolvableType declaringClassType;
descriptor: Lorg/springframework/core/ResolvableType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.reflect.Method getter;
descriptor: Ljava/lang/reflect/Method;
flags: (0x0002) ACC_PRIVATE
private java.lang.reflect.Method setter;
descriptor: Ljava/lang/reflect/Method;
flags: (0x0002) ACC_PRIVATE
private java.lang.reflect.Field field;
descriptor: Ljava/lang/reflect/Field;
flags: (0x0002) ACC_PRIVATE
void <init>(java.lang.String, org.springframework.core.ResolvableType);
descriptor: (Ljava/lang/String;Lorg/springframework/core/ResolvableType;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokestatic org.springframework.boot.context.properties.bind.DataObjectPropertyName.toDashedForm:(Ljava/lang/String;)Ljava/lang/String;
putfield org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.name:Ljava/lang/String;
2: aload 0
aload 2
putfield org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.declaringClassType:Lorg/springframework/core/ResolvableType;
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/bind/JavaBeanBinder$BeanProperty;
0 4 1 name Ljava/lang/String;
0 4 2 declaringClassType Lorg/springframework/core/ResolvableType;
MethodParameters:
Name Flags
name
declaringClassType
void addGetter(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.getter:Ljava/lang/reflect/Method;
ifnull 1
aload 0
aload 1
invokevirtual org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.isBetterGetter:(Ljava/lang/reflect/Method;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.getter:Ljava/lang/reflect/Method;
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$BeanProperty;
0 3 1 getter Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
getter
private boolean isBetterGetter(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)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.bind.JavaBeanBinder$BeanProperty.getter:Ljava/lang/reflect/Method;
ifnull 1
aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.getter:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
ldc "is"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$BeanProperty;
0 2 1 getter Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
getter
void addSetter(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.setter:Ljava/lang/reflect/Method;
ifnull 1
aload 0
aload 1
invokevirtual org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.isBetterSetter:(Ljava/lang/reflect/Method;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.setter:Ljava/lang/reflect/Method;
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$BeanProperty;
0 3 1 setter Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
setter
private boolean isBetterSetter(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.getter:Ljava/lang/reflect/Method;
ifnull 1
aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.getter:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
iconst_0
aaload
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$BeanProperty;
0 2 1 setter Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
setter
void addField(java.lang.reflect.Field);
descriptor: (Ljava/lang/reflect/Field;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.field:Ljava/lang/reflect/Field;
ifnonnull 2
1: aload 0
aload 1
putfield org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.field:Ljava/lang/reflect/Field;
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$BeanProperty;
0 3 1 field Ljava/lang/reflect/Field;
MethodParameters:
Name Flags
field
java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$BeanProperty;
org.springframework.core.ResolvableType getType();
descriptor: ()Lorg/springframework/core/ResolvableType;
flags: (0x0000)
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.setter:Ljava/lang/reflect/Method;
ifnull 3
1: new org.springframework.core.MethodParameter
dup
aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.setter:Ljava/lang/reflect/Method;
iconst_0
invokespecial org.springframework.core.MethodParameter.<init>:(Ljava/lang/reflect/Method;I)V
astore 1
start local 1 2: aload 1
aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.declaringClassType:Lorg/springframework/core/ResolvableType;
invokestatic org.springframework.core.ResolvableType.forMethodParameter:(Lorg/springframework/core/MethodParameter;Lorg/springframework/core/ResolvableType;)Lorg/springframework/core/ResolvableType;
areturn
end local 1 3: StackMap locals:
StackMap stack:
new org.springframework.core.MethodParameter
dup
aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.getter:Ljava/lang/reflect/Method;
iconst_m1
invokespecial org.springframework.core.MethodParameter.<init>:(Ljava/lang/reflect/Method;I)V
astore 1
start local 1 4: aload 1
aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.declaringClassType:Lorg/springframework/core/ResolvableType;
invokestatic org.springframework.core.ResolvableType.forMethodParameter:(Lorg/springframework/core/MethodParameter;Lorg/springframework/core/ResolvableType;)Lorg/springframework/core/ResolvableType;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$BeanProperty;
2 3 1 methodParameter Lorg/springframework/core/MethodParameter;
4 5 1 methodParameter Lorg/springframework/core/MethodParameter;
java.lang.annotation.Annotation[] getAnnotations();
descriptor: ()[Ljava/lang/annotation/Annotation;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.field:Ljava/lang/reflect/Field;
ifnull 1
aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.field:Ljava/lang/reflect/Field;
invokevirtual java.lang.reflect.Field.getDeclaredAnnotations:()[Ljava/lang/annotation/Annotation;
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: java.lang.annotation.Annotation[]
2: areturn
3: StackMap locals:
StackMap stack: java.lang.Exception
pop
4: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$BeanProperty;
Exception table:
from to target type
0 2 3 Class java.lang.Exception
java.util.function.Supplier<java.lang.Object> getValue(java.util.function.Supplier<?>);
descriptor: (Ljava/util/function/Supplier;)Ljava/util/function/Supplier;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.getter:Ljava/lang/reflect/Method;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokedynamic get(Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$BeanProperty;Ljava/util/function/Supplier;)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/bind/JavaBeanBinder$BeanProperty.lambda$0(Ljava/util/function/Supplier;)Ljava/lang/Object; (7)
()Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$BeanProperty;
0 3 1 instance Ljava/util/function/Supplier<*>;
Signature: (Ljava/util/function/Supplier<*>;)Ljava/util/function/Supplier<Ljava/lang/Object;>;
MethodParameters:
Name Flags
instance
boolean isSettable();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.setter:Ljava/lang/reflect/Method;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$BeanProperty;
void setValue(java.util.function.Supplier<?>, );
descriptor: (Ljava/util/function/Supplier;Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.setter:Ljava/lang/reflect/Method;
iconst_1
invokevirtual java.lang.reflect.Method.setAccessible:(Z)V
1: aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.setter:Ljava/lang/reflect/Method;
aload 1
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
pop
2: goto 5
3: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 4: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Unable to set value for property "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$BeanProperty;
0 6 1 instance Ljava/util/function/Supplier<*>;
0 6 2 value Ljava/lang/Object;
4 5 3 ex Ljava/lang/Exception;
Exception table:
from to target type
0 2 3 Class java.lang.Exception
Signature: (Ljava/util/function/Supplier<*>;Ljava/lang/Object;)V
MethodParameters:
Name Flags
instance
value
private java.lang.Object lambda$0(java.util.function.Supplier);
descriptor: (Ljava/util/function/Supplier;)Ljava/lang/Object;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=3, args_size=2
start local 0 0: aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.getter:Ljava/lang/reflect/Method;
iconst_1
invokevirtual java.lang.reflect.Method.setAccessible:(Z)V
1: aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.getter:Ljava/lang/reflect/Method;
aload 1
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
2: areturn
3: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 4: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Unable to get value for property "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$BeanProperty;
4 5 2 ex Ljava/lang/Exception;
Exception table:
from to target type
0 2 3 Class java.lang.Exception
}
SourceFile: "JavaBeanBinder.java"
NestHost: org.springframework.boot.context.properties.bind.JavaBeanBinder
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
BeanProperty = org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty of org.springframework.boot.context.properties.bind.JavaBeanBinder