public class sun.reflect.ReflectionFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.reflect.ReflectionFactory
super_class: java.lang.Object
{
private static final sun.reflect.ReflectionFactory soleInstance;
descriptor: Lsun/reflect/ReflectionFactory;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.internal.reflect.ReflectionFactory delegate;
descriptor: Ljdk/internal/reflect/ReflectionFactory;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.security.Permission REFLECTION_FACTORY_ACCESS_PERM;
descriptor: Ljava/security/Permission;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new sun.reflect.ReflectionFactory
dup
invokespecial sun.reflect.ReflectionFactory.<init>:()V
putstatic sun.reflect.ReflectionFactory.soleInstance:Lsun/reflect/ReflectionFactory;
1: new sun.reflect.ReflectionFactory$1
dup
invokespecial sun.reflect.ReflectionFactory$1.<init>:()V
2: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast jdk.internal.reflect.ReflectionFactory
putstatic sun.reflect.ReflectionFactory.delegate:Ljdk/internal/reflect/ReflectionFactory;
3: new java.lang.RuntimePermission
dup
ldc "reflectionFactoryAccess"
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
4: putstatic sun.reflect.ReflectionFactory.REFLECTION_FACTORY_ACCESS_PERM:Ljava/security/Permission;
5: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
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 Lsun/reflect/ReflectionFactory;
public static sun.reflect.ReflectionFactory getReflectionFactory();
descriptor: ()Lsun/reflect/ReflectionFactory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 0
start local 0 1: aload 0
ifnull 3
2: aload 0
getstatic sun.reflect.ReflectionFactory.REFLECTION_FACTORY_ACCESS_PERM:Ljava/security/Permission;
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
getstatic sun.reflect.ReflectionFactory.soleInstance:Lsun/reflect/ReflectionFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 security Ljava/lang/SecurityManager;
public java.lang.reflect.Constructor<?> newConstructorForSerialization(java.lang.Class<?>, java.lang.reflect.Constructor<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/reflect/Constructor;)Ljava/lang/reflect/Constructor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic sun.reflect.ReflectionFactory.delegate:Ljdk/internal/reflect/ReflectionFactory;
aload 1
1: aload 2
2: invokevirtual jdk.internal.reflect.ReflectionFactory.newConstructorForSerialization:(Ljava/lang/Class;Ljava/lang/reflect/Constructor;)Ljava/lang/reflect/Constructor;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/reflect/ReflectionFactory;
0 3 1 cl Ljava/lang/Class<*>;
0 3 2 constructorToCall Ljava/lang/reflect/Constructor<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/reflect/Constructor<*>;)Ljava/lang/reflect/Constructor<*>;
MethodParameters:
Name Flags
cl
constructorToCall
public final java.lang.reflect.Constructor<?> newConstructorForSerialization(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.reflect.ReflectionFactory.delegate:Ljdk/internal/reflect/ReflectionFactory;
aload 1
invokevirtual jdk.internal.reflect.ReflectionFactory.newConstructorForSerialization:(Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/reflect/ReflectionFactory;
0 1 1 cl Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/reflect/Constructor<*>;
MethodParameters:
Name Flags
cl
public final java.lang.reflect.Constructor<?> newConstructorForExternalization(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.reflect.ReflectionFactory.delegate:Ljdk/internal/reflect/ReflectionFactory;
aload 1
invokevirtual jdk.internal.reflect.ReflectionFactory.newConstructorForExternalization:(Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/reflect/ReflectionFactory;
0 1 1 cl Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/reflect/Constructor<*>;
MethodParameters:
Name Flags
cl
public final java.lang.invoke.MethodHandle readObjectForSerialization(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.reflect.ReflectionFactory.delegate:Ljdk/internal/reflect/ReflectionFactory;
aload 1
invokevirtual jdk.internal.reflect.ReflectionFactory.readObjectForSerialization:(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/reflect/ReflectionFactory;
0 1 1 cl Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
cl
public final java.lang.invoke.MethodHandle readObjectNoDataForSerialization(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.reflect.ReflectionFactory.delegate:Ljdk/internal/reflect/ReflectionFactory;
aload 1
invokevirtual jdk.internal.reflect.ReflectionFactory.readObjectNoDataForSerialization:(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/reflect/ReflectionFactory;
0 1 1 cl Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
cl
public final java.lang.invoke.MethodHandle writeObjectForSerialization(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.reflect.ReflectionFactory.delegate:Ljdk/internal/reflect/ReflectionFactory;
aload 1
invokevirtual jdk.internal.reflect.ReflectionFactory.writeObjectForSerialization:(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/reflect/ReflectionFactory;
0 1 1 cl Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
cl
public final java.lang.invoke.MethodHandle readResolveForSerialization(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.reflect.ReflectionFactory.delegate:Ljdk/internal/reflect/ReflectionFactory;
aload 1
invokevirtual jdk.internal.reflect.ReflectionFactory.readResolveForSerialization:(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/reflect/ReflectionFactory;
0 1 1 cl Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
cl
public final java.lang.invoke.MethodHandle writeReplaceForSerialization(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.reflect.ReflectionFactory.delegate:Ljdk/internal/reflect/ReflectionFactory;
aload 1
invokevirtual jdk.internal.reflect.ReflectionFactory.writeReplaceForSerialization:(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/reflect/ReflectionFactory;
0 1 1 cl Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
cl
public final boolean hasStaticInitializerForSerialization(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.reflect.ReflectionFactory.delegate:Ljdk/internal/reflect/ReflectionFactory;
aload 1
invokevirtual jdk.internal.reflect.ReflectionFactory.hasStaticInitializerForSerialization:(Ljava/lang/Class;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/reflect/ReflectionFactory;
0 1 1 cl Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
cl
public final java.io.OptionalDataException newOptionalDataExceptionForSerialization(boolean);
descriptor: (Z)Ljava/io/OptionalDataException;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: getstatic sun.reflect.ReflectionFactory.delegate:Ljdk/internal/reflect/ReflectionFactory;
invokevirtual jdk.internal.reflect.ReflectionFactory.newOptionalDataExceptionForSerialization:()Ljava/lang/reflect/Constructor;
astore 2
start local 2 1: aload 2
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.io.OptionalDataException
2: areturn
3: StackMap locals: sun.reflect.ReflectionFactory int java.lang.reflect.Constructor
StackMap stack: java.lang.ReflectiveOperationException
astore 3
start local 3 4: new java.lang.InternalError
dup
ldc "unable to create OptionalDataException"
aload 3
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/reflect/ReflectionFactory;
0 5 1 bool Z
1 5 2 cons Ljava/lang/reflect/Constructor<Ljava/io/OptionalDataException;>;
4 5 3 ex Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
1 2 3 Class java.lang.InstantiationException
1 2 3 Class java.lang.IllegalAccessException
1 2 3 Class java.lang.reflect.InvocationTargetException
MethodParameters:
Name Flags
bool
}
SourceFile: "ReflectionFactory.java"
NestMembers:
sun.reflect.ReflectionFactory$1
InnerClasses:
sun.reflect.ReflectionFactory$1