class jdk.dynalink.beans.StaticClassLinker implements jdk.dynalink.linker.TypeBasedGuardingDynamicLinker
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.dynalink.beans.StaticClassLinker
super_class: java.lang.Object
{
private static final java.lang.ClassValue<jdk.dynalink.beans.StaticClassLinker$SingleClassStaticsLinker> linkers;
descriptor: Ljava/lang/ClassValue;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/ClassValue<Ljdk/dynalink/beans/StaticClassLinker$SingleClassStaticsLinker;>;
static final java.lang.invoke.MethodHandle GET_CLASS;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.lang.invoke.MethodHandle IS_CLASS;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.lang.invoke.MethodHandle ARRAY_CTOR;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=9, locals=1, args_size=0
0: new jdk.dynalink.beans.StaticClassLinker$1
dup
invokespecial jdk.dynalink.beans.StaticClassLinker$1.<init>:()V
putstatic jdk.dynalink.beans.StaticClassLinker.linkers:Ljava/lang/ClassValue;
1: getstatic jdk.dynalink.linker.support.Lookup.PUBLIC:Ljdk/dynalink/linker/support/Lookup;
ldc Ljava/lang/reflect/Array;
ldc "newInstance"
2: ldc Ljava/lang/Object;
ldc Ljava/lang/Class;
iconst_1
anewarray java.lang.Class
dup
iconst_0
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
aastore
invokestatic java.lang.invoke.MethodType.methodType:(Ljava/lang/Class;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
3: invokevirtual jdk.dynalink.linker.support.Lookup.findStatic:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.dynalink.beans.StaticClassLinker.ARRAY_CTOR:Ljava/lang/invoke/MethodHandle;
4: new jdk.dynalink.linker.support.Lookup
dup
invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
invokespecial jdk.dynalink.linker.support.Lookup.<init>:(Ljava/lang/invoke/MethodHandles$Lookup;)V
astore 0
start local 0 5: aload 0
ldc Ljdk/dynalink/beans/StaticClass;
ldc "getRepresentedClass"
ldc Ljava/lang/Class;
invokestatic java.lang.invoke.MethodType.methodType:(Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
invokevirtual jdk.dynalink.linker.support.Lookup.findVirtual:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.dynalink.beans.StaticClassLinker.GET_CLASS:Ljava/lang/invoke/MethodHandle;
6: aload 0
ldc "isClass"
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Class;
aastore
dup
iconst_1
ldc Ljava/lang/Object;
aastore
invokevirtual jdk.dynalink.linker.support.Lookup.findOwnStatic:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.dynalink.beans.StaticClassLinker.IS_CLASS:Ljava/lang/invoke/MethodHandle;
end local 0 7: return
LocalVariableTable:
Start End Slot Name Signature
5 7 0 lookup Ljdk/dynalink/linker/support/Lookup;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/dynalink/beans/StaticClassLinker;
static getConstructorMethod(java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.dynalink.beans.StaticClassLinker.linkers:Ljava/lang/ClassValue;
aload 0
invokevirtual java.lang.ClassValue.get:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast jdk.dynalink.beans.StaticClassLinker$SingleClassStaticsLinker
aload 1
invokevirtual jdk.dynalink.beans.StaticClassLinker$SingleClassStaticsLinker.getConstructorMethod:(Ljava/lang/String;)Ljdk/dynalink/beans/SingleDynamicMethod;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 clazz Ljava/lang/Class<*>;
0 1 1 signature Ljava/lang/String;
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;)Ljava/lang/Object;
MethodParameters:
Name Flags
clazz final
signature final
static java.util.Set<java.lang.String> getReadableStaticPropertyNames(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/util/Set;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic jdk.dynalink.beans.StaticClassLinker.linkers:Ljava/lang/ClassValue;
aload 0
invokevirtual java.lang.ClassValue.get:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast jdk.dynalink.beans.StaticClassLinker$SingleClassStaticsLinker
invokevirtual jdk.dynalink.beans.StaticClassLinker$SingleClassStaticsLinker.getReadablePropertyNames:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 clazz Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
clazz final
static java.util.Set<java.lang.String> getWritableStaticPropertyNames(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/util/Set;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic jdk.dynalink.beans.StaticClassLinker.linkers:Ljava/lang/ClassValue;
aload 0
invokevirtual java.lang.ClassValue.get:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast jdk.dynalink.beans.StaticClassLinker$SingleClassStaticsLinker
invokevirtual jdk.dynalink.beans.StaticClassLinker$SingleClassStaticsLinker.getWritablePropertyNames:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 clazz Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
clazz final
static java.util.Set<java.lang.String> getStaticMethodNames(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/util/Set;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic jdk.dynalink.beans.StaticClassLinker.linkers:Ljava/lang/ClassValue;
aload 0
invokevirtual java.lang.ClassValue.get:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast jdk.dynalink.beans.StaticClassLinker$SingleClassStaticsLinker
invokevirtual jdk.dynalink.beans.StaticClassLinker$SingleClassStaticsLinker.getMethodNames:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 clazz Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
clazz final
public jdk.dynalink.linker.GuardedInvocation getGuardedInvocation(jdk.dynalink.linker.LinkRequest, jdk.dynalink.linker.LinkerServices);
descriptor: (Ljdk/dynalink/linker/LinkRequest;Ljdk/dynalink/linker/LinkerServices;)Ljdk/dynalink/linker/GuardedInvocation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface jdk.dynalink.linker.LinkRequest.getReceiver:()Ljava/lang/Object;
astore 3
start local 3 1: aload 3
instanceof jdk.dynalink.beans.StaticClass
ifeq 5
2: getstatic jdk.dynalink.beans.StaticClassLinker.linkers:Ljava/lang/ClassValue;
aload 3
checkcast jdk.dynalink.beans.StaticClass
invokevirtual jdk.dynalink.beans.StaticClass.getRepresentedClass:()Ljava/lang/Class;
invokevirtual java.lang.ClassValue.get:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast jdk.dynalink.beans.StaticClassLinker$SingleClassStaticsLinker
aload 1
3: aload 2
4: invokevirtual jdk.dynalink.beans.StaticClassLinker$SingleClassStaticsLinker.getGuardedInvocation:(Ljdk/dynalink/linker/LinkRequest;Ljdk/dynalink/linker/LinkerServices;)Ljdk/dynalink/linker/GuardedInvocation;
areturn
5: StackMap locals: java.lang.Object
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/dynalink/beans/StaticClassLinker;
0 6 1 request Ljdk/dynalink/linker/LinkRequest;
0 6 2 linkerServices Ljdk/dynalink/linker/LinkerServices;
1 6 3 receiver Ljava/lang/Object;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
request final
linkerServices final
public boolean canLinkType(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc Ljdk/dynalink/beans/StaticClass;
if_acmpne 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 Ljdk/dynalink/beans/StaticClassLinker;
0 2 1 type Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
type final
private static boolean isClass(java.lang.Class<?>, );
descriptor: (Ljava/lang/Class;Ljava/lang/Object;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof jdk.dynalink.beans.StaticClass
ifeq 1
aload 1
checkcast jdk.dynalink.beans.StaticClass
invokevirtual jdk.dynalink.beans.StaticClass.getRepresentedClass:()Ljava/lang/Class;
aload 0
if_acmpne 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 clazz Ljava/lang/Class<*>;
0 2 1 obj Ljava/lang/Object;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Object;)Z
MethodParameters:
Name Flags
clazz final
obj final
}
SourceFile: "StaticClassLinker.java"
NestMembers:
jdk.dynalink.beans.StaticClassLinker$1 jdk.dynalink.beans.StaticClassLinker$SingleClassStaticsLinker
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
jdk.dynalink.beans.StaticClassLinker$1
private SingleClassStaticsLinker = jdk.dynalink.beans.StaticClassLinker$SingleClassStaticsLinker of jdk.dynalink.beans.StaticClassLinker