public class org.jruby.util.NailMain
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.jruby.util.NailMain
  super_class: java.lang.Object
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.util.NailMain this
         0: .line 36
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.jruby.util.NailMain this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/util/NailMain;

  public static void nailMain(com.martiansoftware.nailgun.NGContext);
    descriptor: (Lcom/martiansoftware/nailgun/NGContext;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // com.martiansoftware.nailgun.NGContext context
         0: .line 38
            new org.jruby.util.NailMain
            dup
            invokespecial org.jruby.util.NailMain.<init>:()V
            astore 1 /* main */
        start local 1 // org.jruby.util.NailMain main
         1: .line 39
            aload 1 /* main */
            aload 0 /* context */
            invokevirtual org.jruby.util.NailMain.run:(Lcom/martiansoftware/nailgun/NGContext;)I
            istore 2 /* status */
        start local 2 // int status
         2: .line 40
            iload 2 /* status */
            ifeq 4
         3: .line 41
            aload 0 /* context */
            iload 2 /* status */
            invokevirtual com.martiansoftware.nailgun.NGContext.exit:(I)V
         4: .line 44
      StackMap locals: org.jruby.util.NailMain int
      StackMap stack:
            invokestatic java.lang.System.gc:()V
         5: .line 45
            return
        end local 2 // int status
        end local 1 // org.jruby.util.NailMain main
        end local 0 // com.martiansoftware.nailgun.NGContext context
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    6     0  context  Lcom/martiansoftware/nailgun/NGContext;
            1    6     1     main  Lorg/jruby/util/NailMain;
            2    6     2   status  I
    MethodParameters:
         Name  Flags
      context  

  public int run(com.martiansoftware.nailgun.NGContext);
    descriptor: (Lcom/martiansoftware/nailgun/NGContext;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // org.jruby.util.NailMain this
        start local 1 // com.martiansoftware.nailgun.NGContext context
         0: .line 48
            aload 1 /* context */
            invokevirtual com.martiansoftware.nailgun.NGContext.assertLoopbackClient:()V
         1: .line 50
            new org.jruby.RubyInstanceConfig
            dup
            invokespecial org.jruby.RubyInstanceConfig.<init>:()V
            astore 2 /* config */
        start local 2 // org.jruby.RubyInstanceConfig config
         2: .line 51
            new org.jruby.Main
            dup
            aload 2 /* config */
            invokespecial org.jruby.Main.<init>:(Lorg/jruby/RubyInstanceConfig;)V
            astore 3 /* main */
        start local 3 // org.jruby.Main main
         3: .line 53
            aload 2 /* config */
            aload 1 /* context */
            invokevirtual com.martiansoftware.nailgun.NGContext.getWorkingDirectory:()Ljava/lang/String;
            invokevirtual org.jruby.RubyInstanceConfig.setCurrentDirectory:(Ljava/lang/String;)V
         4: .line 54
            aload 2 /* config */
            aload 1 /* context */
            invokevirtual com.martiansoftware.nailgun.NGContext.getEnv:()Ljava/util/Properties;
            invokestatic org.jruby.util.OSEnvironment.propertiesToStringMap:(Ljava/util/Properties;)Ljava/util/Map;
            invokevirtual org.jruby.RubyInstanceConfig.setEnvironment:(Ljava/util/Map;)V
         5: .line 56
            aload 3 /* main */
            aload 1 /* context */
            invokevirtual com.martiansoftware.nailgun.NGContext.getArgs:()[Ljava/lang/String;
            invokevirtual org.jruby.Main.run:([Ljava/lang/String;)Lorg/jruby/Main$Status;
            invokevirtual org.jruby.Main$Status.getStatus:()I
            ireturn
        end local 3 // org.jruby.Main main
        end local 2 // org.jruby.RubyInstanceConfig config
        end local 1 // com.martiansoftware.nailgun.NGContext context
        end local 0 // org.jruby.util.NailMain this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    6     0     this  Lorg/jruby/util/NailMain;
            0    6     1  context  Lcom/martiansoftware/nailgun/NGContext;
            2    6     2   config  Lorg/jruby/RubyInstanceConfig;
            3    6     3     main  Lorg/jruby/Main;
    MethodParameters:
         Name  Flags
      context  
}
SourceFile: "NailMain.java"
InnerClasses:
  public Status = org.jruby.Main$Status of org.jruby.Main