public final class com.oracle.svm.util.ReflectionUtil
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.svm.util.ReflectionUtil
super_class: java.lang.Object
{
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
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/svm/util/ReflectionUtil;
private static void openModule(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc Lcom/oracle/svm/util/ReflectionUtil;
invokestatic com.oracle.svm.util.ModuleSupport.openModule:(Ljava/lang/Class;Ljava/lang/Class;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 declaringClass Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
declaringClass
public static java.lang.reflect.Method lookupMethod(java.lang.Class<?>, java.lang.String, java.lang.Class<?>[]);
descriptor: (Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 3
start local 3 1: aload 0
invokestatic com.oracle.svm.util.ReflectionUtil.openModule:(Ljava/lang/Class;)V
2: aload 3
iconst_1
invokevirtual java.lang.reflect.Method.setAccessible:(Z)V
3: aload 3
4: areturn
end local 3 5: StackMap locals:
StackMap stack: java.lang.ReflectiveOperationException
astore 3
start local 3 6: new com.oracle.svm.util.ReflectionUtil$ReflectionUtilError
dup
aload 3
invokespecial com.oracle.svm.util.ReflectionUtil$ReflectionUtilError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 declaringClass Ljava/lang/Class<*>;
0 7 1 methodName Ljava/lang/String;
0 7 2 parameterTypes [Ljava/lang/Class;
1 5 3 result Ljava/lang/reflect/Method;
6 7 3 ex Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
0 4 5 Class java.lang.ReflectiveOperationException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;[Ljava/lang/Class<*>;)Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
declaringClass
methodName
parameterTypes
public static <T> java.lang.reflect.Constructor<T> lookupConstructor(java.lang.Class<T>, java.lang.Class<?>[]);
descriptor: (Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.Class.getDeclaredConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 2
start local 2 1: aload 0
invokestatic com.oracle.svm.util.ReflectionUtil.openModule:(Ljava/lang/Class;)V
2: aload 2
iconst_1
invokevirtual java.lang.reflect.Constructor.setAccessible:(Z)V
3: aload 2
4: areturn
end local 2 5: StackMap locals:
StackMap stack: java.lang.ReflectiveOperationException
astore 2
start local 2 6: new com.oracle.svm.util.ReflectionUtil$ReflectionUtilError
dup
aload 2
invokespecial com.oracle.svm.util.ReflectionUtil$ReflectionUtilError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 declaringClass Ljava/lang/Class<TT;>;
0 7 1 parameterTypes [Ljava/lang/Class;
1 5 2 result Ljava/lang/reflect/Constructor<TT;>;
6 7 2 ex Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
0 4 5 Class java.lang.ReflectiveOperationException
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;[Ljava/lang/Class<*>;)Ljava/lang/reflect/Constructor<TT;>;
MethodParameters:
Name Flags
declaringClass
parameterTypes
public static <T> T newInstance(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
iconst_0
anewarray java.lang.Class
invokestatic com.oracle.svm.util.ReflectionUtil.lookupConstructor:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.ReflectiveOperationException
astore 1
start local 1 3: new com.oracle.svm.util.ReflectionUtil$ReflectionUtilError
dup
aload 1
invokespecial com.oracle.svm.util.ReflectionUtil$ReflectionUtilError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 declaringClass Ljava/lang/Class<TT;>;
3 4 1 ex Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
0 1 2 Class java.lang.ReflectiveOperationException
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
declaringClass
public static java.lang.reflect.Field lookupField(java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Field;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
astore 2
start local 2 1: aload 0
invokestatic com.oracle.svm.util.ReflectionUtil.openModule:(Ljava/lang/Class;)V
2: aload 2
iconst_1
invokevirtual java.lang.reflect.Field.setAccessible:(Z)V
3: aload 2
4: areturn
end local 2 5: StackMap locals:
StackMap stack: java.lang.ReflectiveOperationException
astore 2
start local 2 6: new com.oracle.svm.util.ReflectionUtil$ReflectionUtilError
dup
aload 2
invokespecial com.oracle.svm.util.ReflectionUtil$ReflectionUtilError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 declaringClass Ljava/lang/Class<*>;
0 7 1 fieldName Ljava/lang/String;
1 5 2 result Ljava/lang/reflect/Field;
6 7 2 ex Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
0 4 5 Class java.lang.ReflectiveOperationException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;)Ljava/lang/reflect/Field;
MethodParameters:
Name Flags
declaringClass
fieldName
public static <T> T readField(java.lang.Class<?>, java.lang.String, );
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokestatic com.oracle.svm.util.ReflectionUtil.lookupField:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Field;
aload 2
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.ReflectiveOperationException
astore 3
start local 3 3: new com.oracle.svm.util.ReflectionUtil$ReflectionUtilError
dup
aload 3
invokespecial com.oracle.svm.util.ReflectionUtil$ReflectionUtilError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 declaringClass Ljava/lang/Class<*>;
0 4 1 fieldName Ljava/lang/String;
0 4 2 receiver Ljava/lang/Object;
3 4 3 ex Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
0 1 2 Class java.lang.ReflectiveOperationException
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/Object;)TT;
MethodParameters:
Name Flags
declaringClass
fieldName
receiver
public static <T> T readStaticField(java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokestatic com.oracle.svm.util.ReflectionUtil.readField:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 declaringClass Ljava/lang/Class<*>;
0 1 1 fieldName Ljava/lang/String;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<*>;Ljava/lang/String;)TT;
MethodParameters:
Name Flags
declaringClass
fieldName
}
SourceFile: "ReflectionUtil.java"
NestMembers:
com.oracle.svm.util.ReflectionUtil$ReflectionUtilError
InnerClasses:
public final ReflectionUtilError = com.oracle.svm.util.ReflectionUtil$ReflectionUtilError of com.oracle.svm.util.ReflectionUtil