final class jdk.dynalink.LinkerServicesImpl implements jdk.dynalink.linker.LinkerServices
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.dynalink.LinkerServicesImpl
super_class: java.lang.Object
{
private static final java.lang.ThreadLocal<jdk.dynalink.SecureLookupSupplier> threadLookupSupplier;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Ljdk/dynalink/SecureLookupSupplier;>;
private final jdk.dynalink.TypeConverterFactory typeConverterFactory;
descriptor: Ljdk/dynalink/TypeConverterFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.dynalink.linker.GuardingDynamicLinker topLevelLinker;
descriptor: Ljdk/dynalink/linker/GuardingDynamicLinker;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.dynalink.linker.MethodHandleTransformer internalObjectsFilter;
descriptor: Ljdk/dynalink/linker/MethodHandleTransformer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
putstatic jdk.dynalink.LinkerServicesImpl.threadLookupSupplier:Ljava/lang/ThreadLocal;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(jdk.dynalink.TypeConverterFactory, jdk.dynalink.linker.GuardingDynamicLinker, jdk.dynalink.linker.MethodHandleTransformer);
descriptor: (Ljdk/dynalink/TypeConverterFactory;Ljdk/dynalink/linker/GuardingDynamicLinker;Ljdk/dynalink/linker/MethodHandleTransformer;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.dynalink.LinkerServicesImpl.typeConverterFactory:Ljdk/dynalink/TypeConverterFactory;
2: aload 0
aload 2
putfield jdk.dynalink.LinkerServicesImpl.topLevelLinker:Ljdk/dynalink/linker/GuardingDynamicLinker;
3: aload 0
aload 3
putfield jdk.dynalink.LinkerServicesImpl.internalObjectsFilter:Ljdk/dynalink/linker/MethodHandleTransformer;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/dynalink/LinkerServicesImpl;
0 5 1 typeConverterFactory Ljdk/dynalink/TypeConverterFactory;
0 5 2 topLevelLinker Ljdk/dynalink/linker/GuardingDynamicLinker;
0 5 3 internalObjectsFilter Ljdk/dynalink/linker/MethodHandleTransformer;
MethodParameters:
Name Flags
typeConverterFactory final
topLevelLinker final
internalObjectsFilter final
public boolean canConvert(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.dynalink.LinkerServicesImpl.typeConverterFactory:Ljdk/dynalink/TypeConverterFactory;
aload 1
aload 2
invokevirtual jdk.dynalink.TypeConverterFactory.canConvert:(Ljava/lang/Class;Ljava/lang/Class;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/dynalink/LinkerServicesImpl;
0 1 1 from Ljava/lang/Class<*>;
0 1 2 to Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
from final
to final
public 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: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.dynalink.LinkerServicesImpl.typeConverterFactory:Ljdk/dynalink/TypeConverterFactory;
aload 1
aload 2
invokevirtual jdk.dynalink.TypeConverterFactory.asType:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/dynalink/LinkerServicesImpl;
0 1 1 handle Ljava/lang/invoke/MethodHandle;
0 1 2 fromType Ljava/lang/invoke/MethodType;
MethodParameters:
Name Flags
handle final
fromType final
public java.lang.invoke.MethodHandle getTypeConverter(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.dynalink.LinkerServicesImpl.typeConverterFactory:Ljdk/dynalink/TypeConverterFactory;
aload 1
aload 2
invokevirtual jdk.dynalink.TypeConverterFactory.getTypeConverter:(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/dynalink/LinkerServicesImpl;
0 1 1 sourceType Ljava/lang/Class<*>;
0 1 2 targetType Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
sourceType final
targetType final
public 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: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield jdk.dynalink.LinkerServicesImpl.typeConverterFactory:Ljdk/dynalink/TypeConverterFactory;
aload 1
aload 2
aload 3
invokevirtual jdk.dynalink.TypeConverterFactory.compareConversion:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;)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 1 0 this Ljdk/dynalink/LinkerServicesImpl;
0 1 1 sourceType Ljava/lang/Class<*>;
0 1 2 targetType1 Ljava/lang/Class<*>;
0 1 3 targetType2 Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Ljdk/dynalink/linker/ConversionComparator$Comparison;
MethodParameters:
Name Flags
sourceType final
targetType1 final
targetType2 final
public jdk.dynalink.linker.GuardedInvocation getGuardedInvocation(jdk.dynalink.linker.LinkRequest);
descriptor: (Ljdk/dynalink/linker/LinkRequest;)Ljdk/dynalink/linker/GuardedInvocation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokedynamic get(Ljdk/dynalink/LinkerServicesImpl;Ljdk/dynalink/linker/LinkRequest;)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;
jdk/dynalink/LinkerServicesImpl.lambda$0(Ljdk/dynalink/linker/LinkRequest;)Ljdk/dynalink/linker/GuardedInvocation; (7)
()Ljdk/dynalink/linker/GuardedInvocation;
1: aload 1
invokeinterface jdk.dynalink.linker.LinkRequest.getCallSiteDescriptor:()Ljdk/dynalink/CallSiteDescriptor;
2: invokestatic jdk.dynalink.LinkerServicesImpl.getWithLookupInternal:(Ljava/util/function/Supplier;Ljdk/dynalink/SecureLookupSupplier;)Ljava/lang/Object;
checkcast jdk.dynalink.linker.GuardedInvocation
3: areturn
4: StackMap locals:
StackMap stack: jdk.dynalink.LinkerServicesImpl$LinkerException
astore 2
start local 2 5: aload 2
invokevirtual jdk.dynalink.LinkerServicesImpl$LinkerException.getCause:()Ljava/lang/Throwable;
checkcast java.lang.Exception
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/dynalink/LinkerServicesImpl;
0 6 1 linkRequest Ljdk/dynalink/linker/LinkRequest;
5 6 2 e Ljdk/dynalink/LinkerServicesImpl$LinkerException;
Exception table:
from to target type
0 3 4 Class jdk.dynalink.LinkerServicesImpl$LinkerException
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
linkRequest final
public java.lang.invoke.MethodHandle filterInternalObjects(java.lang.invoke.MethodHandle);
descriptor: (Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.dynalink.LinkerServicesImpl.internalObjectsFilter:Ljdk/dynalink/linker/MethodHandleTransformer;
ifnull 1
aload 0
getfield jdk.dynalink.LinkerServicesImpl.internalObjectsFilter:Ljdk/dynalink/linker/MethodHandleTransformer;
aload 1
invokeinterface jdk.dynalink.linker.MethodHandleTransformer.transform:(Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
goto 2
StackMap locals:
StackMap stack:
1: aload 1
StackMap locals:
StackMap stack: java.lang.invoke.MethodHandle
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/dynalink/LinkerServicesImpl;
0 3 1 target Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
target final
public <T> T getWithLookup(java.util.function.Supplier<T>, jdk.dynalink.SecureLookupSupplier);
descriptor: (Ljava/util/function/Supplier;Ljdk/dynalink/SecureLookupSupplier;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "action"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.util.function.Supplier
1: aload 2
ldc "lookupSupplier"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast jdk.dynalink.SecureLookupSupplier
2: invokestatic jdk.dynalink.LinkerServicesImpl.getWithLookupInternal:(Ljava/util/function/Supplier;Ljdk/dynalink/SecureLookupSupplier;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/dynalink/LinkerServicesImpl;
0 3 1 operation Ljava/util/function/Supplier<TT;>;
0 3 2 lookupSupplier Ljdk/dynalink/SecureLookupSupplier;
Signature: <T:Ljava/lang/Object;>(Ljava/util/function/Supplier<TT;>;Ljdk/dynalink/SecureLookupSupplier;)TT;
MethodParameters:
Name Flags
operation final
lookupSupplier final
private static <T> T getWithLookupInternal(java.util.function.Supplier<T>, jdk.dynalink.SecureLookupSupplier);
descriptor: (Ljava/util/function/Supplier;Ljdk/dynalink/SecureLookupSupplier;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: getstatic jdk.dynalink.LinkerServicesImpl.threadLookupSupplier:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast jdk.dynalink.SecureLookupSupplier
astore 2
start local 2 1: aload 2
aload 1
if_acmpeq 2
iconst_1
goto 3
StackMap locals: jdk.dynalink.SecureLookupSupplier
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 3
start local 3 4: iload 3
ifeq 6
5: getstatic jdk.dynalink.LinkerServicesImpl.threadLookupSupplier:Ljava/lang/ThreadLocal;
aload 1
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
6: StackMap locals: int
StackMap stack:
aload 0
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
astore 5
7: iload 3
ifeq 9
8: getstatic jdk.dynalink.LinkerServicesImpl.threadLookupSupplier:Ljava/lang/ThreadLocal;
aload 2
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
9: StackMap locals: java.util.function.Supplier jdk.dynalink.SecureLookupSupplier jdk.dynalink.SecureLookupSupplier int top java.lang.Object
StackMap stack:
aload 5
areturn
10: StackMap locals: java.util.function.Supplier jdk.dynalink.SecureLookupSupplier jdk.dynalink.SecureLookupSupplier int
StackMap stack: java.lang.Throwable
astore 4
11: iload 3
ifeq 13
12: getstatic jdk.dynalink.LinkerServicesImpl.threadLookupSupplier:Ljava/lang/ThreadLocal;
aload 2
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
13: StackMap locals: java.lang.Throwable
StackMap stack:
aload 4
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 operation Ljava/util/function/Supplier<TT;>;
0 14 1 lookupSupplier Ljdk/dynalink/SecureLookupSupplier;
1 14 2 prevLookupSupplier Ljdk/dynalink/SecureLookupSupplier;
4 14 3 differ Z
Exception table:
from to target type
6 7 10 any
Signature: <T:Ljava/lang/Object;>(Ljava/util/function/Supplier<TT;>;Ljdk/dynalink/SecureLookupSupplier;)TT;
MethodParameters:
Name Flags
operation final
lookupSupplier final
static java.lang.invoke.MethodHandles$Lookup getCurrentLookup();
descriptor: ()Ljava/lang/invoke/MethodHandles$Lookup;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=0
0: getstatic jdk.dynalink.LinkerServicesImpl.threadLookupSupplier:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast jdk.dynalink.SecureLookupSupplier
astore 0
start local 0 1: aload 0
ifnull 3
2: aload 0
invokevirtual jdk.dynalink.SecureLookupSupplier.getLookup:()Ljava/lang/invoke/MethodHandles$Lookup;
areturn
3: StackMap locals: jdk.dynalink.SecureLookupSupplier
StackMap stack:
invokestatic java.lang.invoke.MethodHandles.publicLookup:()Ljava/lang/invoke/MethodHandles$Lookup;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 lookupSupplier Ljdk/dynalink/SecureLookupSupplier;
private jdk.dynalink.linker.GuardedInvocation lambda$0(jdk.dynalink.linker.LinkRequest);
descriptor: (Ljdk/dynalink/linker/LinkRequest;)Ljdk/dynalink/linker/GuardedInvocation;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
start local 0 0: aload 0
getfield jdk.dynalink.LinkerServicesImpl.topLevelLinker:Ljdk/dynalink/linker/GuardingDynamicLinker;
aload 1
aload 0
invokeinterface jdk.dynalink.linker.GuardingDynamicLinker.getGuardedInvocation:(Ljdk/dynalink/linker/LinkRequest;Ljdk/dynalink/linker/LinkerServices;)Ljdk/dynalink/linker/GuardedInvocation;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.RuntimeException
astore 2
start local 2 3: aload 2
athrow
end local 2 4: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 5: new jdk.dynalink.LinkerServicesImpl$LinkerException
dup
aload 2
invokespecial jdk.dynalink.LinkerServicesImpl$LinkerException.<init>:(Ljava/lang/Exception;)V
athrow
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/dynalink/LinkerServicesImpl;
3 4 2 e Ljava/lang/RuntimeException;
5 6 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.RuntimeException
0 1 4 Class java.lang.Exception
}
SourceFile: "LinkerServicesImpl.java"
NestMembers:
jdk.dynalink.LinkerServicesImpl$LinkerException
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private LinkerException = jdk.dynalink.LinkerServicesImpl$LinkerException of jdk.dynalink.LinkerServicesImpl
public final Comparison = jdk.dynalink.linker.ConversionComparator$Comparison of jdk.dynalink.linker.ConversionComparator