final class jdk.nashorn.internal.scripts.ModuleGraphManipulator
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.nashorn.internal.scripts.ModuleGraphManipulator
  super_class: java.lang.Object
{
  private static final java.lang.Module MY_MODULE;
    descriptor: Ljava/lang/Module;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

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

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=3, args_size=0
         0: .line 50
            ldc Ljdk/nashorn/internal/scripts/ModuleGraphManipulator;
            astore 0 /* myClass */
        start local 0 // java.lang.Class myClass
         1: .line 51
            aload 0 /* myClass */
            invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
            putstatic jdk.nashorn.internal.scripts.ModuleGraphManipulator.MY_MODULE:Ljava/lang/Module;
         2: .line 52
            aload 0 /* myClass */
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            astore 1 /* myName */
        start local 1 // java.lang.String myName
         3: .line 53
            aload 1 /* myName */
            iconst_0
            aload 1 /* myName */
            bipush 46
            invokevirtual java.lang.String.lastIndexOf:(I)I
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            putstatic jdk.nashorn.internal.scripts.ModuleGraphManipulator.MY_PKG_NAME:Ljava/lang/String;
         4: .line 56
            aload 0 /* myClass */
            invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
            astore 2 /* nashornModule */
        start local 2 // java.lang.Module nashornModule
         5: .line 59
            getstatic jdk.nashorn.internal.scripts.ModuleGraphManipulator.MY_MODULE:Ljava/lang/Module;
            aload 2 /* nashornModule */
            if_acmpne 7
         6: .line 60
            new java.lang.IllegalStateException
            dup
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            aload 0 /* myClass */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc " loaded by wrong loader!"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 64
      StackMap locals: java.lang.Class java.lang.String java.lang.Module
      StackMap stack:
            getstatic jdk.nashorn.internal.scripts.ModuleGraphManipulator.MY_MODULE:Ljava/lang/Module;
            getstatic jdk.nashorn.internal.scripts.ModuleGraphManipulator.MY_PKG_NAME:Ljava/lang/String;
            aload 2 /* nashornModule */
            invokevirtual java.lang.Module.addOpens:(Ljava/lang/String;Ljava/lang/Module;)Ljava/lang/Module;
            pop
        end local 2 // java.lang.Module nashornModule
        end local 1 // java.lang.String myName
        end local 0 // java.lang.Class myClass
         8: .line 65
            return
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            1    8     0        myClass  Ljava/lang/Class<*>;
            3    8     1         myName  Ljava/lang/String;
            5    8     2  nashornModule  Ljava/lang/Module;

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.nashorn.internal.scripts.ModuleGraphManipulator this
         0: .line 44
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // jdk.nashorn.internal.scripts.ModuleGraphManipulator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/nashorn/internal/scripts/ModuleGraphManipulator;

  private static void addExport(java.lang.Module);
    descriptor: (Ljava/lang/Module;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.lang.Module otherMod
         0: .line 73
            getstatic jdk.nashorn.internal.scripts.ModuleGraphManipulator.MY_MODULE:Ljava/lang/Module;
            getstatic jdk.nashorn.internal.scripts.ModuleGraphManipulator.MY_PKG_NAME:Ljava/lang/String;
            aload 0 /* otherMod */
            invokevirtual java.lang.Module.addExports:(Ljava/lang/String;Ljava/lang/Module;)Ljava/lang/Module;
            pop
         1: .line 74
            return
        end local 0 // java.lang.Module otherMod
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0  otherMod  Ljava/lang/Module;
    MethodParameters:
          Name  Flags
      otherMod  final
}
SourceFile: "ModuleGraphManipulator.java"