public class org.graalvm.compiler.test.JLModule
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.graalvm.compiler.test.JLModule
  super_class: java.lang.Object
{
  private final java.lang.Object realModule;
    descriptor: Ljava/lang/Object;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private static final java.lang.Class<?> moduleClass;
    descriptor: Ljava/lang/Class;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljava/lang/Class<*>;

  private static final java.lang.reflect.Method getModuleMethod;
    descriptor: Ljava/lang/reflect/Method;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.lang.reflect.Method getUnnamedModuleMethod;
    descriptor: Ljava/lang/reflect/Method;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.lang.reflect.Method getPackagesMethod;
    descriptor: Ljava/lang/reflect/Method;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.lang.reflect.Method isExportedMethod;
    descriptor: Ljava/lang/reflect/Method;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.lang.reflect.Method isExported2Method;
    descriptor: Ljava/lang/reflect/Method;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.lang.reflect.Method addExportsMethod;
    descriptor: Ljava/lang/reflect/Method;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=6, locals=1, args_size=0
         0: .line 35
            getstatic org.graalvm.compiler.test.GraalTest.Java8OrEarlier:Z
            ifeq 2
         1: .line 36
            new java.lang.AssertionError
            dup
            new java.lang.StringBuilder
            dup
            ldc "Use of "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc Lorg/graalvm/compiler/test/JLModule;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc " only allowed if "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc Lorg/graalvm/compiler/test/GraalTest;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc ".JDK8OrEarlier is false"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
         2: .line 55
      StackMap locals:
      StackMap stack:
            ldc "java.lang.Module"
            invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
            putstatic org.graalvm.compiler.test.JLModule.moduleClass:Ljava/lang/Class;
         3: .line 56
            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;
            putstatic org.graalvm.compiler.test.JLModule.getModuleMethod:Ljava/lang/reflect/Method;
         4: .line 57
            ldc Ljava/lang/ClassLoader;
            ldc "getUnnamedModule"
            iconst_0
            anewarray java.lang.Class
            invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
            putstatic org.graalvm.compiler.test.JLModule.getUnnamedModuleMethod:Ljava/lang/reflect/Method;
         5: .line 58
            getstatic org.graalvm.compiler.test.JLModule.moduleClass:Ljava/lang/Class;
            ldc "getPackages"
            iconst_0
            anewarray java.lang.Class
            invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
            putstatic org.graalvm.compiler.test.JLModule.getPackagesMethod:Ljava/lang/reflect/Method;
         6: .line 59
            getstatic org.graalvm.compiler.test.JLModule.moduleClass:Ljava/lang/Class;
            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;
            putstatic org.graalvm.compiler.test.JLModule.isExportedMethod:Ljava/lang/reflect/Method;
         7: .line 60
            getstatic org.graalvm.compiler.test.JLModule.moduleClass:Ljava/lang/Class;
            ldc "isExported"
            iconst_2
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Ljava/lang/String;
            aastore
            dup
            iconst_1
            getstatic org.graalvm.compiler.test.JLModule.moduleClass:Ljava/lang/Class;
            aastore
            invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
            putstatic org.graalvm.compiler.test.JLModule.isExported2Method:Ljava/lang/reflect/Method;
         8: .line 61
            getstatic org.graalvm.compiler.test.JLModule.moduleClass:Ljava/lang/Class;
            ldc "addExports"
            iconst_2
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Ljava/lang/String;
            aastore
            dup
            iconst_1
            getstatic org.graalvm.compiler.test.JLModule.moduleClass:Ljava/lang/Class;
            aastore
            invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
            putstatic org.graalvm.compiler.test.JLModule.addExportsMethod:Ljava/lang/reflect/Method;
         9: .line 62
            goto 12
      StackMap locals:
      StackMap stack: java.lang.Exception
        10: astore 0 /* e */
        start local 0 // java.lang.Exception e
        11: .line 63
            new java.lang.AssertionError
            dup
            aload 0 /* e */
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
        end local 0 // java.lang.Exception e
        12: .line 65
      StackMap locals:
      StackMap stack:
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
           11   12     0     e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           2     9      10  Class java.lang.Exception

  public void <init>(java.lang.Object);
    descriptor: (Ljava/lang/Object;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.graalvm.compiler.test.JLModule this
        start local 1 // java.lang.Object module
         0: .line 42
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 43
            aload 0 /* this */
            aload 1 /* module */
            putfield org.graalvm.compiler.test.JLModule.realModule:Ljava/lang/Object;
         2: .line 44
            return
        end local 1 // java.lang.Object module
        end local 0 // org.graalvm.compiler.test.JLModule this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Lorg/graalvm/compiler/test/JLModule;
            0    3     1  module  Ljava/lang/Object;
    MethodParameters:
        Name  Flags
      module  

  public static org.graalvm.compiler.test.JLModule fromClass(java.lang.Class<?>);
    descriptor: (Ljava/lang/Class;)Lorg/graalvm/compiler/test/JLModule;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // java.lang.Class cls
         0: .line 69
            new org.graalvm.compiler.test.JLModule
            dup
            getstatic org.graalvm.compiler.test.JLModule.getModuleMethod:Ljava/lang/reflect/Method;
            aload 0 /* cls */
            iconst_0
            anewarray java.lang.Object
            invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
            invokespecial org.graalvm.compiler.test.JLModule.<init>:(Ljava/lang/Object;)V
         1: areturn
         2: .line 70
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 1 /* e */
        start local 1 // java.lang.Exception e
         3: .line 71
            new java.lang.AssertionError
            dup
            aload 1 /* e */
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
        end local 1 // java.lang.Exception e
        end local 0 // java.lang.Class cls
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0   cls  Ljava/lang/Class<*>;
            3    4     1     e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.Exception
    Signature: (Ljava/lang/Class<*>;)Lorg/graalvm/compiler/test/JLModule;
    MethodParameters:
      Name  Flags
      cls   

  public static org.graalvm.compiler.test.JLModule getUnnamedModuleFor(java.lang.ClassLoader);
    descriptor: (Ljava/lang/ClassLoader;)Lorg/graalvm/compiler/test/JLModule;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // java.lang.ClassLoader cl
         0: .line 77
            new org.graalvm.compiler.test.JLModule
            dup
            getstatic org.graalvm.compiler.test.JLModule.getUnnamedModuleMethod:Ljava/lang/reflect/Method;
            aload 0 /* cl */
            iconst_0
            anewarray java.lang.Object
            invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
            invokespecial org.graalvm.compiler.test.JLModule.<init>:(Ljava/lang/Object;)V
         1: areturn
         2: .line 78
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 1 /* e */
        start local 1 // java.lang.Exception e
         3: .line 79
            new java.lang.AssertionError
            dup
            aload 1 /* e */
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
        end local 1 // java.lang.Exception e
        end local 0 // java.lang.ClassLoader cl
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0    cl  Ljava/lang/ClassLoader;
            3    4     1     e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.Exception
    MethodParameters:
      Name  Flags
      cl    

  public void exportAllPackagesTo(org.graalvm.compiler.test.JLModule);
    descriptor: (Lorg/graalvm/compiler/test/JLModule;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // org.graalvm.compiler.test.JLModule this
        start local 1 // org.graalvm.compiler.test.JLModule module
         0: .line 87
            aload 0 /* this */
            aload 1 /* module */
            if_acmpeq 6
         1: .line 88
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.test.JLModule.getPackages:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 3
            goto 5
      StackMap locals: org.graalvm.compiler.test.JLModule org.graalvm.compiler.test.JLModule top java.util.Iterator
      StackMap stack:
         2: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 2 /* pkg */
        start local 2 // java.lang.String pkg
         3: .line 92
            aload 0 /* this */
            aload 2 /* pkg */
            aload 1 /* module */
            invokevirtual org.graalvm.compiler.test.JLModule.isExported:(Ljava/lang/String;Lorg/graalvm/compiler/test/JLModule;)Z
            ifne 5
         4: .line 93
            aload 0 /* this */
            aload 2 /* pkg */
            aload 1 /* module */
            invokevirtual org.graalvm.compiler.test.JLModule.addExports:(Ljava/lang/String;Lorg/graalvm/compiler/test/JLModule;)V
        end local 2 // java.lang.String pkg
         5: .line 88
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         6: .line 97
      StackMap locals: org.graalvm.compiler.test.JLModule org.graalvm.compiler.test.JLModule
      StackMap stack:
            return
        end local 1 // org.graalvm.compiler.test.JLModule module
        end local 0 // org.graalvm.compiler.test.JLModule this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0    this  Lorg/graalvm/compiler/test/JLModule;
            0    7     1  module  Lorg/graalvm/compiler/test/JLModule;
            3    5     2     pkg  Ljava/lang/String;
    MethodParameters:
        Name  Flags
      module  

  public java.util.Set<java.lang.String> getPackages();
    descriptor: ()Ljava/util/Set;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // org.graalvm.compiler.test.JLModule this
         0: .line 102
            getstatic org.graalvm.compiler.test.JLModule.getPackagesMethod:Ljava/lang/reflect/Method;
            aload 0 /* this */
            getfield org.graalvm.compiler.test.JLModule.realModule:Ljava/lang/Object;
            iconst_0
            anewarray java.lang.Object
            invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.util.Set
         1: areturn
         2: .line 103
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 1 /* e */
        start local 1 // java.lang.Exception e
         3: .line 104
            new java.lang.AssertionError
            dup
            aload 1 /* e */
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
        end local 1 // java.lang.Exception e
        end local 0 // org.graalvm.compiler.test.JLModule this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/graalvm/compiler/test/JLModule;
            3    4     1     e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.Exception
    Signature: ()Ljava/util/Set<Ljava/lang/String;>;

  public boolean isExported(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=3, args_size=2
        start local 0 // org.graalvm.compiler.test.JLModule this
        start local 1 // java.lang.String pn
         0: .line 110
            getstatic org.graalvm.compiler.test.JLModule.isExportedMethod:Ljava/lang/reflect/Method;
            aload 0 /* this */
            getfield org.graalvm.compiler.test.JLModule.realModule:Ljava/lang/Object;
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* pn */
            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
         1: ireturn
         2: .line 111
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 2 /* e */
        start local 2 // java.lang.Exception e
         3: .line 112
            new java.lang.AssertionError
            dup
            aload 2 /* e */
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
        end local 2 // java.lang.Exception e
        end local 1 // java.lang.String pn
        end local 0 // org.graalvm.compiler.test.JLModule this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/graalvm/compiler/test/JLModule;
            0    4     1    pn  Ljava/lang/String;
            3    4     2     e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.Exception
    MethodParameters:
      Name  Flags
      pn    

  public boolean isExported(java.lang.String, org.graalvm.compiler.test.JLModule);
    descriptor: (Ljava/lang/String;Lorg/graalvm/compiler/test/JLModule;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=4, args_size=3
        start local 0 // org.graalvm.compiler.test.JLModule this
        start local 1 // java.lang.String pn
        start local 2 // org.graalvm.compiler.test.JLModule other
         0: .line 118
            getstatic org.graalvm.compiler.test.JLModule.isExported2Method:Ljava/lang/reflect/Method;
            aload 0 /* this */
            getfield org.graalvm.compiler.test.JLModule.realModule:Ljava/lang/Object;
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* pn */
            aastore
            dup
            iconst_1
            aload 2 /* other */
            getfield org.graalvm.compiler.test.JLModule.realModule:Ljava/lang/Object;
            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
         1: ireturn
         2: .line 119
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 3 /* e */
        start local 3 // java.lang.Exception e
         3: .line 120
            new java.lang.AssertionError
            dup
            aload 3 /* e */
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
        end local 3 // java.lang.Exception e
        end local 2 // org.graalvm.compiler.test.JLModule other
        end local 1 // java.lang.String pn
        end local 0 // org.graalvm.compiler.test.JLModule this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    4     0   this  Lorg/graalvm/compiler/test/JLModule;
            0    4     1     pn  Ljava/lang/String;
            0    4     2  other  Lorg/graalvm/compiler/test/JLModule;
            3    4     3      e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.Exception
    MethodParameters:
       Name  Flags
      pn     
      other  

  public void addExports(java.lang.String, org.graalvm.compiler.test.JLModule);
    descriptor: (Ljava/lang/String;Lorg/graalvm/compiler/test/JLModule;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=4, args_size=3
        start local 0 // org.graalvm.compiler.test.JLModule this
        start local 1 // java.lang.String pn
        start local 2 // org.graalvm.compiler.test.JLModule other
         0: .line 126
            getstatic org.graalvm.compiler.test.JLModule.addExportsMethod:Ljava/lang/reflect/Method;
            aload 0 /* this */
            getfield org.graalvm.compiler.test.JLModule.realModule:Ljava/lang/Object;
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* pn */
            aastore
            dup
            iconst_1
            aload 2 /* other */
            getfield org.graalvm.compiler.test.JLModule.realModule:Ljava/lang/Object;
            aastore
            invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 127
            goto 4
      StackMap locals:
      StackMap stack: java.lang.Exception
         2: astore 3 /* e */
        start local 3 // java.lang.Exception e
         3: .line 128
            new java.lang.AssertionError
            dup
            aload 3 /* e */
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
        end local 3 // java.lang.Exception e
         4: .line 130
      StackMap locals:
      StackMap stack:
            return
        end local 2 // org.graalvm.compiler.test.JLModule other
        end local 1 // java.lang.String pn
        end local 0 // org.graalvm.compiler.test.JLModule this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    5     0   this  Lorg/graalvm/compiler/test/JLModule;
            0    5     1     pn  Ljava/lang/String;
            0    5     2  other  Lorg/graalvm/compiler/test/JLModule;
            3    4     3      e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.Exception
    MethodParameters:
       Name  Flags
      pn     
      other  
}
SourceFile: "JLModule.java"