public final class org.graalvm.compiler.core.common.util.ModuleAPI
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: org.graalvm.compiler.core.common.util.ModuleAPI
  super_class: java.lang.Object
{
  private final java.lang.reflect.Method method;
    descriptor: Ljava/lang/reflect/Method;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  public static final org.graalvm.compiler.core.common.util.ModuleAPI getModule;
    descriptor: Lorg/graalvm/compiler/core/common/util/ModuleAPI;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  public static final org.graalvm.compiler.core.common.util.ModuleAPI getResourceAsStream;
    descriptor: Lorg/graalvm/compiler/core/common/util/ModuleAPI;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  public static final org.graalvm.compiler.core.common.util.ModuleAPI canRead;
    descriptor: Lorg/graalvm/compiler/core/common/util/ModuleAPI;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  public static final org.graalvm.compiler.core.common.util.ModuleAPI isExported;
    descriptor: Lorg/graalvm/compiler/core/common/util/ModuleAPI;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  public static final org.graalvm.compiler.core.common.util.ModuleAPI isExportedTo;
    descriptor: Lorg/graalvm/compiler/core/common/util/ModuleAPI;
    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: .line 42
            ldc Lorg/graalvm/compiler/core/common/util/ModuleAPI;
            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.core.common.util.ModuleAPI.$assertionsDisabled:Z
         3: .line 110
            getstatic org.graalvm.compiler.core.common.util.Util.JAVA_SPECIFICATION_VERSION:I
            bipush 9
            if_icmplt 13
         4: .line 112
            new org.graalvm.compiler.core.common.util.ModuleAPI
            dup
            ldc Ljava/lang/Class;
            ldc "getModule"
            iconst_0
            anewarray java.lang.Class
            invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
            invokespecial org.graalvm.compiler.core.common.util.ModuleAPI.<init>:(Ljava/lang/reflect/Method;)V
            putstatic org.graalvm.compiler.core.common.util.ModuleAPI.getModule:Lorg/graalvm/compiler/core/common/util/ModuleAPI;
         5: .line 113
            getstatic org.graalvm.compiler.core.common.util.ModuleAPI.getModule:Lorg/graalvm/compiler/core/common/util/ModuleAPI;
            getfield org.graalvm.compiler.core.common.util.ModuleAPI.method:Ljava/lang/reflect/Method;
            invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
            astore 0 /* moduleClass */
        start local 0 // java.lang.Class moduleClass
         6: .line 114
            new org.graalvm.compiler.core.common.util.ModuleAPI
            dup
            aload 0 /* moduleClass */
            ldc "getResourceAsStream"
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Ljava/lang/String;
            aastore
            invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
            invokespecial org.graalvm.compiler.core.common.util.ModuleAPI.<init>:(Ljava/lang/reflect/Method;)V
            putstatic org.graalvm.compiler.core.common.util.ModuleAPI.getResourceAsStream:Lorg/graalvm/compiler/core/common/util/ModuleAPI;
         7: .line 115
            new org.graalvm.compiler.core.common.util.ModuleAPI
            dup
            aload 0 /* moduleClass */
            ldc "canRead"
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            aload 0 /* moduleClass */
            aastore
            invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
            invokespecial org.graalvm.compiler.core.common.util.ModuleAPI.<init>:(Ljava/lang/reflect/Method;)V
            putstatic org.graalvm.compiler.core.common.util.ModuleAPI.canRead:Lorg/graalvm/compiler/core/common/util/ModuleAPI;
         8: .line 116
            new org.graalvm.compiler.core.common.util.ModuleAPI
            dup
            aload 0 /* moduleClass */
            ldc "isExported"
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Ljava/lang/String;
            aastore
            invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
            invokespecial org.graalvm.compiler.core.common.util.ModuleAPI.<init>:(Ljava/lang/reflect/Method;)V
            putstatic org.graalvm.compiler.core.common.util.ModuleAPI.isExported:Lorg/graalvm/compiler/core/common/util/ModuleAPI;
         9: .line 117
            new org.graalvm.compiler.core.common.util.ModuleAPI
            dup
            aload 0 /* moduleClass */
            ldc "isExported"
            iconst_2
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Ljava/lang/String;
            aastore
            dup
            iconst_1
            aload 0 /* moduleClass */
            aastore
            invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
            invokespecial org.graalvm.compiler.core.common.util.ModuleAPI.<init>:(Ljava/lang/reflect/Method;)V
            putstatic org.graalvm.compiler.core.common.util.ModuleAPI.isExportedTo:Lorg/graalvm/compiler/core/common/util/ModuleAPI;
        end local 0 // java.lang.Class moduleClass
        10: .line 118
            goto 19
      StackMap locals:
      StackMap stack: java.lang.Exception
        11: astore 0 /* e */
        start local 0 // java.lang.Exception e
        12: .line 119
            new java.lang.InternalError
            dup
            aload 0 /* e */
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 0 // java.lang.Exception e
        13: .line 122
      StackMap locals:
      StackMap stack:
            new org.graalvm.compiler.core.common.util.ModuleAPI
            dup
            aconst_null
            invokespecial org.graalvm.compiler.core.common.util.ModuleAPI.<init>:(Ljava/lang/reflect/Method;)V
            astore 0 /* unavailable */
        start local 0 // org.graalvm.compiler.core.common.util.ModuleAPI unavailable
        14: .line 123
            aload 0 /* unavailable */
            putstatic org.graalvm.compiler.core.common.util.ModuleAPI.getModule:Lorg/graalvm/compiler/core/common/util/ModuleAPI;
        15: .line 124
            aload 0 /* unavailable */
            putstatic org.graalvm.compiler.core.common.util.ModuleAPI.getResourceAsStream:Lorg/graalvm/compiler/core/common/util/ModuleAPI;
        16: .line 125
            aload 0 /* unavailable */
            putstatic org.graalvm.compiler.core.common.util.ModuleAPI.canRead:Lorg/graalvm/compiler/core/common/util/ModuleAPI;
        17: .line 126
            aload 0 /* unavailable */
            putstatic org.graalvm.compiler.core.common.util.ModuleAPI.isExported:Lorg/graalvm/compiler/core/common/util/ModuleAPI;
        18: .line 127
            aload 0 /* unavailable */
            putstatic org.graalvm.compiler.core.common.util.ModuleAPI.isExportedTo:Lorg/graalvm/compiler/core/common/util/ModuleAPI;
        end local 0 // org.graalvm.compiler.core.common.util.ModuleAPI unavailable
        19: .line 129
      StackMap locals:
      StackMap stack:
            return
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            6   10     0  moduleClass  Ljava/lang/Class<*>;
           12   13     0            e  Ljava/lang/Exception;
           14   19     0  unavailable  Lorg/graalvm/compiler/core/common/util/ModuleAPI;
      Exception table:
        from    to  target  type
           4    10      11  Class java.lang.NoSuchMethodException
           4    10      11  Class java.lang.SecurityException

  private void <init>(java.lang.reflect.Method);
    descriptor: (Ljava/lang/reflect/Method;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.graalvm.compiler.core.common.util.ModuleAPI this
        start local 1 // java.lang.reflect.Method method
         0: .line 44
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 45
            aload 0 /* this */
            aload 1 /* method */
            putfield org.graalvm.compiler.core.common.util.ModuleAPI.method:Ljava/lang/reflect/Method;
         2: .line 46
            return
        end local 1 // java.lang.reflect.Method method
        end local 0 // org.graalvm.compiler.core.common.util.ModuleAPI this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Lorg/graalvm/compiler/core/common/util/ModuleAPI;
            0    3     1  method  Ljava/lang/reflect/Method;
    MethodParameters:
        Name  Flags
      method  

  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 // org.graalvm.compiler.core.common.util.ModuleAPI this
        start local 1 // java.lang.Object[] args
         0: .line 80
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.core.common.util.ModuleAPI.checkAvailability:()V
         1: .line 81
            getstatic org.graalvm.compiler.core.common.util.ModuleAPI.$assertionsDisabled:Z
            ifne 2
            aload 0 /* this */
            getfield org.graalvm.compiler.core.common.util.ModuleAPI.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: .line 83
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.graalvm.compiler.core.common.util.ModuleAPI.method:Ljava/lang/reflect/Method;
            aconst_null
            aload 1 /* args */
            invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
         3: areturn
         4: .line 84
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 2 /* e */
        start local 2 // java.lang.Exception e
         5: .line 85
            new java.lang.InternalError
            dup
            aload 2 /* e */
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.lang.Exception e
        end local 1 // java.lang.Object[] args
        end local 0 // org.graalvm.compiler.core.common.util.ModuleAPI this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lorg/graalvm/compiler/core/common/util/ModuleAPI;
            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 // org.graalvm.compiler.core.common.util.ModuleAPI this
        start local 1 // java.lang.Object receiver
        start local 2 // java.lang.Object[] args
         0: .line 94
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.core.common.util.ModuleAPI.checkAvailability:()V
         1: .line 95
            getstatic org.graalvm.compiler.core.common.util.ModuleAPI.$assertionsDisabled:Z
            ifne 2
            aload 0 /* this */
            getfield org.graalvm.compiler.core.common.util.ModuleAPI.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: .line 97
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.graalvm.compiler.core.common.util.ModuleAPI.method:Ljava/lang/reflect/Method;
            aload 1 /* receiver */
            aload 2 /* args */
            invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
         3: areturn
         4: .line 98
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 3 /* e */
        start local 3 // java.lang.Exception e
         5: .line 99
            new java.lang.InternalError
            dup
            aload 3 /* e */
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 3 // java.lang.Exception e
        end local 2 // java.lang.Object[] args
        end local 1 // java.lang.Object receiver
        end local 0 // org.graalvm.compiler.core.common.util.ModuleAPI this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    6     0      this  Lorg/graalvm/compiler/core/common/util/ModuleAPI;
            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 // org.graalvm.compiler.core.common.util.ModuleAPI this
         0: .line 104
            aload 0 /* this */
            getfield org.graalvm.compiler.core.common.util.ModuleAPI.method:Ljava/lang/reflect/Method;
            ifnonnull 2
         1: .line 105
            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.core.common.util.Util.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: .line 107
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.graalvm.compiler.core.common.util.ModuleAPI this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/graalvm/compiler/core/common/util/ModuleAPI;
    Exceptions:
      throws java.lang.InternalError
}
SourceFile: "ModuleAPI.java"