class org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean
super_class: java.lang.Object
{
private static org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean<?> cached;
descriptor: Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$Bean;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$Bean<*>;
private final org.springframework.core.ResolvableType type;
descriptor: Lorg/springframework/core/ResolvableType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Class<?> resolvedType;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<*>;
private final java.util.Map<java.lang.String, org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty> properties;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$BeanProperty;>;
void <init>(org.springframework.core.ResolvableType, java.lang.Class<?>);
descriptor: (Lorg/springframework/core/ResolvableType;Ljava/lang/Class;)V
flags: (0x0000)
Code:
stack=3, 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
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean.properties:Ljava/util/Map;
2: aload 0
aload 1
putfield org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean.type:Lorg/springframework/core/ResolvableType;
3: aload 0
aload 2
putfield org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean.resolvedType:Ljava/lang/Class;
4: aload 0
aload 2
invokevirtual org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean.addProperties:(Ljava/lang/Class;)V
5: 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$Bean<TT;>;
0 6 1 type Lorg/springframework/core/ResolvableType;
0 6 2 resolvedType Ljava/lang/Class<*>;
Signature: (Lorg/springframework/core/ResolvableType;Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
type
resolvedType
private void addProperties(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: goto 5
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
java/lang/Class.getDeclaredMethods()[Ljava/lang/reflect/Method; (5)
(Ljava/lang/Class;)[Ljava/lang/reflect/Method;
invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
java/lang/reflect/Method.getName()Ljava/lang/String; (5)
(Ljava/lang/reflect/Method;)Ljava/lang/String;
invokevirtual org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean.getSorted:(Ljava/lang/Object;Ljava/util/function/Function;Ljava/util/function/Function;)[Ljava/lang/Object;
checkcast java.lang.reflect.Method[]
astore 2
start local 2 2: aload 0
aload 1
invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
java/lang/Class.getDeclaredFields()[Ljava/lang/reflect/Field; (5)
(Ljava/lang/Class;)[Ljava/lang/reflect/Field;
invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
java/lang/reflect/Field.getName()Ljava/lang/String; (5)
(Ljava/lang/reflect/Field;)Ljava/lang/String;
invokevirtual org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean.getSorted:(Ljava/lang/Object;Ljava/util/function/Function;Ljava/util/function/Function;)[Ljava/lang/Object;
checkcast java.lang.reflect.Field[]
astore 3
start local 3 3: aload 0
aload 2
aload 3
invokevirtual org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean.addProperties:([Ljava/lang/reflect/Method;[Ljava/lang/reflect/Field;)V
4: aload 1
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
astore 1
end local 3 end local 2 5: StackMap locals:
StackMap stack:
aload 1
ifnull 6
ldc Ljava/lang/Object;
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 1
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$Bean<TT;>;
0 7 1 type Ljava/lang/Class<*>;
2 5 2 declaredMethods [Ljava/lang/reflect/Method;
3 5 3 declaredFields [Ljava/lang/reflect/Field;
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
type
private <S, E> E[] getSorted(S, java.util.function.Function<S, E[]>, java.util.function.Function<E, java.lang.String>);
descriptor: (Ljava/lang/Object;Ljava/util/function/Function;Ljava/util/function/Function;)[Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
aload 1
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Object[]
astore 4
start local 4 1: aload 4
aload 3
invokestatic java.util.Comparator.comparing:(Ljava/util/function/Function;)Ljava/util/Comparator;
invokestatic java.util.Arrays.sort:([Ljava/lang/Object;Ljava/util/Comparator;)V
2: aload 4
areturn
end local 4 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/bind/JavaBeanBinder$Bean<TT;>;
0 3 1 source TS;
0 3 2 elements Ljava/util/function/Function<TS;[TE;>;
0 3 3 name Ljava/util/function/Function<TE;Ljava/lang/String;>;
1 3 4 result [Ljava/lang/Object;
Signature: <S:Ljava/lang/Object;E:Ljava/lang/Object;>(TS;Ljava/util/function/Function<TS;[TE;>;Ljava/util/function/Function<TE;Ljava/lang/String;>;)[TE;
MethodParameters:
Name Flags
source
elements
name
protected void addProperties(java.lang.reflect.Method[], java.lang.reflect.Field[]);
descriptor: ([Ljava/lang/reflect/Method;[Ljava/lang/reflect/Field;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 3
aaload
invokevirtual org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean.isCandidate:(Ljava/lang/reflect/Method;)Z
ifne 4
3: aload 1
iload 3
aconst_null
aastore
4: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
aload 1
arraylength
if_icmplt 2
end local 3 6: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 10
StackMap locals: org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean java.lang.reflect.Method[] java.lang.reflect.Field[] top int int java.lang.reflect.Method[]
StackMap stack:
7: aload 6
iload 4
aaload
astore 3
start local 3 8: aload 0
aload 3
ldc "is"
iconst_0
invokedynamic accept()Ljava/util/function/BiConsumer;
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;Ljava/lang/Object;)V
org/springframework/boot/context/properties/bind/JavaBeanBinder$BeanProperty.addGetter(Ljava/lang/reflect/Method;)V (5)
(Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$BeanProperty;Ljava/lang/reflect/Method;)V
invokevirtual org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean.addMethodIfPossible:(Ljava/lang/reflect/Method;Ljava/lang/String;ILjava/util/function/BiConsumer;)V
end local 3 9: iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 5
if_icmplt 7
11: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 15
StackMap locals:
StackMap stack:
12: aload 6
iload 4
aaload
astore 3
start local 3 13: aload 0
aload 3
ldc "get"
iconst_0
invokedynamic accept()Ljava/util/function/BiConsumer;
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;Ljava/lang/Object;)V
org/springframework/boot/context/properties/bind/JavaBeanBinder$BeanProperty.addGetter(Ljava/lang/reflect/Method;)V (5)
(Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$BeanProperty;Ljava/lang/reflect/Method;)V
invokevirtual org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean.addMethodIfPossible:(Ljava/lang/reflect/Method;Ljava/lang/String;ILjava/util/function/BiConsumer;)V
end local 3 14: iinc 4 1
StackMap locals:
StackMap stack:
15: iload 4
iload 5
if_icmplt 12
16: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 20
StackMap locals:
StackMap stack:
17: aload 6
iload 4
aaload
astore 3
start local 3 18: aload 0
aload 3
ldc "set"
iconst_1
invokedynamic accept()Ljava/util/function/BiConsumer;
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;Ljava/lang/Object;)V
org/springframework/boot/context/properties/bind/JavaBeanBinder$BeanProperty.addSetter(Ljava/lang/reflect/Method;)V (5)
(Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$BeanProperty;Ljava/lang/reflect/Method;)V
invokevirtual org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean.addMethodIfPossible:(Ljava/lang/reflect/Method;Ljava/lang/String;ILjava/util/function/BiConsumer;)V
end local 3 19: iinc 4 1
StackMap locals:
StackMap stack:
20: iload 4
iload 5
if_icmplt 17
21: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 25
StackMap locals: org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean java.lang.reflect.Method[] java.lang.reflect.Field[] top int int java.lang.reflect.Field[]
StackMap stack:
22: aload 6
iload 4
aaload
astore 3
start local 3 23: aload 0
aload 3
invokevirtual org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean.addField:(Ljava/lang/reflect/Field;)V
end local 3 24: iinc 4 1
StackMap locals:
StackMap stack:
25: iload 4
iload 5
if_icmplt 22
26: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$Bean<TT;>;
0 27 1 declaredMethods [Ljava/lang/reflect/Method;
0 27 2 declaredFields [Ljava/lang/reflect/Field;
1 6 3 i I
8 9 3 method Ljava/lang/reflect/Method;
13 14 3 method Ljava/lang/reflect/Method;
18 19 3 method Ljava/lang/reflect/Method;
23 24 3 field Ljava/lang/reflect/Field;
MethodParameters:
Name Flags
declaredMethods
declaredFields
private boolean isCandidate(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.reflect.Method.getModifiers:()I
istore 2
start local 2 1: iload 2
invokestatic java.lang.reflect.Modifier.isPrivate:(I)Z
ifne 5
iload 2
invokestatic java.lang.reflect.Modifier.isProtected:(I)Z
ifne 5
iload 2
invokestatic java.lang.reflect.Modifier.isAbstract:(I)Z
ifne 5
2: iload 2
invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
ifne 5
ldc Ljava/lang/Object;
aload 1
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 5
3: ldc Ljava/lang/Class;
aload 1
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 5
aload 1
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
bipush 36
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpne 5
4: iconst_1
ireturn
StackMap locals: int
StackMap stack:
5: 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/bind/JavaBeanBinder$Bean<TT;>;
0 6 1 method Ljava/lang/reflect/Method;
1 6 2 modifiers I
MethodParameters:
Name Flags
method
private void addMethodIfPossible(java.lang.reflect.Method, java.lang.String, int, java.util.function.BiConsumer<org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty, java.lang.reflect.Method>);
descriptor: (Ljava/lang/reflect/Method;Ljava/lang/String;ILjava/util/function/BiConsumer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
ifnull 4
aload 1
invokevirtual java.lang.reflect.Method.getParameterCount:()I
iload 3
if_icmpne 4
aload 1
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
aload 2
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
1: aload 1
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
aload 2
invokevirtual java.lang.String.length:()I
if_icmple 4
2: aload 1
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
aload 2
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic java.beans.Introspector.decapitalize:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 3: aload 4
aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean.properties:Ljava/util/Map;
aload 5
aload 0
invokedynamic apply(Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$Bean;)Ljava/util/function/Function;
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;)Ljava/lang/Object;
org/springframework/boot/context/properties/bind/JavaBeanBinder$Bean.getBeanProperty(Ljava/lang/String;)Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$BeanProperty; (7)
(Ljava/lang/String;)Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$BeanProperty;
invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty
aload 1
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 5 4: StackMap locals:
StackMap stack:
return
end local 4 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/bind/JavaBeanBinder$Bean<TT;>;
0 5 1 method Ljava/lang/reflect/Method;
0 5 2 prefix Ljava/lang/String;
0 5 3 parameterCount I
0 5 4 consumer Ljava/util/function/BiConsumer<Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$BeanProperty;Ljava/lang/reflect/Method;>;
3 4 5 propertyName Ljava/lang/String;
Signature: (Ljava/lang/reflect/Method;Ljava/lang/String;ILjava/util/function/BiConsumer<Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$BeanProperty;Ljava/lang/reflect/Method;>;)V
MethodParameters:
Name Flags
method
prefix
parameterCount
consumer
private org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty getBeanProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$BeanProperty;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty
dup
aload 1
aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean.type:Lorg/springframework/core/ResolvableType;
invokespecial org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.<init>:(Ljava/lang/String;Lorg/springframework/core/ResolvableType;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$Bean<TT;>;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
private void addField(java.lang.reflect.Field);
descriptor: (Ljava/lang/reflect/Field;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean.properties:Ljava/util/Map;
aload 1
invokevirtual java.lang.reflect.Field.getName:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
aload 1
invokevirtual org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty.addField:(Ljava/lang/reflect/Field;)V
3: StackMap locals: org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty
StackMap stack:
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$Bean<TT;>;
0 4 1 field Ljava/lang/reflect/Field;
1 4 2 property Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$BeanProperty;
MethodParameters:
Name Flags
field
java.util.Map<java.lang.String, org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty> getProperties();
descriptor: ()Ljava/util/Map;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean.properties:Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$Bean<TT;>;
Signature: ()Ljava/util/Map<Ljava/lang/String;Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$BeanProperty;>;
org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanSupplier<T> getSupplier(org.springframework.boot.context.properties.bind.Bindable<T>);
descriptor: (Lorg/springframework/boot/context/properties/bind/Bindable;)Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$BeanSupplier;
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanSupplier
dup
aload 0
aload 1
invokedynamic get(Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$Bean;Lorg/springframework/boot/context/properties/bind/Bindable;)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$Bean.lambda$8(Lorg/springframework/boot/context/properties/bind/Bindable;)Ljava/lang/Object; (7)
()Ljava/lang/Object;
invokespecial org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanSupplier.<init>:(Ljava/util/function/Supplier;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$Bean<TT;>;
0 1 1 target Lorg/springframework/boot/context/properties/bind/Bindable<TT;>;
Signature: (Lorg/springframework/boot/context/properties/bind/Bindable<TT;>;)Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$BeanSupplier<TT;>;
MethodParameters:
Name Flags
target
static <T> org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean<T> get(org.springframework.boot.context.properties.bind.Bindable<T>, boolean);
descriptor: (Lorg/springframework/boot/context/properties/bind/Bindable;Z)Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$Bean;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.springframework.boot.context.properties.bind.Bindable.getType:()Lorg/springframework/core/ResolvableType;
astore 2
start local 2 1: aload 2
ldc Ljava/lang/Object;
invokevirtual org.springframework.core.ResolvableType.resolve:(Ljava/lang/Class;)Ljava/lang/Class;
astore 3
start local 3 2: aload 0
invokevirtual org.springframework.boot.context.properties.bind.Bindable.getValue:()Ljava/util/function/Supplier;
astore 4
start local 4 3: aconst_null
astore 5
start local 5 4: iload 1
ifeq 9
aload 4
ifnull 9
5: aload 4
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
astore 5
6: aload 5
ifnull 7
aload 5
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
goto 8
StackMap locals: org.springframework.boot.context.properties.bind.Bindable int org.springframework.core.ResolvableType java.lang.Class java.util.function.Supplier java.lang.Object
StackMap stack:
7: aload 3
StackMap locals:
StackMap stack: java.lang.Class
8: astore 3
9: StackMap locals:
StackMap stack:
aload 5
ifnonnull 11
aload 3
invokestatic org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean.isInstantiable:(Ljava/lang/Class;)Z
ifne 11
10: aconst_null
areturn
11: StackMap locals:
StackMap stack:
getstatic org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean.cached:Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$Bean;
astore 6
start local 6 12: aload 6
ifnull 13
aload 6
aload 2
aload 3
invokevirtual org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean.isOfType:(Lorg/springframework/core/ResolvableType;Ljava/lang/Class;)Z
ifne 15
13: StackMap locals: org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean
StackMap stack:
new org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean
dup
aload 2
aload 3
invokespecial org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean.<init>:(Lorg/springframework/core/ResolvableType;Ljava/lang/Class;)V
astore 6
14: aload 6
putstatic org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean.cached:Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$Bean;
15: StackMap locals:
StackMap stack:
aload 6
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 bindable Lorg/springframework/boot/context/properties/bind/Bindable<TT;>;
0 16 1 canCallGetValue Z
1 16 2 type Lorg/springframework/core/ResolvableType;
2 16 3 resolvedType Ljava/lang/Class<*>;
3 16 4 value Ljava/util/function/Supplier<TT;>;
4 16 5 instance TT;
12 16 6 bean Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$Bean<*>;
Signature: <T:Ljava/lang/Object;>(Lorg/springframework/boot/context/properties/bind/Bindable<TT;>;Z)Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$Bean<TT;>;
MethodParameters:
Name Flags
bindable
canCallGetValue
private static boolean isInstantiable(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Class.isInterface:()Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getDeclaredConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
pop
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack: java.lang.Exception
pop
5: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 type Ljava/lang/Class<*>;
Exception table:
from to target type
2 3 4 Class java.lang.Exception
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
type
private boolean isOfType(org.springframework.core.ResolvableType, java.lang.Class<?>);
descriptor: (Lorg/springframework/core/ResolvableType;Ljava/lang/Class;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean.type:Lorg/springframework/core/ResolvableType;
invokevirtual org.springframework.core.ResolvableType.hasGenerics:()Z
ifne 1
aload 1
invokevirtual org.springframework.core.ResolvableType.hasGenerics:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean.type:Lorg/springframework/core/ResolvableType;
aload 1
invokevirtual org.springframework.core.ResolvableType.equals:(Ljava/lang/Object;)Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean.resolvedType:Ljava/lang/Class;
ifnull 3
aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean.resolvedType:Ljava/lang/Class;
aload 2
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
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$Bean<TT;>;
0 4 1 type Lorg/springframework/core/ResolvableType;
0 4 2 resolvedType Ljava/lang/Class<*>;
Signature: (Lorg/springframework/core/ResolvableType;Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
type
resolvedType
private java.lang.Object lambda$8(org.springframework.boot.context.properties.bind.Bindable);
descriptor: (Lorg/springframework/boot/context/properties/bind/Bindable;)Ljava/lang/Object;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=3, args_size=2
start local 0 0: aconst_null
astore 2
start local 2 1: aload 1
invokevirtual org.springframework.boot.context.properties.bind.Bindable.getValue:()Ljava/util/function/Supplier;
ifnull 3
2: aload 1
invokevirtual org.springframework.boot.context.properties.bind.Bindable.getValue:()Ljava/util/function/Supplier;
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
astore 2
3: StackMap locals: java.lang.Object
StackMap stack:
aload 2
ifnonnull 5
4: aload 0
getfield org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean.resolvedType:Ljava/lang/Class;
invokestatic org.springframework.beans.BeanUtils.instantiateClass:(Ljava/lang/Class;)Ljava/lang/Object;
astore 2
5: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/boot/context/properties/bind/JavaBeanBinder$Bean<TT;>;
1 6 2 instance TT;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
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
Bean = org.springframework.boot.context.properties.bind.JavaBeanBinder$Bean of org.springframework.boot.context.properties.bind.JavaBeanBinder
BeanProperty = org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanProperty of org.springframework.boot.context.properties.bind.JavaBeanBinder
private BeanSupplier = org.springframework.boot.context.properties.bind.JavaBeanBinder$BeanSupplier of org.springframework.boot.context.properties.bind.JavaBeanBinder