class org.jruby.util.ShellLauncher$1 implements org.jruby.util.ShellLauncher$PidGetter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.util.ShellLauncher$1
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/ShellLauncher$1;
public long getPid(java.lang.Process);
descriptor: (Ljava/lang/Process;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.jruby.util.ShellLauncher.UNIXProcess:Ljava/lang/Class;
aload 1
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 3
1: getstatic org.jruby.util.ShellLauncher.UNIXProcess_pid:Ljava/lang/reflect/Field;
aload 1
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
i2l
2: lreturn
3: StackMap locals:
StackMap stack:
getstatic org.jruby.util.ShellLauncher.ProcessImpl:Ljava/lang/Class;
aload 1
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 8
4: getstatic org.jruby.util.ShellLauncher.ProcessImpl_handle:Ljava/lang/reflect/Field;
aload 1
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Long
astore 2
start local 2 5: invokestatic org.jruby.util.WindowsFFI.getKernel32:()Lorg/jruby/util/WindowsFFI$Kernel32;
aload 2
invokevirtual java.lang.Long.longValue:()J
invokeinterface org.jruby.util.WindowsFFI$Kernel32.GetProcessId:(J)I
i2l
6: lreturn
end local 2 7: StackMap locals:
StackMap stack: java.lang.Exception
pop
8: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Object.hashCode:()I
i2l
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/util/ShellLauncher$1;
0 9 1 process Ljava/lang/Process;
5 7 2 hproc Ljava/lang/Long;
Exception table:
from to target type
0 2 7 Class java.lang.Exception
3 6 7 Class java.lang.Exception
MethodParameters:
Name Flags
process
}
SourceFile: "ShellLauncher.java"
EnclosingMethod: org.jruby.util.ShellLauncher
NestHost: org.jruby.util.ShellLauncher
InnerClasses:
org.jruby.util.ShellLauncher$1
private abstract PidGetter = org.jruby.util.ShellLauncher$PidGetter of org.jruby.util.ShellLauncher
public abstract Kernel32 = org.jruby.util.WindowsFFI$Kernel32 of org.jruby.util.WindowsFFI