final class jdk.dynalink.TypeConverterFactory
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.dynalink.TypeConverterFactory
super_class: java.lang.Object
{
private final jdk.dynalink.linker.ConversionComparator[] comparators;
descriptor: [Ljdk/dynalink/linker/ConversionComparator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.dynalink.linker.MethodTypeConversionStrategy autoConversionStrategy;
descriptor: Ljdk/dynalink/linker/MethodTypeConversionStrategy;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.dynalink.BiClassValue<java.lang.invoke.MethodHandle> converterMap;
descriptor: Ljdk/dynalink/BiClassValue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/dynalink/BiClassValue<Ljava/lang/invoke/MethodHandle;>;
private final jdk.dynalink.BiClassValue<java.lang.invoke.MethodHandle> converterIdentityMap;
descriptor: Ljdk/dynalink/BiClassValue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/dynalink/BiClassValue<Ljava/lang/invoke/MethodHandle;>;
private final jdk.dynalink.BiClassValue<java.lang.Boolean> canConvert;
descriptor: Ljdk/dynalink/BiClassValue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/dynalink/BiClassValue<Ljava/lang/Boolean;>;
static final java.lang.invoke.MethodHandle IDENTITY_CONVERSION;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljava/lang/Object;
invokestatic java.lang.invoke.MethodHandles.identity:(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.dynalink.TypeConverterFactory.IDENTITY_CONVERSION:Ljava/lang/invoke/MethodHandle;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.Iterable<? extends jdk.dynalink.linker.GuardingTypeConverterFactory>, jdk.dynalink.linker.MethodTypeConversionStrategy);
descriptor: (Ljava/lang/Iterable;Ljdk/dynalink/linker/MethodTypeConversionStrategy;)V
flags: (0x0000)
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 3
start local 3 2: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 4
start local 4 3: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 6
goto 8
StackMap locals: jdk.dynalink.TypeConverterFactory java.lang.Iterable jdk.dynalink.linker.MethodTypeConversionStrategy java.util.List java.util.List top java.util.Iterator
StackMap stack:
4: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.dynalink.linker.GuardingTypeConverterFactory
astore 5
start local 5 5: aload 3
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: aload 5
instanceof jdk.dynalink.linker.ConversionComparator
ifeq 8
7: aload 4
aload 5
checkcast jdk.dynalink.linker.ConversionComparator
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 8: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
9: aload 0
aload 4
iconst_0
anewarray jdk.dynalink.linker.ConversionComparator
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast jdk.dynalink.linker.ConversionComparator[]
putfield jdk.dynalink.TypeConverterFactory.comparators:[Ljdk/dynalink/linker/ConversionComparator;
10: aload 0
aload 2
putfield jdk.dynalink.TypeConverterFactory.autoConversionStrategy:Ljdk/dynalink/linker/MethodTypeConversionStrategy;
11: aload 3
iconst_0
anewarray jdk.dynalink.linker.GuardingTypeConverterFactory
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast jdk.dynalink.linker.GuardingTypeConverterFactory[]
astore 5
start local 5 12: aload 5
invokedynamic apply([Ljdk/dynalink/linker/GuardingTypeConverterFactory;)Ljava/util/function/BiFunction;
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;)Ljava/lang/Object;
jdk/dynalink/TypeConverterFactory.lambda$0([Ljdk/dynalink/linker/GuardingTypeConverterFactory;Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle; (6)
(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
13: invokestatic jdk.dynalink.BiClassValue.computing:(Ljava/util/function/BiFunction;)Ljdk/dynalink/BiClassValue;
astore 6
start local 6 14: aload 0
aload 6
invokedynamic apply(Ljdk/dynalink/BiClassValue;)Ljava/util/function/BiFunction;
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;)Ljava/lang/Object;
jdk/dynalink/TypeConverterFactory.lambda$1(Ljdk/dynalink/BiClassValue;Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle; (6)
(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
invokestatic jdk.dynalink.BiClassValue.computing:(Ljava/util/function/BiFunction;)Ljdk/dynalink/BiClassValue;
putfield jdk.dynalink.TypeConverterFactory.converterIdentityMap:Ljdk/dynalink/BiClassValue;
15: aload 0
16: aload 6
invokedynamic apply(Ljdk/dynalink/BiClassValue;)Ljava/util/function/BiFunction;
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;)Ljava/lang/Object;
jdk/dynalink/TypeConverterFactory.lambda$2(Ljdk/dynalink/BiClassValue;Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/Boolean; (6)
(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/Boolean;
17: invokestatic jdk.dynalink.BiClassValue.computing:(Ljava/util/function/BiFunction;)Ljdk/dynalink/BiClassValue;
putfield jdk.dynalink.TypeConverterFactory.canConvert:Ljdk/dynalink/BiClassValue;
18: aload 0
aload 6
putfield jdk.dynalink.TypeConverterFactory.converterMap:Ljdk/dynalink/BiClassValue;
19: return
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 20 0 this Ljdk/dynalink/TypeConverterFactory;
0 20 1 factories Ljava/lang/Iterable<+Ljdk/dynalink/linker/GuardingTypeConverterFactory;>;
0 20 2 autoConversionStrategy Ljdk/dynalink/linker/MethodTypeConversionStrategy;
2 20 3 l Ljava/util/List<Ljdk/dynalink/linker/GuardingTypeConverterFactory;>;
3 20 4 c Ljava/util/List<Ljdk/dynalink/linker/ConversionComparator;>;
5 8 5 factory Ljdk/dynalink/linker/GuardingTypeConverterFactory;
12 20 5 afactories [Ljdk/dynalink/linker/GuardingTypeConverterFactory;
14 20 6 converterMap Ljdk/dynalink/BiClassValue<Ljava/lang/invoke/MethodHandle;>;
Signature: (Ljava/lang/Iterable<+Ljdk/dynalink/linker/GuardingTypeConverterFactory;>;Ljdk/dynalink/linker/MethodTypeConversionStrategy;)V
MethodParameters:
Name Flags
factories final
autoConversionStrategy final
java.lang.invoke.MethodHandle asType(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType);
descriptor: (Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
flags: (0x0000)
Code:
stack=5, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aload 1
astore 3
start local 3 1: aload 3
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
astore 4
start local 4 2: aload 4
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
istore 5
start local 5 3: iload 5
aload 2
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
if_icmpeq 5
4: new java.lang.invoke.WrongMethodTypeException
dup
new java.lang.StringBuilder
dup
ldc "Parameter counts differ: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " vs. "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.invoke.WrongMethodTypeException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.lang.invoke.MethodHandle java.lang.invoke.MethodType int
StackMap stack:
iconst_0
istore 6
start local 6 6: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 7
start local 7 7: iconst_0
istore 8
start local 8 8: goto 22
9: StackMap locals: int java.util.List int
StackMap stack:
aload 2
iload 8
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
astore 9
start local 9 10: aload 4
iload 8
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
astore 10
start local 10 11: aload 9
aload 10
invokestatic jdk.dynalink.TypeConverterFactory.canAutoConvert:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifeq 14
12: aload 3
iload 6
aload 7
invokestatic jdk.dynalink.TypeConverterFactory.applyConverters:(Ljava/lang/invoke/MethodHandle;ILjava/util/List;)Ljava/lang/invoke/MethodHandle;
astore 3
13: goto 21
14: StackMap locals: java.lang.Class java.lang.Class
StackMap stack:
aload 9
aload 10
aload 0
getfield jdk.dynalink.TypeConverterFactory.converterMap:Ljdk/dynalink/BiClassValue;
invokestatic jdk.dynalink.TypeConverterFactory.getTypeConverterNull:(Ljava/lang/Class;Ljava/lang/Class;Ljdk/dynalink/BiClassValue;)Ljava/lang/invoke/MethodHandle;
astore 11
start local 11 15: aload 11
ifnull 20
16: aload 7
invokeinterface java.util.List.isEmpty:()Z
ifeq 18
17: iload 8
istore 6
18: StackMap locals: java.lang.invoke.MethodHandle
StackMap stack:
aload 7
aload 11
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
19: goto 21
20: StackMap locals:
StackMap stack:
aload 3
iload 6
aload 7
invokestatic jdk.dynalink.TypeConverterFactory.applyConverters:(Ljava/lang/invoke/MethodHandle;ILjava/util/List;)Ljava/lang/invoke/MethodHandle;
astore 3
end local 11 end local 10 end local 9 21: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
22: iload 8
iload 5
if_icmplt 9
end local 8 23: aload 3
iload 6
aload 7
invokestatic jdk.dynalink.TypeConverterFactory.applyConverters:(Ljava/lang/invoke/MethodHandle;ILjava/util/List;)Ljava/lang/invoke/MethodHandle;
astore 3
24: aload 2
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
astore 8
start local 8 25: aload 4
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
astore 9
start local 9 26: aload 8
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
if_acmpeq 31
aload 9
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
if_acmpeq 31
27: aload 9
aload 8
invokestatic jdk.dynalink.TypeConverterFactory.canAutoConvert:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 31
28: aload 9
aload 8
aload 0
getfield jdk.dynalink.TypeConverterFactory.converterMap:Ljdk/dynalink/BiClassValue;
invokestatic jdk.dynalink.TypeConverterFactory.getTypeConverterNull:(Ljava/lang/Class;Ljava/lang/Class;Ljdk/dynalink/BiClassValue;)Ljava/lang/invoke/MethodHandle;
astore 10
start local 10 29: aload 10
ifnull 31
30: aload 3
aload 10
invokestatic java.lang.invoke.MethodHandles.filterReturnValue:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
astore 3
end local 10 31: StackMap locals: jdk.dynalink.TypeConverterFactory java.lang.invoke.MethodHandle java.lang.invoke.MethodType java.lang.invoke.MethodHandle java.lang.invoke.MethodType int int java.util.List java.lang.Class java.lang.Class
StackMap stack:
aload 0
getfield jdk.dynalink.TypeConverterFactory.autoConversionStrategy:Ljdk/dynalink/linker/MethodTypeConversionStrategy;
ifnull 32
aload 0
getfield jdk.dynalink.TypeConverterFactory.autoConversionStrategy:Ljdk/dynalink/linker/MethodTypeConversionStrategy;
aload 3
aload 2
invokeinterface jdk.dynalink.linker.MethodTypeConversionStrategy.asType:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
goto 33
StackMap locals:
StackMap stack:
32: aload 3
33: StackMap locals:
StackMap stack: java.lang.invoke.MethodHandle
astore 10
start local 10 34: aload 10
aload 2
invokevirtual java.lang.invoke.MethodHandle.asType:(Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
areturn
end local 10 end local 9 end local 8 end local 7 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 35 0 this Ljdk/dynalink/TypeConverterFactory;
0 35 1 handle Ljava/lang/invoke/MethodHandle;
0 35 2 fromType Ljava/lang/invoke/MethodType;
1 35 3 newHandle Ljava/lang/invoke/MethodHandle;
2 35 4 toType Ljava/lang/invoke/MethodType;
3 35 5 l I
6 35 6 pos I
7 35 7 converters Ljava/util/List<Ljava/lang/invoke/MethodHandle;>;
8 23 8 i I
10 21 9 fromParamType Ljava/lang/Class<*>;
11 21 10 toParamType Ljava/lang/Class<*>;
15 21 11 converter Ljava/lang/invoke/MethodHandle;
25 35 8 fromRetType Ljava/lang/Class<*>;
26 35 9 toRetType Ljava/lang/Class<*>;
29 31 10 converter Ljava/lang/invoke/MethodHandle;
34 35 10 autoConvertedHandle Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
handle final
fromType final
private static java.lang.invoke.MethodHandle applyConverters(java.lang.invoke.MethodHandle, int, java.util.List<java.lang.invoke.MethodHandle>);
descriptor: (Ljava/lang/invoke/MethodHandle;ILjava/util/List;)Ljava/lang/invoke/MethodHandle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface java.util.List.isEmpty:()Z
ifeq 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 2
iconst_0
anewarray java.lang.invoke.MethodHandle
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.invoke.MethodHandle[]
invokestatic java.lang.invoke.MethodHandles.filterArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
3: astore 3
start local 3 4: aload 2
invokeinterface java.util.List.clear:()V
5: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 handle Ljava/lang/invoke/MethodHandle;
0 6 1 pos I
0 6 2 converters Ljava/util/List<Ljava/lang/invoke/MethodHandle;>;
4 6 3 newHandle Ljava/lang/invoke/MethodHandle;
Signature: (Ljava/lang/invoke/MethodHandle;ILjava/util/List<Ljava/lang/invoke/MethodHandle;>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
handle final
pos final
converters final
boolean canConvert(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Z
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic jdk.dynalink.TypeConverterFactory.canAutoConvert:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 1
aload 0
getfield jdk.dynalink.TypeConverterFactory.canConvert:Ljdk/dynalink/BiClassValue;
aload 1
aload 2
invokevirtual jdk.dynalink.BiClassValue.get:(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/dynalink/TypeConverterFactory;
0 2 1 from Ljava/lang/Class<*>;
0 2 2 to Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
from final
to final
jdk.dynalink.linker.ConversionComparator$Comparison compareConversion(java.lang.Class<?>, java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;)Ljdk/dynalink/linker/ConversionComparator$Comparison;
flags: (0x0000)
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield jdk.dynalink.TypeConverterFactory.comparators:[Ljdk/dynalink/linker/ConversionComparator;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 6
StackMap locals: jdk.dynalink.TypeConverterFactory java.lang.Class java.lang.Class java.lang.Class top int int jdk.dynalink.linker.ConversionComparator[]
StackMap stack:
1: aload 7
iload 5
aaload
astore 4
start local 4 2: aload 4
aload 1
aload 2
aload 3
invokeinterface jdk.dynalink.linker.ConversionComparator.compareConversion:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;)Ljdk/dynalink/linker/ConversionComparator$Comparison;
astore 8
start local 8 3: aload 8
getstatic jdk.dynalink.linker.ConversionComparator$Comparison.INDETERMINATE:Ljdk/dynalink/linker/ConversionComparator$Comparison;
if_acmpeq 5
4: aload 8
areturn
end local 8 end local 4 5: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
6: iload 5
iload 6
if_icmplt 1
7: aload 1
aload 2
invokestatic jdk.dynalink.linker.support.TypeUtilities.isMethodInvocationConvertible:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifeq 10
8: aload 1
aload 3
invokestatic jdk.dynalink.linker.support.TypeUtilities.isMethodInvocationConvertible:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 12
9: getstatic jdk.dynalink.linker.ConversionComparator$Comparison.TYPE_1_BETTER:Ljdk/dynalink/linker/ConversionComparator$Comparison;
areturn
10: StackMap locals: jdk.dynalink.TypeConverterFactory java.lang.Class java.lang.Class java.lang.Class
StackMap stack:
aload 1
aload 3
invokestatic jdk.dynalink.linker.support.TypeUtilities.isMethodInvocationConvertible:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifeq 12
11: getstatic jdk.dynalink.linker.ConversionComparator$Comparison.TYPE_2_BETTER:Ljdk/dynalink/linker/ConversionComparator$Comparison;
areturn
12: StackMap locals:
StackMap stack:
getstatic jdk.dynalink.linker.ConversionComparator$Comparison.INDETERMINATE:Ljdk/dynalink/linker/ConversionComparator$Comparison;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/dynalink/TypeConverterFactory;
0 13 1 sourceType Ljava/lang/Class<*>;
0 13 2 targetType1 Ljava/lang/Class<*>;
0 13 3 targetType2 Ljava/lang/Class<*>;
2 5 4 comparator Ljdk/dynalink/linker/ConversionComparator;
3 5 8 result Ljdk/dynalink/linker/ConversionComparator$Comparison;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Ljdk/dynalink/linker/ConversionComparator$Comparison;
MethodParameters:
Name Flags
sourceType final
targetType1 final
targetType2 final
static boolean canAutoConvert(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic jdk.dynalink.linker.support.TypeUtilities.isMethodInvocationConvertible:(Ljava/lang/Class;Ljava/lang/Class;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fromType Ljava/lang/Class<*>;
0 1 1 toType Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
fromType final
toType final
static java.lang.invoke.MethodHandle getCacheableTypeConverterNull(java.lang.Class<?>, java.lang.Class<?>, jdk.dynalink.BiClassValue<java.lang.invoke.MethodHandle>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;Ljdk/dynalink/BiClassValue;)Ljava/lang/invoke/MethodHandle;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic jdk.dynalink.TypeConverterFactory.getCacheableTypeConverter:(Ljava/lang/Class;Ljava/lang/Class;Ljdk/dynalink/BiClassValue;)Ljava/lang/invoke/MethodHandle;
astore 3
start local 3 1: aload 3
getstatic jdk.dynalink.TypeConverterFactory.IDENTITY_CONVERSION:Ljava/lang/invoke/MethodHandle;
if_acmpne 2
aconst_null
goto 3
StackMap locals: java.lang.invoke.MethodHandle
StackMap stack:
2: aload 3
StackMap locals:
StackMap stack: java.lang.invoke.MethodHandle
3: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 sourceType Ljava/lang/Class<*>;
0 4 1 targetType Ljava/lang/Class<*>;
0 4 2 converterMap Ljdk/dynalink/BiClassValue<Ljava/lang/invoke/MethodHandle;>;
1 4 3 converter Ljava/lang/invoke/MethodHandle;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;Ljdk/dynalink/BiClassValue<Ljava/lang/invoke/MethodHandle;>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
sourceType final
targetType final
converterMap final
static java.lang.invoke.MethodHandle getTypeConverterNull(java.lang.Class<?>, java.lang.Class<?>, jdk.dynalink.BiClassValue<java.lang.invoke.MethodHandle>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;Ljdk/dynalink/BiClassValue;)Ljava/lang/invoke/MethodHandle;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic jdk.dynalink.TypeConverterFactory.getCacheableTypeConverterNull:(Ljava/lang/Class;Ljava/lang/Class;Ljdk/dynalink/BiClassValue;)Ljava/lang/invoke/MethodHandle;
1: areturn
2: StackMap locals:
StackMap stack: jdk.dynalink.TypeConverterFactory$NotCacheableConverter
astore 3
start local 3 3: aload 3
getfield jdk.dynalink.TypeConverterFactory$NotCacheableConverter.converter:Ljava/lang/invoke/MethodHandle;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 sourceType Ljava/lang/Class<*>;
0 4 1 targetType Ljava/lang/Class<*>;
0 4 2 converterMap Ljdk/dynalink/BiClassValue<Ljava/lang/invoke/MethodHandle;>;
3 4 3 e Ljdk/dynalink/TypeConverterFactory$NotCacheableConverter;
Exception table:
from to target type
0 1 2 Class jdk.dynalink.TypeConverterFactory$NotCacheableConverter
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;Ljdk/dynalink/BiClassValue<Ljava/lang/invoke/MethodHandle;>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
sourceType final
targetType final
converterMap final
static java.lang.invoke.MethodHandle getCacheableTypeConverter(java.lang.Class<?>, java.lang.Class<?>, jdk.dynalink.BiClassValue<java.lang.invoke.MethodHandle>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;Ljdk/dynalink/BiClassValue;)Ljava/lang/invoke/MethodHandle;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 0
aload 1
invokevirtual jdk.dynalink.BiClassValue.get:(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/Object;
checkcast java.lang.invoke.MethodHandle
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 sourceType Ljava/lang/Class<*>;
0 1 1 targetType Ljava/lang/Class<*>;
0 1 2 converterMap Ljdk/dynalink/BiClassValue<Ljava/lang/invoke/MethodHandle;>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;Ljdk/dynalink/BiClassValue<Ljava/lang/invoke/MethodHandle;>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
sourceType final
targetType final
converterMap final
java.lang.invoke.MethodHandle getTypeConverter(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.dynalink.TypeConverterFactory.converterIdentityMap:Ljdk/dynalink/BiClassValue;
aload 1
aload 2
invokevirtual jdk.dynalink.BiClassValue.get:(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/Object;
checkcast java.lang.invoke.MethodHandle
1: areturn
2: StackMap locals:
StackMap stack: jdk.dynalink.TypeConverterFactory$NotCacheableConverter
astore 3
start local 3 3: aload 3
getfield jdk.dynalink.TypeConverterFactory$NotCacheableConverter.converter:Ljava/lang/invoke/MethodHandle;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/dynalink/TypeConverterFactory;
0 4 1 sourceType Ljava/lang/Class<*>;
0 4 2 targetType Ljava/lang/Class<*>;
3 4 3 e Ljdk/dynalink/TypeConverterFactory$NotCacheableConverter;
Exception table:
from to target type
0 1 2 Class jdk.dynalink.TypeConverterFactory$NotCacheableConverter
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
sourceType final
targetType final
static java.lang.invoke.MethodHandle createConverter(java.lang.Class<?>, java.lang.Class<?>, jdk.dynalink.linker.GuardingTypeConverterFactory[]);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;[Ljdk/dynalink/linker/GuardingTypeConverterFactory;)Ljava/lang/invoke/MethodHandle;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
invokestatic java.lang.invoke.MethodType.methodType:(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
astore 3
start local 3 1: getstatic jdk.dynalink.TypeConverterFactory.IDENTITY_CONVERSION:Ljava/lang/invoke/MethodHandle;
aload 3
invokevirtual java.lang.invoke.MethodHandle.asType:(Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
astore 4
start local 4 2: aload 4
astore 5
start local 5 3: new jdk.dynalink.TypeConverterFactory$LookupSupplier
dup
invokespecial jdk.dynalink.TypeConverterFactory$LookupSupplier.<init>:()V
astore 6
start local 6 4: aload 2
arraylength
istore 7
start local 7 5: goto 9
6: StackMap locals: java.lang.Class java.lang.Class jdk.dynalink.linker.GuardingTypeConverterFactory[] java.lang.invoke.MethodType java.lang.invoke.MethodHandle java.lang.invoke.MethodHandle jdk.dynalink.TypeConverterFactory$LookupSupplier int
StackMap stack:
aload 2
iload 7
aaload
aload 0
aload 1
aload 6
invokeinterface jdk.dynalink.linker.GuardingTypeConverterFactory.convertToType:(Ljava/lang/Class;Ljava/lang/Class;Ljava/util/function/Supplier;)Ljdk/dynalink/linker/GuardedInvocation;
astore 8
start local 8 7: aload 8
ifnull 9
8: aload 8
aload 5
invokevirtual jdk.dynalink.linker.GuardedInvocation.compose:(Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
astore 5
end local 8 9: StackMap locals:
StackMap stack:
iload 7
iinc 7 -1
ifgt 6
end local 7 10: goto 18
StackMap locals: java.lang.Class java.lang.Class jdk.dynalink.linker.GuardingTypeConverterFactory[] java.lang.invoke.MethodType java.lang.invoke.MethodHandle java.lang.invoke.MethodHandle jdk.dynalink.TypeConverterFactory$LookupSupplier
StackMap stack: java.lang.RuntimeException
11: astore 7
start local 7 12: aload 7
athrow
end local 7 13: StackMap locals:
StackMap stack: java.lang.Exception
astore 7
start local 7 14: new java.lang.RuntimeException
dup
aload 7
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 7 15: StackMap locals:
StackMap stack: java.lang.Throwable
astore 9
16: aload 6
iconst_1
putfield jdk.dynalink.TypeConverterFactory$LookupSupplier.closed:Z
17: aload 9
athrow
18: StackMap locals:
StackMap stack:
aload 6
iconst_1
putfield jdk.dynalink.TypeConverterFactory$LookupSupplier.closed:Z
19: aload 5
aload 4
if_acmpne 21
20: getstatic jdk.dynalink.TypeConverterFactory.IDENTITY_CONVERSION:Ljava/lang/invoke/MethodHandle;
areturn
21: StackMap locals:
StackMap stack:
aload 6
getfield jdk.dynalink.TypeConverterFactory$LookupSupplier.returnedLookup:Z
ifne 23
22: aload 5
areturn
23: StackMap locals:
StackMap stack:
new jdk.dynalink.TypeConverterFactory$NotCacheableConverter
dup
aload 5
invokespecial jdk.dynalink.TypeConverterFactory$NotCacheableConverter.<init>:(Ljava/lang/invoke/MethodHandle;)V
athrow
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 24 0 sourceType Ljava/lang/Class<*>;
0 24 1 targetType Ljava/lang/Class<*>;
0 24 2 factories [Ljdk/dynalink/linker/GuardingTypeConverterFactory;
1 24 3 type Ljava/lang/invoke/MethodType;
2 24 4 identity Ljava/lang/invoke/MethodHandle;
3 24 5 last Ljava/lang/invoke/MethodHandle;
4 24 6 lookupSupplier Ljdk/dynalink/TypeConverterFactory$LookupSupplier;
5 10 7 i I
7 9 8 next Ljdk/dynalink/linker/GuardedInvocation;
12 13 7 e Ljava/lang/RuntimeException;
14 15 7 e Ljava/lang/Exception;
Exception table:
from to target type
4 10 11 Class java.lang.RuntimeException
4 10 13 Class java.lang.Exception
4 15 15 any
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;[Ljdk/dynalink/linker/GuardingTypeConverterFactory;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
sourceType final
targetType final
factories
private static java.lang.invoke.MethodHandle lambda$0(jdk.dynalink.linker.GuardingTypeConverterFactory[], java.lang.Class, java.lang.Class);
descriptor: ([Ljdk/dynalink/linker/GuardingTypeConverterFactory;Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 1 start local 2 0: aload 1
aload 2
aload 0
invokestatic jdk.dynalink.TypeConverterFactory.createConverter:(Ljava/lang/Class;Ljava/lang/Class;[Ljdk/dynalink/linker/GuardingTypeConverterFactory;)Ljava/lang/invoke/MethodHandle;
areturn
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 sourceType Ljava/lang/Class<*>;
0 1 2 targetType Ljava/lang/Class<*>;
private static java.lang.invoke.MethodHandle lambda$1(jdk.dynalink.BiClassValue, java.lang.Class, java.lang.Class);
descriptor: (Ljdk/dynalink/BiClassValue;Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=4, args_size=3
start local 1 start local 2 0: aload 1
aload 2
invokestatic jdk.dynalink.TypeConverterFactory.canAutoConvert:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 4
1: aload 1
aload 2
aload 0
invokestatic jdk.dynalink.TypeConverterFactory.getCacheableTypeConverter:(Ljava/lang/Class;Ljava/lang/Class;Ljdk/dynalink/BiClassValue;)Ljava/lang/invoke/MethodHandle;
astore 3
start local 3 2: aload 3
getstatic jdk.dynalink.TypeConverterFactory.IDENTITY_CONVERSION:Ljava/lang/invoke/MethodHandle;
if_acmpeq 4
3: aload 3
areturn
end local 3 4: StackMap locals:
StackMap stack:
getstatic jdk.dynalink.TypeConverterFactory.IDENTITY_CONVERSION:Ljava/lang/invoke/MethodHandle;
aload 2
aload 1
invokestatic java.lang.invoke.MethodType.methodType:(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodHandle.asType:(Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
areturn
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 5 1 sourceType Ljava/lang/Class<*>;
0 5 2 targetType Ljava/lang/Class<*>;
2 4 3 converter Ljava/lang/invoke/MethodHandle;
private static java.lang.Boolean lambda$2(jdk.dynalink.BiClassValue, java.lang.Class, java.lang.Class);
descriptor: (Ljdk/dynalink/BiClassValue;Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/Boolean;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 1 start local 2 0: aload 1
aload 2
aload 0
invokestatic jdk.dynalink.TypeConverterFactory.getTypeConverterNull:(Ljava/lang/Class;Ljava/lang/Class;Ljdk/dynalink/BiClassValue;)Ljava/lang/invoke/MethodHandle;
ifnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 sourceType Ljava/lang/Class<*>;
0 3 2 targetType Ljava/lang/Class<*>;
}
SourceFile: "TypeConverterFactory.java"
NestMembers:
jdk.dynalink.TypeConverterFactory$LookupSupplier jdk.dynalink.TypeConverterFactory$NotCacheableConverter
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private LookupSupplier = jdk.dynalink.TypeConverterFactory$LookupSupplier of jdk.dynalink.TypeConverterFactory
private NotCacheableConverter = jdk.dynalink.TypeConverterFactory$NotCacheableConverter of jdk.dynalink.TypeConverterFactory
public final Comparison = jdk.dynalink.linker.ConversionComparator$Comparison of jdk.dynalink.linker.ConversionComparator