public final class org.graalvm.compiler.serviceprovider.JDK9Method
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.serviceprovider.JDK9Method
super_class: java.lang.Object
{
public static final int JAVA_SPECIFICATION_VERSION;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final boolean Java8OrEarlier;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public final java.lang.reflect.Method method;
descriptor: Ljava/lang/reflect/Method;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public static final org.graalvm.compiler.serviceprovider.JDK9Method getModule;
descriptor: Lorg/graalvm/compiler/serviceprovider/JDK9Method;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.serviceprovider.JDK9Method getPackages;
descriptor: Lorg/graalvm/compiler/serviceprovider/JDK9Method;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.serviceprovider.JDK9Method getResourceAsStream;
descriptor: Lorg/graalvm/compiler/serviceprovider/JDK9Method;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.serviceprovider.JDK9Method addOpens;
descriptor: Lorg/graalvm/compiler/serviceprovider/JDK9Method;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.serviceprovider.JDK9Method isOpenTo;
descriptor: Lorg/graalvm/compiler/serviceprovider/JDK9Method;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, 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=8, locals=1, args_size=0
0: ldc Lorg/graalvm/compiler/serviceprovider/JDK9Method;
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 org.graalvm.compiler.serviceprovider.JDK9Method.$assertionsDisabled:Z
3: invokestatic org.graalvm.compiler.serviceprovider.JDK9Method.getJavaSpecificationVersion:()I
putstatic org.graalvm.compiler.serviceprovider.JDK9Method.JAVA_SPECIFICATION_VERSION:I
4: getstatic org.graalvm.compiler.serviceprovider.JDK9Method.JAVA_SPECIFICATION_VERSION:I
bipush 8
if_icmpgt 5
iconst_1
goto 6
StackMap locals:
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: putstatic org.graalvm.compiler.serviceprovider.JDK9Method.Java8OrEarlier:Z
7: getstatic org.graalvm.compiler.serviceprovider.JDK9Method.JAVA_SPECIFICATION_VERSION:I
bipush 9
if_icmplt 15
8: new org.graalvm.compiler.serviceprovider.JDK9Method
dup
ldc Ljava/lang/Class;
ldc "getModule"
iconst_0
anewarray java.lang.Class
invokespecial org.graalvm.compiler.serviceprovider.JDK9Method.<init>:(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)V
putstatic org.graalvm.compiler.serviceprovider.JDK9Method.getModule:Lorg/graalvm/compiler/serviceprovider/JDK9Method;
9: getstatic org.graalvm.compiler.serviceprovider.JDK9Method.getModule:Lorg/graalvm/compiler/serviceprovider/JDK9Method;
invokevirtual org.graalvm.compiler.serviceprovider.JDK9Method.getReturnType:()Ljava/lang/Class;
astore 0
start local 0 10: new org.graalvm.compiler.serviceprovider.JDK9Method
dup
aload 0
ldc "getPackages"
iconst_0
anewarray java.lang.Class
invokespecial org.graalvm.compiler.serviceprovider.JDK9Method.<init>:(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)V
putstatic org.graalvm.compiler.serviceprovider.JDK9Method.getPackages:Lorg/graalvm/compiler/serviceprovider/JDK9Method;
11: new org.graalvm.compiler.serviceprovider.JDK9Method
dup
aload 0
ldc "addOpens"
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/String;
aastore
dup
iconst_1
aload 0
aastore
invokespecial org.graalvm.compiler.serviceprovider.JDK9Method.<init>:(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)V
putstatic org.graalvm.compiler.serviceprovider.JDK9Method.addOpens:Lorg/graalvm/compiler/serviceprovider/JDK9Method;
12: new org.graalvm.compiler.serviceprovider.JDK9Method
dup
aload 0
ldc "getResourceAsStream"
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/String;
aastore
invokespecial org.graalvm.compiler.serviceprovider.JDK9Method.<init>:(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)V
putstatic org.graalvm.compiler.serviceprovider.JDK9Method.getResourceAsStream:Lorg/graalvm/compiler/serviceprovider/JDK9Method;
13: new org.graalvm.compiler.serviceprovider.JDK9Method
dup
aload 0
ldc "isOpen"
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/String;
aastore
dup
iconst_1
aload 0
aastore
invokespecial org.graalvm.compiler.serviceprovider.JDK9Method.<init>:(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)V
putstatic org.graalvm.compiler.serviceprovider.JDK9Method.isOpenTo:Lorg/graalvm/compiler/serviceprovider/JDK9Method;
end local 0 14: goto 21
15: StackMap locals:
StackMap stack:
new org.graalvm.compiler.serviceprovider.JDK9Method
dup
invokespecial org.graalvm.compiler.serviceprovider.JDK9Method.<init>:()V
astore 0
start local 0 16: aload 0
putstatic org.graalvm.compiler.serviceprovider.JDK9Method.getModule:Lorg/graalvm/compiler/serviceprovider/JDK9Method;
17: aload 0
putstatic org.graalvm.compiler.serviceprovider.JDK9Method.getPackages:Lorg/graalvm/compiler/serviceprovider/JDK9Method;
18: aload 0
putstatic org.graalvm.compiler.serviceprovider.JDK9Method.addOpens:Lorg/graalvm/compiler/serviceprovider/JDK9Method;
19: aload 0
putstatic org.graalvm.compiler.serviceprovider.JDK9Method.getResourceAsStream:Lorg/graalvm/compiler/serviceprovider/JDK9Method;
20: aload 0
putstatic org.graalvm.compiler.serviceprovider.JDK9Method.isOpenTo:Lorg/graalvm/compiler/serviceprovider/JDK9Method;
end local 0 21: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
10 14 0 moduleClass Ljava/lang/Class<*>;
16 21 0 unavailable Lorg/graalvm/compiler/serviceprovider/JDK9Method;
private static int getJavaSpecificationVersion();
descriptor: ()I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: ldc "java.specification.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 1: aload 0
ldc "1."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 3
2: aload 0
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 0
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 value Ljava/lang/String;
public void <init>(java.lang.Class<?>, java.lang.String, java.lang.Class<?>[]);
descriptor: (Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=5, 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
aload 2
aload 3
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
putfield org.graalvm.compiler.serviceprovider.JDK9Method.method:Ljava/lang/reflect/Method;
2: goto 5
StackMap locals: org.graalvm.compiler.serviceprovider.JDK9Method java.lang.Class java.lang.String java.lang.Class[]
StackMap stack: java.lang.Exception
3: astore 4
start local 4 4: new java.lang.InternalError
dup
aload 4
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 5: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/serviceprovider/JDK9Method;
0 6 1 declaringClass Ljava/lang/Class<*>;
0 6 2 name Ljava/lang/String;
0 6 3 parameterTypes [Ljava/lang/Class;
4 5 4 e Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.lang.Exception
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;[Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
declaringClass
name
parameterTypes
public java.lang.Class<?> getReturnType();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.serviceprovider.JDK9Method.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/serviceprovider/JDK9Method;
Signature: ()Ljava/lang/Class<*>;
public <T> T invokeStatic([]);
descriptor: ([Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.compiler.serviceprovider.JDK9Method.checkAvailability:()V
1: getstatic org.graalvm.compiler.serviceprovider.JDK9Method.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.graalvm.compiler.serviceprovider.JDK9Method.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.serviceprovider.JDK9Method.method:Ljava/lang/reflect/Method;
aconst_null
aload 1
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
3: areturn
4: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 5: new java.lang.InternalError
dup
aload 2
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/serviceprovider/JDK9Method;
0 6 1 args [Ljava/lang/Object;
5 6 2 e Ljava/lang/Exception;
Exception table:
from to target type
2 3 4 Class java.lang.IllegalAccessException
2 3 4 Class java.lang.IllegalArgumentException
2 3 4 Class java.lang.reflect.InvocationTargetException
Signature: <T:Ljava/lang/Object;>([Ljava/lang/Object;)TT;
MethodParameters:
Name Flags
args
public <T> T invoke(, []);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.graalvm.compiler.serviceprovider.JDK9Method.checkAvailability:()V
1: getstatic org.graalvm.compiler.serviceprovider.JDK9Method.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.graalvm.compiler.serviceprovider.JDK9Method.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
ifeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.serviceprovider.JDK9Method.method:Ljava/lang/reflect/Method;
aload 1
aload 2
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
3: areturn
4: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 5: new java.lang.InternalError
dup
aload 3
invokespecial java.lang.InternalError.<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 6 0 this Lorg/graalvm/compiler/serviceprovider/JDK9Method;
0 6 1 receiver Ljava/lang/Object;
0 6 2 args [Ljava/lang/Object;
5 6 3 e Ljava/lang/Exception;
Exception table:
from to target type
2 3 4 Class java.lang.IllegalAccessException
2 3 4 Class java.lang.IllegalArgumentException
2 3 4 Class java.lang.reflect.InvocationTargetException
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Object;[Ljava/lang/Object;)TT;
MethodParameters:
Name Flags
receiver
args
private void checkAvailability();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.serviceprovider.JDK9Method.method:Ljava/lang/reflect/Method;
ifnonnull 2
1: new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Cannot use Module API on JDK "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic org.graalvm.compiler.serviceprovider.JDK9Method.JAVA_SPECIFICATION_VERSION:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/serviceprovider/JDK9Method;
Exceptions:
throws java.lang.InternalError
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
aconst_null
putfield org.graalvm.compiler.serviceprovider.JDK9Method.method:Ljava/lang/reflect/Method;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/serviceprovider/JDK9Method;
}
SourceFile: "JDK9Method.java"