public class jdk.internal.reflect.ReflectionFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.reflect.ReflectionFactory
super_class: java.lang.Object
{
private static boolean initted;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final jdk.internal.reflect.ReflectionFactory soleInstance;
descriptor: Ljdk/internal/reflect/ReflectionFactory;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static volatile java.lang.reflect.Method hasStaticInitializerMethod;
descriptor: Ljava/lang/reflect/Method;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static boolean noInflation;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int inflationThreshold;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean disableSerialConstructorChecks;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private final jdk.internal.access.JavaLangReflectAccess langReflectAccess;
descriptor: Ljdk/internal/access/JavaLangReflectAccess;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Ljdk/internal/reflect/ReflectionFactory;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.internal.reflect.ReflectionFactory.$assertionsDisabled:Z
3: iconst_0
putstatic jdk.internal.reflect.ReflectionFactory.initted:Z
4: new jdk.internal.reflect.ReflectionFactory
dup
invokespecial jdk.internal.reflect.ReflectionFactory.<init>:()V
putstatic jdk.internal.reflect.ReflectionFactory.soleInstance:Ljdk/internal/reflect/ReflectionFactory;
5: iconst_0
putstatic jdk.internal.reflect.ReflectionFactory.noInflation:Z
6: bipush 15
putstatic jdk.internal.reflect.ReflectionFactory.inflationThreshold:I
7: iconst_0
putstatic jdk.internal.reflect.ReflectionFactory.disableSerialConstructorChecks:Z
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic jdk.internal.access.SharedSecrets.getJavaLangReflectAccess:()Ljdk/internal/access/JavaLangReflectAccess;
putfield jdk.internal.reflect.ReflectionFactory.langReflectAccess:Ljdk/internal/access/JavaLangReflectAccess;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/reflect/ReflectionFactory;
public static jdk.internal.reflect.ReflectionFactory getReflectionFactory();
descriptor: ()Ljdk/internal/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 5
2: aload 0
3: getstatic sun.security.util.SecurityConstants.REFLECTION_FACTORY_ACCESS_PERMISSION:Ljava/lang/RuntimePermission;
4: invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
5: StackMap locals: java.lang.SecurityManager
StackMap stack:
getstatic jdk.internal.reflect.ReflectionFactory.soleInstance:Ljdk/internal/reflect/ReflectionFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 6 0 security Ljava/lang/SecurityManager;
private static java.lang.reflect.Method findMethodForReflection(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Ljava/lang/reflect/Method;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "reflected$"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
2: aload 1
aload 0
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
3: areturn
4: StackMap locals: java.lang.reflect.Method java.lang.String
StackMap stack: java.lang.NoSuchMethodException
pop
5: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 method Ljava/lang/reflect/Method;
1 6 1 altName Ljava/lang/String;
Exception table:
from to target type
1 3 4 Class java.lang.NoSuchMethodException
MethodParameters:
Name Flags
method
public jdk.internal.reflect.FieldAccessor newFieldAccessor(java.lang.reflect.Field, boolean);
descriptor: (Ljava/lang/reflect/Field;Z)Ljdk/internal/reflect/FieldAccessor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: invokestatic jdk.internal.reflect.ReflectionFactory.checkInitted:()V
1: aload 0
getfield jdk.internal.reflect.ReflectionFactory.langReflectAccess:Ljdk/internal/access/JavaLangReflectAccess;
aload 1
invokeinterface jdk.internal.access.JavaLangReflectAccess.getRoot:(Ljava/lang/reflect/AccessibleObject;)Ljava/lang/reflect/AccessibleObject;
checkcast java.lang.reflect.Field
astore 3
start local 3 2: aload 3
ifnull 5
3: aload 3
invokevirtual java.lang.reflect.Field.getModifiers:()I
aload 1
invokevirtual java.lang.reflect.Field.getModifiers:()I
if_icmpeq 4
iload 2
ifne 5
4: StackMap locals: java.lang.reflect.Field
StackMap stack:
aload 3
astore 1
5: StackMap locals:
StackMap stack:
aload 1
iload 2
invokestatic jdk.internal.reflect.UnsafeFieldAccessorFactory.newFieldAccessor:(Ljava/lang/reflect/Field;Z)Ljdk/internal/reflect/FieldAccessor;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/reflect/ReflectionFactory;
0 6 1 field Ljava/lang/reflect/Field;
0 6 2 override Z
2 6 3 root Ljava/lang/reflect/Field;
MethodParameters:
Name Flags
field
override
public jdk.internal.reflect.MethodAccessor newMethodAccessor(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Ljdk/internal/reflect/MethodAccessor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: invokestatic jdk.internal.reflect.ReflectionFactory.checkInitted:()V
1: aload 1
invokestatic jdk.internal.reflect.Reflection.isCallerSensitive:(Ljava/lang/reflect/Method;)Z
ifeq 5
2: aload 1
invokestatic jdk.internal.reflect.ReflectionFactory.findMethodForReflection:(Ljava/lang/reflect/Method;)Ljava/lang/reflect/Method;
astore 2
start local 2 3: aload 2
ifnull 5
4: aload 2
astore 1
end local 2 5: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.reflect.ReflectionFactory.langReflectAccess:Ljdk/internal/access/JavaLangReflectAccess;
aload 1
invokeinterface jdk.internal.access.JavaLangReflectAccess.getRoot:(Ljava/lang/reflect/AccessibleObject;)Ljava/lang/reflect/AccessibleObject;
checkcast java.lang.reflect.Method
astore 2
start local 2 6: aload 2
ifnull 8
7: aload 2
astore 1
8: StackMap locals: java.lang.reflect.Method
StackMap stack:
getstatic jdk.internal.reflect.ReflectionFactory.noInflation:Z
ifeq 18
aload 1
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
invokestatic sun.reflect.misc.ReflectUtil.isVMAnonymousClass:(Ljava/lang/Class;)Z
ifne 18
9: new jdk.internal.reflect.MethodAccessorGenerator
dup
invokespecial jdk.internal.reflect.MethodAccessorGenerator.<init>:()V
10: aload 1
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
11: aload 1
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
12: aload 1
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
13: aload 1
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
14: aload 1
invokevirtual java.lang.reflect.Method.getExceptionTypes:()[Ljava/lang/Class;
15: aload 1
invokevirtual java.lang.reflect.Method.getModifiers:()I
16: invokevirtual jdk.internal.reflect.MethodAccessorGenerator.generateMethod:(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;Ljava/lang/Class;[Ljava/lang/Class;I)Ljdk/internal/reflect/MethodAccessor;
17: areturn
18: StackMap locals:
StackMap stack:
new jdk.internal.reflect.NativeMethodAccessorImpl
dup
aload 1
invokespecial jdk.internal.reflect.NativeMethodAccessorImpl.<init>:(Ljava/lang/reflect/Method;)V
19: astore 3
start local 3 20: new jdk.internal.reflect.DelegatingMethodAccessorImpl
dup
aload 3
invokespecial jdk.internal.reflect.DelegatingMethodAccessorImpl.<init>:(Ljdk/internal/reflect/MethodAccessorImpl;)V
21: astore 4
start local 4 22: aload 3
aload 4
invokevirtual jdk.internal.reflect.NativeMethodAccessorImpl.setParent:(Ljdk/internal/reflect/DelegatingMethodAccessorImpl;)V
23: 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 24 0 this Ljdk/internal/reflect/ReflectionFactory;
0 24 1 method Ljava/lang/reflect/Method;
3 5 2 altMethod Ljava/lang/reflect/Method;
6 24 2 root Ljava/lang/reflect/Method;
20 24 3 acc Ljdk/internal/reflect/NativeMethodAccessorImpl;
22 24 4 res Ljdk/internal/reflect/DelegatingMethodAccessorImpl;
MethodParameters:
Name Flags
method
public jdk.internal.reflect.ConstructorAccessor newConstructorAccessor(java.lang.reflect.Constructor<?>);
descriptor: (Ljava/lang/reflect/Constructor;)Ljdk/internal/reflect/ConstructorAccessor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: invokestatic jdk.internal.reflect.ReflectionFactory.checkInitted:()V
1: aload 1
invokevirtual java.lang.reflect.Constructor.getDeclaringClass:()Ljava/lang/Class;
astore 2
start local 2 2: aload 2
invokevirtual java.lang.Class.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isAbstract:(I)Z
ifeq 4
3: new jdk.internal.reflect.InstantiationExceptionConstructorAccessorImpl
dup
aconst_null
invokespecial jdk.internal.reflect.InstantiationExceptionConstructorAccessorImpl.<init>:(Ljava/lang/String;)V
areturn
4: StackMap locals: java.lang.Class
StackMap stack:
aload 2
ldc Ljava/lang/Class;
if_acmpne 8
5: new jdk.internal.reflect.InstantiationExceptionConstructorAccessorImpl
dup
6: ldc "Can not instantiate java.lang.Class"
7: invokespecial jdk.internal.reflect.InstantiationExceptionConstructorAccessorImpl.<init>:(Ljava/lang/String;)V
areturn
8: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.reflect.ReflectionFactory.langReflectAccess:Ljdk/internal/access/JavaLangReflectAccess;
aload 1
invokeinterface jdk.internal.access.JavaLangReflectAccess.getRoot:(Ljava/lang/reflect/AccessibleObject;)Ljava/lang/reflect/AccessibleObject;
checkcast java.lang.reflect.Constructor
astore 3
start local 3 9: aload 3
ifnull 11
10: aload 3
astore 1
11: StackMap locals: java.lang.reflect.Constructor
StackMap stack:
aload 2
12: ldc Ljdk/internal/reflect/ConstructorAccessorImpl;
13: invokestatic jdk.internal.reflect.Reflection.isSubclassOf:(Ljava/lang/Class;Ljava/lang/Class;)Z
14: ifeq 16
15: new jdk.internal.reflect.BootstrapConstructorAccessorImpl
dup
aload 1
invokespecial jdk.internal.reflect.BootstrapConstructorAccessorImpl.<init>:(Ljava/lang/reflect/Constructor;)V
areturn
16: StackMap locals:
StackMap stack:
getstatic jdk.internal.reflect.ReflectionFactory.noInflation:Z
ifeq 24
aload 1
invokevirtual java.lang.reflect.Constructor.getDeclaringClass:()Ljava/lang/Class;
invokestatic sun.reflect.misc.ReflectUtil.isVMAnonymousClass:(Ljava/lang/Class;)Z
ifne 24
17: new jdk.internal.reflect.MethodAccessorGenerator
dup
invokespecial jdk.internal.reflect.MethodAccessorGenerator.<init>:()V
18: aload 1
invokevirtual java.lang.reflect.Constructor.getDeclaringClass:()Ljava/lang/Class;
19: aload 1
invokevirtual java.lang.reflect.Constructor.getParameterTypes:()[Ljava/lang/Class;
20: aload 1
invokevirtual java.lang.reflect.Constructor.getExceptionTypes:()[Ljava/lang/Class;
21: aload 1
invokevirtual java.lang.reflect.Constructor.getModifiers:()I
22: invokevirtual jdk.internal.reflect.MethodAccessorGenerator.generateConstructor:(Ljava/lang/Class;[Ljava/lang/Class;[Ljava/lang/Class;I)Ljdk/internal/reflect/ConstructorAccessor;
23: areturn
24: StackMap locals:
StackMap stack:
new jdk.internal.reflect.NativeConstructorAccessorImpl
dup
aload 1
invokespecial jdk.internal.reflect.NativeConstructorAccessorImpl.<init>:(Ljava/lang/reflect/Constructor;)V
25: astore 4
start local 4 26: new jdk.internal.reflect.DelegatingConstructorAccessorImpl
dup
aload 4
invokespecial jdk.internal.reflect.DelegatingConstructorAccessorImpl.<init>:(Ljdk/internal/reflect/ConstructorAccessorImpl;)V
27: astore 5
start local 5 28: aload 4
aload 5
invokevirtual jdk.internal.reflect.NativeConstructorAccessorImpl.setParent:(Ljdk/internal/reflect/DelegatingConstructorAccessorImpl;)V
29: aload 5
areturn
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 30 0 this Ljdk/internal/reflect/ReflectionFactory;
0 30 1 c Ljava/lang/reflect/Constructor<*>;
2 30 2 declaringClass Ljava/lang/Class<*>;
9 30 3 root Ljava/lang/reflect/Constructor<*>;
26 30 4 acc Ljdk/internal/reflect/NativeConstructorAccessorImpl;
28 30 5 res Ljdk/internal/reflect/DelegatingConstructorAccessorImpl;
Signature: (Ljava/lang/reflect/Constructor<*>;)Ljdk/internal/reflect/ConstructorAccessor;
MethodParameters:
Name Flags
c
public java.lang.reflect.Constructor<?> newConstructor(java.lang.Class<?>, java.lang.Class<?>[], java.lang.Class<?>[], int, int, java.lang.String, byte[], byte[]);
descriptor: (Ljava/lang/Class;[Ljava/lang/Class;[Ljava/lang/Class;IILjava/lang/String;[B[B)Ljava/lang/reflect/Constructor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=9, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 0
getfield jdk.internal.reflect.ReflectionFactory.langReflectAccess:Ljdk/internal/access/JavaLangReflectAccess;
aload 1
1: aload 2
2: aload 3
3: iload 4
4: iload 5
5: aload 6
6: aload 7
7: aload 8
8: invokeinterface jdk.internal.access.JavaLangReflectAccess.newConstructor:(Ljava/lang/Class;[Ljava/lang/Class;[Ljava/lang/Class;IILjava/lang/String;[B[B)Ljava/lang/reflect/Constructor;
areturn
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 9 0 this Ljdk/internal/reflect/ReflectionFactory;
0 9 1 declaringClass Ljava/lang/Class<*>;
0 9 2 parameterTypes [Ljava/lang/Class;
0 9 3 checkedExceptions [Ljava/lang/Class;
0 9 4 modifiers I
0 9 5 slot I
0 9 6 signature Ljava/lang/String;
0 9 7 annotations [B
0 9 8 parameterAnnotations [B
Signature: (Ljava/lang/Class<*>;[Ljava/lang/Class<*>;[Ljava/lang/Class<*>;IILjava/lang/String;[B[B)Ljava/lang/reflect/Constructor<*>;
MethodParameters:
Name Flags
declaringClass
parameterTypes
checkedExceptions
modifiers
slot
signature
annotations
parameterAnnotations
public jdk.internal.reflect.ConstructorAccessor getConstructorAccessor(java.lang.reflect.Constructor<?>);
descriptor: (Ljava/lang/reflect/Constructor;)Ljdk/internal/reflect/ConstructorAccessor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.reflect.ReflectionFactory.langReflectAccess:Ljdk/internal/access/JavaLangReflectAccess;
aload 1
invokeinterface jdk.internal.access.JavaLangReflectAccess.getConstructorAccessor:(Ljava/lang/reflect/Constructor;)Ljdk/internal/reflect/ConstructorAccessor;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/reflect/ReflectionFactory;
0 1 1 c Ljava/lang/reflect/Constructor<*>;
Signature: (Ljava/lang/reflect/Constructor<*>;)Ljdk/internal/reflect/ConstructorAccessor;
MethodParameters:
Name Flags
c
public void setConstructorAccessor(java.lang.reflect.Constructor<?>, jdk.internal.reflect.ConstructorAccessor);
descriptor: (Ljava/lang/reflect/Constructor;Ljdk/internal/reflect/ConstructorAccessor;)V
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.internal.reflect.ReflectionFactory.langReflectAccess:Ljdk/internal/access/JavaLangReflectAccess;
aload 1
aload 2
invokeinterface jdk.internal.access.JavaLangReflectAccess.setConstructorAccessor:(Ljava/lang/reflect/Constructor;Ljdk/internal/reflect/ConstructorAccessor;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/reflect/ReflectionFactory;
0 2 1 c Ljava/lang/reflect/Constructor<*>;
0 2 2 accessor Ljdk/internal/reflect/ConstructorAccessor;
Signature: (Ljava/lang/reflect/Constructor<*>;Ljdk/internal/reflect/ConstructorAccessor;)V
MethodParameters:
Name Flags
c
accessor
public java.lang.reflect.Method copyMethod(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Ljava/lang/reflect/Method;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.reflect.ReflectionFactory.langReflectAccess:Ljdk/internal/access/JavaLangReflectAccess;
aload 1
invokeinterface jdk.internal.access.JavaLangReflectAccess.copyMethod:(Ljava/lang/reflect/Method;)Ljava/lang/reflect/Method;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/reflect/ReflectionFactory;
0 1 1 arg Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
arg
public java.lang.reflect.Method leafCopyMethod(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Ljava/lang/reflect/Method;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.reflect.ReflectionFactory.langReflectAccess:Ljdk/internal/access/JavaLangReflectAccess;
aload 1
invokeinterface jdk.internal.access.JavaLangReflectAccess.leafCopyMethod:(Ljava/lang/reflect/Method;)Ljava/lang/reflect/Method;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/reflect/ReflectionFactory;
0 1 1 arg Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
arg
public java.lang.reflect.Field copyField(java.lang.reflect.Field);
descriptor: (Ljava/lang/reflect/Field;)Ljava/lang/reflect/Field;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.reflect.ReflectionFactory.langReflectAccess:Ljdk/internal/access/JavaLangReflectAccess;
aload 1
invokeinterface jdk.internal.access.JavaLangReflectAccess.copyField:(Ljava/lang/reflect/Field;)Ljava/lang/reflect/Field;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/reflect/ReflectionFactory;
0 1 1 arg Ljava/lang/reflect/Field;
MethodParameters:
Name Flags
arg
public <T> java.lang.reflect.Constructor<T> copyConstructor(java.lang.reflect.Constructor<T>);
descriptor: (Ljava/lang/reflect/Constructor;)Ljava/lang/reflect/Constructor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.reflect.ReflectionFactory.langReflectAccess:Ljdk/internal/access/JavaLangReflectAccess;
aload 1
invokeinterface jdk.internal.access.JavaLangReflectAccess.copyConstructor:(Ljava/lang/reflect/Constructor;)Ljava/lang/reflect/Constructor;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/reflect/ReflectionFactory;
0 1 1 arg Ljava/lang/reflect/Constructor<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/reflect/Constructor<TT;>;)Ljava/lang/reflect/Constructor<TT;>;
MethodParameters:
Name Flags
arg
public byte[] getExecutableTypeAnnotationBytes(java.lang.reflect.Executable);
descriptor: (Ljava/lang/reflect/Executable;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.reflect.ReflectionFactory.langReflectAccess:Ljdk/internal/access/JavaLangReflectAccess;
aload 1
invokeinterface jdk.internal.access.JavaLangReflectAccess.getExecutableTypeAnnotationBytes:(Ljava/lang/reflect/Executable;)[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/reflect/ReflectionFactory;
0 1 1 ex Ljava/lang/reflect/Executable;
MethodParameters:
Name Flags
ex
public java.lang.Class<?>[] getExecutableSharedParameterTypes(java.lang.reflect.Executable);
descriptor: (Ljava/lang/reflect/Executable;)[Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.reflect.ReflectionFactory.langReflectAccess:Ljdk/internal/access/JavaLangReflectAccess;
aload 1
invokeinterface jdk.internal.access.JavaLangReflectAccess.getExecutableSharedParameterTypes:(Ljava/lang/reflect/Executable;)[Ljava/lang/Class;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/reflect/ReflectionFactory;
0 1 1 ex Ljava/lang/reflect/Executable;
Signature: (Ljava/lang/reflect/Executable;)[Ljava/lang/Class<*>;
MethodParameters:
Name Flags
ex
public <T> T newInstance(java.lang.reflect.Constructor<T>, [], java.lang.Class<?>);
descriptor: (Ljava/lang/reflect/Constructor;[Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
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.internal.reflect.ReflectionFactory.langReflectAccess:Ljdk/internal/access/JavaLangReflectAccess;
aload 1
aload 2
aload 3
invokeinterface jdk.internal.access.JavaLangReflectAccess.newInstance:(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/reflect/ReflectionFactory;
0 1 1 ctor Ljava/lang/reflect/Constructor<TT;>;
0 1 2 args [Ljava/lang/Object;
0 1 3 caller Ljava/lang/Class<*>;
Exceptions:
throws java.lang.IllegalAccessException, java.lang.InstantiationException, java.lang.reflect.InvocationTargetException
Signature: <T:Ljava/lang/Object;>(Ljava/lang/reflect/Constructor<TT;>;[Ljava/lang/Object;Ljava/lang/Class<*>;)TT;
MethodParameters:
Name Flags
ctor
args
caller
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=3, args_size=2
start local 0 start local 1 0: ldc Ljava/io/Externalizable;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 2
start local 2 3: aload 2
iconst_1
invokevirtual java.lang.reflect.Constructor.setAccessible:(Z)V
4: aload 2
5: areturn
end local 2 6: StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
pop
7: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/reflect/ReflectionFactory;
0 8 1 cl Ljava/lang/Class<*>;
3 6 2 cons Ljava/lang/reflect/Constructor<*>;
Exception table:
from to target type
2 5 6 Class java.lang.NoSuchMethodException
Signature: (Ljava/lang/Class<*>;)Ljava/lang/reflect/Constructor<*>;
MethodParameters:
Name Flags
cl
public final 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: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual java.lang.reflect.Constructor.getDeclaringClass:()Ljava/lang/Class;
aload 1
if_acmpne 3
1: aload 2
iconst_1
invokevirtual java.lang.reflect.Constructor.setAccessible:(Z)V
2: aload 2
areturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual jdk.internal.reflect.ReflectionFactory.generateConstructor:(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 4 0 this Ljdk/internal/reflect/ReflectionFactory;
0 4 1 cl Ljava/lang/Class<*>;
0 4 2 constructorToCall Ljava/lang/reflect/Constructor<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/reflect/Constructor<*>;)Ljava/lang/reflect/Constructor<*>;
MethodParameters:
Name Flags
cl
constructorToCall
private boolean superHasAccessibleConstructor(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
astore 2
start local 2 1: getstatic jdk.internal.reflect.ReflectionFactory.$assertionsDisabled:Z
ifne 2
ldc Ljava/io/Serializable;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: java.lang.Class
StackMap stack:
getstatic jdk.internal.reflect.ReflectionFactory.$assertionsDisabled:Z
ifne 3
aload 2
ifnonnull 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 1
aload 2
invokestatic jdk.internal.reflect.ReflectionFactory.packageEquals:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifeq 13
4: aload 2
invokevirtual java.lang.Class.getDeclaredConstructors:()[Ljava/lang/reflect/Constructor;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 9
StackMap locals: jdk.internal.reflect.ReflectionFactory java.lang.Class java.lang.Class top int int java.lang.reflect.Constructor[]
StackMap stack:
5: aload 6
iload 4
aaload
astore 3
start local 3 6: aload 3
invokevirtual java.lang.reflect.Constructor.getModifiers:()I
iconst_2
iand
ifne 8
7: iconst_1
ireturn
end local 3 8: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
iload 5
if_icmplt 5
10: aload 1
aload 2
invokestatic jdk.internal.reflect.Reflection.areNestMates:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifeq 12
11: iconst_1
ireturn
12: StackMap locals: jdk.internal.reflect.ReflectionFactory java.lang.Class java.lang.Class
StackMap stack:
iconst_0
ireturn
13: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.Class.getModifiers:()I
iconst_5
iand
ifne 15
14: iconst_0
ireturn
15: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.Class.getDeclaredConstructors:()[Ljava/lang/reflect/Constructor;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 20
StackMap locals: jdk.internal.reflect.ReflectionFactory java.lang.Class java.lang.Class top int int java.lang.reflect.Constructor[]
StackMap stack:
16: aload 6
iload 4
aaload
astore 3
start local 3 17: aload 3
invokevirtual java.lang.reflect.Constructor.getModifiers:()I
iconst_5
iand
ifeq 19
18: iconst_1
ireturn
end local 3 19: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
20: iload 4
iload 5
if_icmplt 16
21: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljdk/internal/reflect/ReflectionFactory;
0 22 1 cl Ljava/lang/Class<*>;
1 22 2 superCl Ljava/lang/Class<*>;
6 8 3 ctor Ljava/lang/reflect/Constructor<*>;
17 19 3 ctor Ljava/lang/reflect/Constructor<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
cl
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=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
astore 2
start local 2 1: goto 6
2: StackMap locals: java.lang.Class
StackMap stack:
aload 2
astore 3
start local 3 3: aload 2
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
dup
astore 2
ifnull 5
4: getstatic jdk.internal.reflect.ReflectionFactory.disableSerialConstructorChecks:Z
ifne 6
aload 0
aload 3
invokevirtual jdk.internal.reflect.ReflectionFactory.superHasAccessibleConstructor:(Ljava/lang/Class;)Z
ifne 6
5: StackMap locals: java.lang.Class
StackMap stack:
aconst_null
areturn
end local 3 6: StackMap locals:
StackMap stack:
ldc Ljava/io/Serializable;
aload 2
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 2
7: aload 2
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getDeclaredConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 3
start local 3 8: aload 3
invokevirtual java.lang.reflect.Constructor.getModifiers:()I
istore 4
start local 4 9: iload 4
iconst_2
iand
ifne 12
10: iload 4
iconst_5
iand
ifne 15
11: aload 1
aload 2
invokestatic jdk.internal.reflect.ReflectionFactory.packageEquals:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 15
12: StackMap locals: java.lang.reflect.Constructor int
StackMap stack:
aconst_null
areturn
end local 4 end local 3 13: StackMap locals: jdk.internal.reflect.ReflectionFactory java.lang.Class java.lang.Class
StackMap stack: java.lang.NoSuchMethodException
pop
14: aconst_null
areturn
start local 3 15: StackMap locals: java.lang.reflect.Constructor
StackMap stack:
aload 0
aload 1
aload 3
invokevirtual jdk.internal.reflect.ReflectionFactory.generateConstructor:(Ljava/lang/Class;Ljava/lang/reflect/Constructor;)Ljava/lang/reflect/Constructor;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/internal/reflect/ReflectionFactory;
0 16 1 cl Ljava/lang/Class<*>;
1 16 2 initCl Ljava/lang/Class<*>;
3 6 3 prev Ljava/lang/Class<*>;
8 13 3 constructorToCall Ljava/lang/reflect/Constructor<*>;
15 16 3 constructorToCall Ljava/lang/reflect/Constructor<*>;
9 13 4 mods I
Exception table:
from to target type
7 12 13 Class java.lang.NoSuchMethodException
Signature: (Ljava/lang/Class<*>;)Ljava/lang/reflect/Constructor<*>;
MethodParameters:
Name Flags
cl
private final java.lang.reflect.Constructor<?> generateConstructor(java.lang.Class<?>, java.lang.reflect.Constructor<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/reflect/Constructor;)Ljava/lang/reflect/Constructor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=10, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new jdk.internal.reflect.MethodAccessorGenerator
dup
invokespecial jdk.internal.reflect.MethodAccessorGenerator.<init>:()V
1: aload 1
2: aload 2
invokevirtual java.lang.reflect.Constructor.getParameterTypes:()[Ljava/lang/Class;
3: aload 2
invokevirtual java.lang.reflect.Constructor.getExceptionTypes:()[Ljava/lang/Class;
4: aload 2
invokevirtual java.lang.reflect.Constructor.getModifiers:()I
5: aload 2
invokevirtual java.lang.reflect.Constructor.getDeclaringClass:()Ljava/lang/Class;
6: invokevirtual jdk.internal.reflect.MethodAccessorGenerator.generateSerializationConstructor:(Ljava/lang/Class;[Ljava/lang/Class;[Ljava/lang/Class;ILjava/lang/Class;)Ljdk/internal/reflect/SerializationConstructorAccessorImpl;
7: astore 3
start local 3 8: aload 0
aload 2
invokevirtual java.lang.reflect.Constructor.getDeclaringClass:()Ljava/lang/Class;
9: aload 2
invokevirtual java.lang.reflect.Constructor.getParameterTypes:()[Ljava/lang/Class;
10: aload 2
invokevirtual java.lang.reflect.Constructor.getExceptionTypes:()[Ljava/lang/Class;
11: aload 2
invokevirtual java.lang.reflect.Constructor.getModifiers:()I
12: aload 0
getfield jdk.internal.reflect.ReflectionFactory.langReflectAccess:Ljdk/internal/access/JavaLangReflectAccess;
13: aload 2
invokeinterface jdk.internal.access.JavaLangReflectAccess.getConstructorSlot:(Ljava/lang/reflect/Constructor;)I
14: aload 0
getfield jdk.internal.reflect.ReflectionFactory.langReflectAccess:Ljdk/internal/access/JavaLangReflectAccess;
15: aload 2
invokeinterface jdk.internal.access.JavaLangReflectAccess.getConstructorSignature:(Ljava/lang/reflect/Constructor;)Ljava/lang/String;
16: aload 0
getfield jdk.internal.reflect.ReflectionFactory.langReflectAccess:Ljdk/internal/access/JavaLangReflectAccess;
17: aload 2
invokeinterface jdk.internal.access.JavaLangReflectAccess.getConstructorAnnotations:(Ljava/lang/reflect/Constructor;)[B
18: aload 0
getfield jdk.internal.reflect.ReflectionFactory.langReflectAccess:Ljdk/internal/access/JavaLangReflectAccess;
19: aload 2
invokeinterface jdk.internal.access.JavaLangReflectAccess.getConstructorParameterAnnotations:(Ljava/lang/reflect/Constructor;)[B
20: invokevirtual jdk.internal.reflect.ReflectionFactory.newConstructor:(Ljava/lang/Class;[Ljava/lang/Class;[Ljava/lang/Class;IILjava/lang/String;[B[B)Ljava/lang/reflect/Constructor;
astore 4
start local 4 21: aload 0
aload 4
aload 3
invokevirtual jdk.internal.reflect.ReflectionFactory.setConstructorAccessor:(Ljava/lang/reflect/Constructor;Ljdk/internal/reflect/ConstructorAccessor;)V
22: aload 4
iconst_1
invokevirtual java.lang.reflect.Constructor.setAccessible:(Z)V
23: 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 24 0 this Ljdk/internal/reflect/ReflectionFactory;
0 24 1 cl Ljava/lang/Class<*>;
0 24 2 constructorToCall Ljava/lang/reflect/Constructor<*>;
8 24 3 acc Ljdk/internal/reflect/ConstructorAccessor;
21 24 4 c 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.invoke.MethodHandle readObjectForSerialization(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "readObject"
ldc Ljava/io/ObjectInputStream;
invokevirtual jdk.internal.reflect.ReflectionFactory.findReadWriteObjectForSerialization:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/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=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "readObjectNoData"
ldc Ljava/io/ObjectInputStream;
invokevirtual jdk.internal.reflect.ReflectionFactory.findReadWriteObjectForSerialization:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/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=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "writeObject"
ldc Ljava/io/ObjectOutputStream;
invokevirtual jdk.internal.reflect.ReflectionFactory.findReadWriteObjectForSerialization:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/reflect/ReflectionFactory;
0 1 1 cl Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
cl
private final java.lang.invoke.MethodHandle findReadWriteObjectForSerialization(java.lang.Class<?>, java.lang.String, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: ldc Ljava/io/Serializable;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
aload 2
iconst_1
anewarray java.lang.Class
dup
iconst_0
aload 3
aastore
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 4
start local 4 3: aload 4
invokevirtual java.lang.reflect.Method.getModifiers:()I
istore 5
start local 5 4: aload 4
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
if_acmpne 7
5: iload 5
invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
ifne 7
6: iload 5
invokestatic java.lang.reflect.Modifier.isPrivate:(I)Z
ifne 8
7: StackMap locals: java.lang.reflect.Method int
StackMap stack:
aconst_null
areturn
8: StackMap locals:
StackMap stack:
aload 4
iconst_1
invokevirtual java.lang.reflect.Method.setAccessible:(Z)V
9: invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
aload 4
invokevirtual java.lang.invoke.MethodHandles$Lookup.unreflect:(Ljava/lang/reflect/Method;)Ljava/lang/invoke/MethodHandle;
10: areturn
end local 5 end local 4 11: StackMap locals: jdk.internal.reflect.ReflectionFactory java.lang.Class java.lang.String java.lang.Class
StackMap stack: java.lang.NoSuchMethodException
pop
12: aconst_null
areturn
13: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 4
start local 4 14: new java.lang.InternalError
dup
ldc "Error"
aload 4
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/internal/reflect/ReflectionFactory;
0 15 1 cl Ljava/lang/Class<*>;
0 15 2 methodName Ljava/lang/String;
0 15 3 streamClass Ljava/lang/Class<*>;
3 11 4 meth Ljava/lang/reflect/Method;
4 11 5 mods I
14 15 4 ex1 Ljava/lang/IllegalAccessException;
Exception table:
from to target type
2 7 11 Class java.lang.NoSuchMethodException
8 10 11 Class java.lang.NoSuchMethodException
2 7 13 Class java.lang.IllegalAccessException
8 10 13 Class java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
cl
methodName
streamClass
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=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "writeReplace"
invokevirtual jdk.internal.reflect.ReflectionFactory.getReplaceResolveForSerialization:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/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=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "readResolve"
invokevirtual jdk.internal.reflect.ReflectionFactory.getReplaceResolveForSerialization:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/reflect/ReflectionFactory;
0 1 1 cl Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
cl
private java.lang.invoke.MethodHandle getReplaceResolveForSerialization(java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/invoke/MethodHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: ldc Ljava/io/Serializable;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
astore 3
start local 3 3: goto 22
4: StackMap locals: java.lang.Class
StackMap stack:
aload 3
aload 2
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 4
start local 4 5: aload 4
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
ldc Ljava/lang/Object;
if_acmpeq 7
6: aconst_null
areturn
7: StackMap locals: java.lang.reflect.Method
StackMap stack:
aload 4
invokevirtual java.lang.reflect.Method.getModifiers:()I
istore 5
start local 5 8: iload 5
invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
iload 5
invokestatic java.lang.reflect.Modifier.isAbstract:(I)Z
ior
ifeq 10
9: aconst_null
areturn
10: StackMap locals: int
StackMap stack:
iload 5
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
iload 5
invokestatic java.lang.reflect.Modifier.isProtected:(I)Z
ior
ifne 15
11: iload 5
invokestatic java.lang.reflect.Modifier.isPrivate:(I)Z
ifeq 13
aload 1
aload 3
if_acmpeq 13
12: aconst_null
areturn
13: StackMap locals:
StackMap stack:
aload 1
aload 3
invokestatic jdk.internal.reflect.ReflectionFactory.packageEquals:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 15
14: aconst_null
areturn
15: StackMap locals:
StackMap stack:
aload 4
iconst_1
invokevirtual java.lang.reflect.Method.setAccessible:(Z)V
16: invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
aload 4
invokevirtual java.lang.invoke.MethodHandles$Lookup.unreflect:(Ljava/lang/reflect/Method;)Ljava/lang/invoke/MethodHandle;
17: areturn
18: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 6
start local 6 19: new java.lang.InternalError
dup
ldc "Error"
aload 6
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 6 end local 5 end local 4 20: StackMap locals: jdk.internal.reflect.ReflectionFactory java.lang.Class java.lang.String java.lang.Class
StackMap stack: java.lang.NoSuchMethodException
pop
21: aload 3
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
astore 3
22: StackMap locals:
StackMap stack:
aload 3
ifnonnull 4
23: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Ljdk/internal/reflect/ReflectionFactory;
0 24 1 cl Ljava/lang/Class<*>;
0 24 2 methodName Ljava/lang/String;
3 24 3 defCl Ljava/lang/Class<*>;
5 20 4 m Ljava/lang/reflect/Method;
8 20 5 mods I
19 20 6 ex0 Ljava/lang/IllegalAccessException;
Exception table:
from to target type
15 17 18 Class java.lang.IllegalAccessException
4 6 20 Class java.lang.NoSuchMethodException
7 9 20 Class java.lang.NoSuchMethodException
10 12 20 Class java.lang.NoSuchMethodException
13 14 20 Class java.lang.NoSuchMethodException
15 17 20 Class java.lang.NoSuchMethodException
18 20 20 Class java.lang.NoSuchMethodException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
cl
methodName
public final boolean hasStaticInitializerForSerialization(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.reflect.ReflectionFactory.hasStaticInitializerMethod:Ljava/lang/reflect/Method;
astore 2
start local 2 1: aload 2
ifnonnull 12
2: ldc Ljava/io/ObjectStreamClass;
ldc "hasStaticInitializer"
3: iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Class;
aastore
4: invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 2
5: aload 2
iconst_1
invokevirtual java.lang.reflect.Method.setAccessible:(Z)V
6: aload 2
putstatic jdk.internal.reflect.ReflectionFactory.hasStaticInitializerMethod:Ljava/lang/reflect/Method;
7: goto 12
StackMap locals: jdk.internal.reflect.ReflectionFactory java.lang.Class java.lang.reflect.Method
StackMap stack: java.lang.NoSuchMethodException
8: astore 3
start local 3 9: new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "No such method hasStaticInitializer on "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
10: ldc Ljava/io/ObjectStreamClass;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
11: invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 12: StackMap locals:
StackMap stack:
aload 2
aconst_null
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
13: ireturn
14: StackMap locals:
StackMap stack: java.lang.ReflectiveOperationException
astore 3
start local 3 15: new java.lang.InternalError
dup
ldc "Exception invoking hasStaticInitializer"
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 16 0 this Ljdk/internal/reflect/ReflectionFactory;
0 16 1 cl Ljava/lang/Class<*>;
1 16 2 m Ljava/lang/reflect/Method;
9 12 3 ex Ljava/lang/NoSuchMethodException;
15 16 3 ex Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
2 7 8 Class java.lang.NoSuchMethodException
12 13 14 Class java.lang.reflect.InvocationTargetException
12 13 14 Class java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
cl
public final java.lang.reflect.Constructor<java.io.OptionalDataException> newOptionalDataExceptionForSerialization();
descriptor: ()Ljava/lang/reflect/Constructor;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=2, args_size=1
start local 0 0: ldc Ljava/io/OptionalDataException;
iconst_1
anewarray java.lang.Class
dup
iconst_0
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
aastore
invokevirtual java.lang.Class.getDeclaredConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
1: astore 1
start local 1 2: aload 1
iconst_1
invokevirtual java.lang.reflect.Constructor.setAccessible:(Z)V
3: aload 1
4: areturn
end local 1 5: StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
astore 1
start local 1 6: new java.lang.InternalError
dup
ldc "Constructor not found"
aload 1
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/reflect/ReflectionFactory;
2 5 1 boolCtor Ljava/lang/reflect/Constructor<Ljava/io/OptionalDataException;>;
6 7 1 ex Ljava/lang/NoSuchMethodException;
Exception table:
from to target type
0 4 5 Class java.lang.NoSuchMethodException
Signature: ()Ljava/lang/reflect/Constructor<Ljava/io/OptionalDataException;>;
static int inflationThreshold();
descriptor: ()I
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.internal.reflect.ReflectionFactory.inflationThreshold:I
ireturn
LocalVariableTable:
Start End Slot Name Signature
private static void checkInitted();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=0
0: getstatic jdk.internal.reflect.ReflectionFactory.initted:Z
ifeq 1
return
1: StackMap locals:
StackMap stack:
invokestatic jdk.internal.misc.VM.isModuleSystemInited:()Z
ifne 3
2: return
3: StackMap locals:
StackMap stack:
invokestatic sun.security.action.GetPropertyAction.privilegedGetProperties:()Ljava/util/Properties;
astore 0
start local 0 4: aload 0
ldc "sun.reflect.noInflation"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 5: aload 1
ifnull 7
aload 1
ldc "true"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
6: iconst_1
putstatic jdk.internal.reflect.ReflectionFactory.noInflation:Z
7: StackMap locals: java.util.Properties java.lang.String
StackMap stack:
aload 0
ldc "sun.reflect.inflationThreshold"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
8: aload 1
ifnull 13
9: aload 1
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putstatic jdk.internal.reflect.ReflectionFactory.inflationThreshold:I
10: goto 13
StackMap locals:
StackMap stack: java.lang.NumberFormatException
11: astore 2
start local 2 12: new java.lang.RuntimeException
dup
ldc "Unable to parse property sun.reflect.inflationThreshold"
aload 2
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 13: StackMap locals:
StackMap stack:
ldc "true"
aload 0
ldc "jdk.disableSerialConstructorChecks"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
14: putstatic jdk.internal.reflect.ReflectionFactory.disableSerialConstructorChecks:Z
15: iconst_1
putstatic jdk.internal.reflect.ReflectionFactory.initted:Z
16: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
4 17 0 props Ljava/util/Properties;
5 17 1 val Ljava/lang/String;
12 13 2 e Ljava/lang/NumberFormatException;
Exception table:
from to target type
9 10 11 Class java.lang.NumberFormatException
private static boolean packageEquals(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.reflect.ReflectionFactory.$assertionsDisabled:Z
ifne 2
aload 0
invokevirtual java.lang.Class.isArray:()Z
ifne 1
aload 1
invokevirtual java.lang.Class.isArray:()Z
ifeq 2
StackMap locals:
StackMap stack:
1: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
if_acmpne 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
aload 1
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
if_acmpne 7
5: aload 0
invokevirtual java.lang.Class.getPackageName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.Class.getPackageName:()Ljava/lang/String;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 7
6: iconst_1
ireturn
StackMap locals:
StackMap stack:
7: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 cl1 Ljava/lang/Class<*>;
0 8 1 cl2 Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
cl1
cl2
}
SourceFile: "ReflectionFactory.java"
NestMembers:
jdk.internal.reflect.ReflectionFactory$GetReflectionFactoryAction
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final GetReflectionFactoryAction = jdk.internal.reflect.ReflectionFactory$GetReflectionFactoryAction of jdk.internal.reflect.ReflectionFactory