public class org.jruby.ext.pathname.RubyPathname extends org.jruby.RubyObject
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ext.pathname.RubyPathname
super_class: org.jruby.RubyObject
{
private static final org.jruby.ext.pathname.RubyPathname$ReturnValueMapper IDENTITY_MAPPER;
descriptor: Lorg/jruby/ext/pathname/RubyPathname$ReturnValueMapper;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.jruby.ext.pathname.RubyPathname$ReturnValueMapper SINGLE_PATH_MAPPER;
descriptor: Lorg/jruby/ext/pathname/RubyPathname$ReturnValueMapper;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.jruby.ext.pathname.RubyPathname$ReturnValueMapper ARRAY_OF_PATHS_MAPPER;
descriptor: Lorg/jruby/ext/pathname/RubyPathname$ReturnValueMapper;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.jruby.ext.pathname.RubyPathname$AddArg UNSHIFT_PATH;
descriptor: Lorg/jruby/ext/pathname/RubyPathname$AddArg;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.jruby.ext.pathname.RubyPathname$AddArg APPEND_PATH;
descriptor: Lorg/jruby/ext/pathname/RubyPathname$AddArg;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static org.jruby.runtime.ObjectAllocator PATHNAME_ALLOCATOR;
descriptor: Lorg/jruby/runtime/ObjectAllocator;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.jruby.ext.pathname.RubyPathname$1
dup
invokespecial org.jruby.ext.pathname.RubyPathname$1.<init>:()V
putstatic org.jruby.ext.pathname.RubyPathname.IDENTITY_MAPPER:Lorg/jruby/ext/pathname/RubyPathname$ReturnValueMapper;
1: new org.jruby.ext.pathname.RubyPathname$2
dup
invokespecial org.jruby.ext.pathname.RubyPathname$2.<init>:()V
putstatic org.jruby.ext.pathname.RubyPathname.SINGLE_PATH_MAPPER:Lorg/jruby/ext/pathname/RubyPathname$ReturnValueMapper;
2: new org.jruby.ext.pathname.RubyPathname$3
dup
invokespecial org.jruby.ext.pathname.RubyPathname$3.<init>:()V
putstatic org.jruby.ext.pathname.RubyPathname.ARRAY_OF_PATHS_MAPPER:Lorg/jruby/ext/pathname/RubyPathname$ReturnValueMapper;
3: new org.jruby.ext.pathname.RubyPathname$4
dup
invokespecial org.jruby.ext.pathname.RubyPathname$4.<init>:()V
putstatic org.jruby.ext.pathname.RubyPathname.UNSHIFT_PATH:Lorg/jruby/ext/pathname/RubyPathname$AddArg;
4: new org.jruby.ext.pathname.RubyPathname$5
dup
invokespecial org.jruby.ext.pathname.RubyPathname$5.<init>:()V
putstatic org.jruby.ext.pathname.RubyPathname.APPEND_PATH:Lorg/jruby/ext/pathname/RubyPathname$AddArg;
5: new org.jruby.ext.pathname.RubyPathname$6
dup
invokespecial org.jruby.ext.pathname.RubyPathname$6.<init>:()V
putstatic org.jruby.ext.pathname.RubyPathname.PATHNAME_ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
6: return
LocalVariableTable:
Start End Slot Name Signature
private org.jruby.RubyString getPath();
descriptor: ()Lorg/jruby/RubyString;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "@path"
invokevirtual org.jruby.ext.pathname.RubyPathname.getInstanceVariable:(Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/pathname/RubyPathname;
private void setPath(org.jruby.RubyString);
descriptor: (Lorg/jruby/RubyString;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "@path"
aload 1
invokevirtual org.jruby.ext.pathname.RubyPathname.setInstanceVariable:(Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/pathname/RubyPathname;
0 2 1 path Lorg/jruby/RubyString;
MethodParameters:
Name Flags
path
static void createPathnameClass(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
ldc "Pathname"
aload 0
invokevirtual org.jruby.Ruby.getObject:()Lorg/jruby/RubyClass;
1: getstatic org.jruby.ext.pathname.RubyPathname.PATHNAME_ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
2: invokevirtual org.jruby.Ruby.defineClass:(Ljava/lang/String;Lorg/jruby/RubyClass;Lorg/jruby/runtime/ObjectAllocator;)Lorg/jruby/RubyClass;
astore 1
start local 1 3: aload 1
ldc Lorg/jruby/ext/pathname/RubyPathname;
invokevirtual org.jruby.RubyClass.defineAnnotatedMethods:(Ljava/lang/Class;)V
4: aload 0
invokevirtual org.jruby.Ruby.getKernel:()Lorg/jruby/RubyModule;
ldc Lorg/jruby/ext/pathname/RubyPathname$PathnameKernelMethods;
invokevirtual org.jruby.RubyModule.defineAnnotatedMethods:(Ljava/lang/Class;)V
5: aload 1
aload 0
invokevirtual org.jruby.Ruby.getFile:()Lorg/jruby/RubyClass;
bipush 11
anewarray java.lang.String
dup
iconst_0
ldc "atime"
aastore
dup
iconst_1
ldc "ctime"
aastore
dup
iconst_2
ldc "birthtime"
aastore
dup
iconst_3
ldc "mtime"
aastore
dup
iconst_4
ldc "ftype"
aastore
dup
iconst_5
6: ldc "rename"
aastore
dup
bipush 6
ldc "stat"
aastore
dup
bipush 7
ldc "lstat"
aastore
dup
bipush 8
ldc "truncate"
aastore
dup
bipush 9
ldc "extname"
aastore
dup
bipush 10
ldc "open"
aastore
7: invokestatic org.jruby.ext.pathname.RubyPathname.defineDelegateMethods:(Lorg/jruby/RubyClass;Lorg/jruby/RubyModule;[Ljava/lang/String;)V
8: aload 1
aload 0
invokevirtual org.jruby.Ruby.getFile:()Lorg/jruby/RubyClass;
iconst_5
anewarray java.lang.String
dup
iconst_0
ldc "chmod"
aastore
dup
iconst_1
ldc "lchmod"
aastore
dup
iconst_2
ldc "chown"
aastore
dup
iconst_3
9: ldc "lchown"
aastore
dup
iconst_4
ldc "utime"
aastore
10: invokestatic org.jruby.ext.pathname.RubyPathname.defineDelegateMethodsAppendPath:(Lorg/jruby/RubyClass;Lorg/jruby/RubyModule;[Ljava/lang/String;)V
11: aload 1
aload 0
invokevirtual org.jruby.Ruby.getFile:()Lorg/jruby/RubyClass;
bipush 6
anewarray java.lang.String
dup
iconst_0
ldc "realpath"
aastore
dup
iconst_1
ldc "realdirpath"
aastore
dup
iconst_2
12: ldc "basename"
aastore
dup
iconst_3
ldc "dirname"
aastore
dup
iconst_4
ldc "expand_path"
aastore
dup
iconst_5
ldc "readlink"
aastore
13: invokestatic org.jruby.ext.pathname.RubyPathname.defineDelegateMethodsSinglePath:(Lorg/jruby/RubyClass;Lorg/jruby/RubyModule;[Ljava/lang/String;)V
14: aload 1
aload 0
invokevirtual org.jruby.Ruby.getFile:()Lorg/jruby/RubyClass;
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "split"
aastore
invokestatic org.jruby.ext.pathname.RubyPathname.defineDelegateMethodsArrayOfPaths:(Lorg/jruby/RubyClass;Lorg/jruby/RubyModule;[Ljava/lang/String;)V
15: aload 1
aload 0
invokevirtual org.jruby.Ruby.getIO:()Lorg/jruby/RubyClass;
bipush 6
anewarray java.lang.String
dup
iconst_0
ldc "read"
aastore
dup
iconst_1
ldc "binread"
aastore
dup
iconst_2
ldc "write"
aastore
dup
iconst_3
ldc "binwrite"
aastore
dup
iconst_4
16: ldc "readlines"
aastore
dup
iconst_5
ldc "sysopen"
aastore
17: invokestatic org.jruby.ext.pathname.RubyPathname.defineDelegateMethods:(Lorg/jruby/RubyClass;Lorg/jruby/RubyModule;[Ljava/lang/String;)V
18: aload 1
aload 0
invokevirtual org.jruby.Ruby.getFileTest:()Lorg/jruby/RubyModule;
bipush 24
anewarray java.lang.String
dup
iconst_0
ldc "blockdev?"
aastore
dup
iconst_1
ldc "chardev?"
aastore
dup
iconst_2
19: ldc "executable?"
aastore
dup
iconst_3
ldc "executable_real?"
aastore
dup
iconst_4
ldc "exist?"
aastore
dup
iconst_5
ldc "grpowned?"
aastore
dup
bipush 6
ldc "directory?"
aastore
dup
bipush 7
ldc "file?"
aastore
dup
bipush 8
20: ldc "pipe?"
aastore
dup
bipush 9
ldc "socket?"
aastore
dup
bipush 10
ldc "owned?"
aastore
dup
bipush 11
ldc "readable?"
aastore
dup
bipush 12
ldc "world_readable?"
aastore
dup
bipush 13
ldc "readable_real?"
aastore
dup
bipush 14
21: ldc "setuid?"
aastore
dup
bipush 15
ldc "setgid?"
aastore
dup
bipush 16
ldc "size"
aastore
dup
bipush 17
ldc "size?"
aastore
dup
bipush 18
ldc "sticky?"
aastore
dup
bipush 19
ldc "symlink?"
aastore
dup
bipush 20
ldc "writable?"
aastore
dup
bipush 21
22: ldc "world_writable?"
aastore
dup
bipush 22
ldc "writable_real?"
aastore
dup
bipush 23
ldc "zero?"
aastore
23: invokestatic org.jruby.ext.pathname.RubyPathname.defineDelegateMethods:(Lorg/jruby/RubyClass;Lorg/jruby/RubyModule;[Ljava/lang/String;)V
24: aload 1
aload 0
invokevirtual org.jruby.Ruby.getDir:()Lorg/jruby/RubyClass;
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "mkdir"
aastore
dup
iconst_1
ldc "rmdir"
aastore
invokestatic org.jruby.ext.pathname.RubyPathname.defineDelegateMethods:(Lorg/jruby/RubyClass;Lorg/jruby/RubyModule;[Ljava/lang/String;)V
25: aload 1
aload 0
invokevirtual org.jruby.Ruby.getDir:()Lorg/jruby/RubyClass;
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "entries"
aastore
invokestatic org.jruby.ext.pathname.RubyPathname.defineDelegateMethodsArrayOfPaths:(Lorg/jruby/RubyClass;Lorg/jruby/RubyModule;[Ljava/lang/String;)V
26: aload 1
ldc "=~"
invokevirtual org.jruby.RubyClass.undefineMethod:(Ljava/lang/String;)V
27: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 runtime Lorg/jruby/Ruby;
3 28 1 cPathname Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
private static void defineDelegateMethodsGeneric(org.jruby.RubyClass, org.jruby.RubyModule, org.jruby.ext.pathname.RubyPathname$ReturnValueMapper, org.jruby.ext.pathname.RubyPathname$AddArg, java.lang.String[]);
descriptor: (Lorg/jruby/RubyClass;Lorg/jruby/RubyModule;Lorg/jruby/ext/pathname/RubyPathname$ReturnValueMapper;Lorg/jruby/ext/pathname/RubyPathname$AddArg;[Ljava/lang/String;)V
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=10, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 4
StackMap locals: org.jruby.RubyClass org.jruby.RubyModule org.jruby.ext.pathname.RubyPathname$ReturnValueMapper org.jruby.ext.pathname.RubyPathname$AddArg java.lang.String[] top int int java.lang.String[]
StackMap stack:
1: aload 8
iload 6
aaload
astore 5
start local 5 2: aload 0
aload 5
new org.jruby.ext.pathname.RubyPathname$7
dup
aload 0
getstatic org.jruby.runtime.Visibility.PUBLIC:Lorg/jruby/runtime/Visibility;
aload 5
aload 3
aload 2
aload 1
invokespecial org.jruby.ext.pathname.RubyPathname$7.<init>:(Lorg/jruby/RubyModule;Lorg/jruby/runtime/Visibility;Ljava/lang/String;Lorg/jruby/ext/pathname/RubyPathname$AddArg;Lorg/jruby/ext/pathname/RubyPathname$ReturnValueMapper;Lorg/jruby/RubyModule;)V
invokevirtual org.jruby.RubyClass.addMethod:(Ljava/lang/String;Lorg/jruby/internal/runtime/methods/DynamicMethod;)V
end local 5 3: iinc 6 1
StackMap locals:
StackMap stack:
4: iload 6
iload 7
if_icmplt 1
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 cPathname Lorg/jruby/RubyClass;
0 6 1 klass Lorg/jruby/RubyModule;
0 6 2 mapper Lorg/jruby/ext/pathname/RubyPathname$ReturnValueMapper;
0 6 3 addArg Lorg/jruby/ext/pathname/RubyPathname$AddArg;
0 6 4 methods [Ljava/lang/String;
2 3 5 method Ljava/lang/String;
MethodParameters:
Name Flags
cPathname
klass final
mapper final
addArg final
methods
private static void defineDelegateMethods(org.jruby.RubyClass, org.jruby.RubyModule, java.lang.String[]);
descriptor: (Lorg/jruby/RubyClass;Lorg/jruby/RubyModule;[Ljava/lang/String;)V
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
getstatic org.jruby.ext.pathname.RubyPathname.IDENTITY_MAPPER:Lorg/jruby/ext/pathname/RubyPathname$ReturnValueMapper;
getstatic org.jruby.ext.pathname.RubyPathname.UNSHIFT_PATH:Lorg/jruby/ext/pathname/RubyPathname$AddArg;
aload 2
invokestatic org.jruby.ext.pathname.RubyPathname.defineDelegateMethodsGeneric:(Lorg/jruby/RubyClass;Lorg/jruby/RubyModule;Lorg/jruby/ext/pathname/RubyPathname$ReturnValueMapper;Lorg/jruby/ext/pathname/RubyPathname$AddArg;[Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 cPathname Lorg/jruby/RubyClass;
0 2 1 klass Lorg/jruby/RubyModule;
0 2 2 methods [Ljava/lang/String;
MethodParameters:
Name Flags
cPathname
klass final
methods
private static void defineDelegateMethodsAppendPath(org.jruby.RubyClass, org.jruby.RubyModule, java.lang.String[]);
descriptor: (Lorg/jruby/RubyClass;Lorg/jruby/RubyModule;[Ljava/lang/String;)V
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
getstatic org.jruby.ext.pathname.RubyPathname.IDENTITY_MAPPER:Lorg/jruby/ext/pathname/RubyPathname$ReturnValueMapper;
getstatic org.jruby.ext.pathname.RubyPathname.APPEND_PATH:Lorg/jruby/ext/pathname/RubyPathname$AddArg;
aload 2
invokestatic org.jruby.ext.pathname.RubyPathname.defineDelegateMethodsGeneric:(Lorg/jruby/RubyClass;Lorg/jruby/RubyModule;Lorg/jruby/ext/pathname/RubyPathname$ReturnValueMapper;Lorg/jruby/ext/pathname/RubyPathname$AddArg;[Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 cPathname Lorg/jruby/RubyClass;
0 2 1 klass Lorg/jruby/RubyModule;
0 2 2 methods [Ljava/lang/String;
MethodParameters:
Name Flags
cPathname
klass final
methods
private static void defineDelegateMethodsSinglePath(org.jruby.RubyClass, org.jruby.RubyModule, java.lang.String[]);
descriptor: (Lorg/jruby/RubyClass;Lorg/jruby/RubyModule;[Ljava/lang/String;)V
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
getstatic org.jruby.ext.pathname.RubyPathname.SINGLE_PATH_MAPPER:Lorg/jruby/ext/pathname/RubyPathname$ReturnValueMapper;
getstatic org.jruby.ext.pathname.RubyPathname.UNSHIFT_PATH:Lorg/jruby/ext/pathname/RubyPathname$AddArg;
aload 2
invokestatic org.jruby.ext.pathname.RubyPathname.defineDelegateMethodsGeneric:(Lorg/jruby/RubyClass;Lorg/jruby/RubyModule;Lorg/jruby/ext/pathname/RubyPathname$ReturnValueMapper;Lorg/jruby/ext/pathname/RubyPathname$AddArg;[Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 cPathname Lorg/jruby/RubyClass;
0 2 1 klass Lorg/jruby/RubyModule;
0 2 2 methods [Ljava/lang/String;
MethodParameters:
Name Flags
cPathname
klass final
methods
private static void defineDelegateMethodsArrayOfPaths(org.jruby.RubyClass, org.jruby.RubyModule, java.lang.String[]);
descriptor: (Lorg/jruby/RubyClass;Lorg/jruby/RubyModule;[Ljava/lang/String;)V
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
getstatic org.jruby.ext.pathname.RubyPathname.ARRAY_OF_PATHS_MAPPER:Lorg/jruby/ext/pathname/RubyPathname$ReturnValueMapper;
getstatic org.jruby.ext.pathname.RubyPathname.UNSHIFT_PATH:Lorg/jruby/ext/pathname/RubyPathname$AddArg;
aload 2
invokestatic org.jruby.ext.pathname.RubyPathname.defineDelegateMethodsGeneric:(Lorg/jruby/RubyClass;Lorg/jruby/RubyModule;Lorg/jruby/ext/pathname/RubyPathname$ReturnValueMapper;Lorg/jruby/ext/pathname/RubyPathname$AddArg;[Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 cPathname Lorg/jruby/RubyClass;
0 2 1 klass Lorg/jruby/RubyModule;
0 2 2 methods [Ljava/lang/String;
MethodParameters:
Name Flags
cPathname
klass final
methods
public void <init>(org.jruby.Ruby, org.jruby.RubyClass);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/pathname/RubyPathname;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 metaClass Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
metaClass
public static org.jruby.ext.pathname.RubyPathname newInstance(org.jruby.runtime.ThreadContext, org.jruby.RubyClass, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/ext/pathname/RubyPathname;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new org.jruby.ext.pathname.RubyPathname
dup
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
invokespecial org.jruby.ext.pathname.RubyPathname.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
astore 3
start local 3 1: aload 3
aload 0
aload 2
invokevirtual org.jruby.ext.pathname.RubyPathname.initialize:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.ext.pathname.RubyPathname
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lorg/jruby/runtime/ThreadContext;
0 2 1 klass Lorg/jruby/RubyClass;
0 2 2 path Lorg/jruby/runtime/builtin/IRubyObject;
1 2 3 pathname Lorg/jruby/ext/pathname/RubyPathname;
MethodParameters:
Name Flags
context
klass
path
public static org.jruby.ext.pathname.RubyPathname newInstance(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/ext/pathname/RubyPathname;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "Pathname"
invokevirtual org.jruby.Ruby.getClass:(Ljava/lang/String;)Lorg/jruby/RubyClass;
aload 1
invokestatic org.jruby.ext.pathname.RubyPathname.newInstance:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/ext/pathname/RubyPathname;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 path Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
path
public org.jruby.runtime.builtin.IRubyObject initialize(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc "to_path"
invokeinterface org.jruby.runtime.builtin.IRubyObject.respondsTo:(Ljava/lang/String;)Z
ifeq 2
1: aload 2
aload 1
ldc "to_path"
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
2: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
astore 3
start local 3 3: aload 3
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
iconst_0
invokevirtual org.jruby.util.ByteList.indexOf:(I)I
iconst_m1
if_icmpeq 5
4: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "pathname contains null byte"
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
5: StackMap locals: org.jruby.RubyString
StackMap stack:
aload 0
aload 3
invokevirtual org.jruby.ext.pathname.RubyPathname.infectBy:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
6: aload 0
aload 3
invokevirtual org.jruby.RubyString.dup:()Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyString
invokevirtual org.jruby.ext.pathname.RubyPathname.setPath:(Lorg/jruby/RubyString;)V
7: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/ext/pathname/RubyPathname;
0 8 1 context Lorg/jruby/runtime/ThreadContext;
0 8 2 path Lorg/jruby/runtime/builtin/IRubyObject;
3 8 3 str Lorg/jruby/RubyString;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
MethodParameters:
Name Flags
context
path
public org.jruby.runtime.builtin.IRubyObject initialize_copy(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokespecial org.jruby.RubyObject.initialize_copy:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
1: aload 0
aload 1
aload 2
invokevirtual org.jruby.ext.pathname.RubyPathname.initialize:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
2: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/pathname/RubyPathname;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 pathname Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
MethodParameters:
Name Flags
context
pathname
public org.jruby.runtime.builtin.IRubyObject to_path(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ext.pathname.RubyPathname.getPath:()Lorg/jruby/RubyString;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/pathname/RubyPathname;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject freeze(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ext.pathname.RubyPathname.getPath:()Lorg/jruby/RubyString;
aload 1
invokevirtual org.jruby.RubyString.freeze:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
1: aload 0
aload 1
invokespecial org.jruby.RubyObject.freeze:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/pathname/RubyPathname;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject taint(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ext.pathname.RubyPathname.getPath:()Lorg/jruby/RubyString;
aload 1
invokevirtual org.jruby.RubyString.taint:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
1: aload 0
aload 1
invokespecial org.jruby.RubyObject.taint:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/pathname/RubyPathname;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject untaint(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ext.pathname.RubyPathname.getPath:()Lorg/jruby/RubyString;
aload 1
invokevirtual org.jruby.RubyString.untaint:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
1: aload 0
aload 1
invokespecial org.jruby.RubyObject.untaint:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/pathname/RubyPathname;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject op_equal(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.jruby.ext.pathname.RubyPathname
ifeq 2
1: aload 1
aload 0
invokevirtual org.jruby.ext.pathname.RubyPathname.getPath:()Lorg/jruby/RubyString;
aload 2
checkcast org.jruby.ext.pathname.RubyPathname
invokevirtual org.jruby.ext.pathname.RubyPathname.getPath:()Lorg/jruby/RubyString;
invokestatic org.jruby.runtime.Helpers.rbEqual:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
areturn
2: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.fals:Lorg/jruby/RubyBoolean;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/pathname/RubyPathname;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 other Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"==", "eql?"})
MethodParameters:
Name Flags
context
other
private int cmp(org.jruby.ext.pathname.RubyPathname);
descriptor: (Lorg/jruby/ext/pathname/RubyPathname;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ext.pathname.RubyPathname.getPath:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.bytes:()[B
astore 2
start local 2 1: aload 1
invokevirtual org.jruby.ext.pathname.RubyPathname.getPath:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.bytes:()[B
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 15
4: StackMap locals: byte[] byte[] int
StackMap stack:
aload 2
iload 4
baload
istore 5
start local 5 5: aload 3
iload 4
baload
istore 6
start local 6 6: iload 5
bipush 47
if_icmpne 8
7: iconst_0
istore 5
8: StackMap locals: int int
StackMap stack:
iload 6
bipush 47
if_icmpne 10
9: iconst_0
istore 6
10: StackMap locals:
StackMap stack:
iload 5
iload 6
if_icmpeq 14
11: iload 5
iload 6
if_icmpge 12
iconst_m1
goto 13
StackMap locals:
StackMap stack:
12: iconst_1
StackMap locals:
StackMap stack: int
13: ireturn
end local 6 end local 5 14: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
15: iload 4
aload 2
arraylength
if_icmpge 16
iload 4
aload 3
arraylength
if_icmplt 4
16: StackMap locals:
StackMap stack:
iload 4
aload 2
arraylength
if_icmpge 18
17: iconst_1
ireturn
18: StackMap locals:
StackMap stack:
iload 4
aload 3
arraylength
if_icmpge 20
19: iconst_m1
ireturn
20: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/jruby/ext/pathname/RubyPathname;
0 21 1 other Lorg/jruby/ext/pathname/RubyPathname;
1 21 2 a [B
2 21 3 b [B
3 21 4 i I
5 14 5 ca B
6 14 6 cb B
MethodParameters:
Name Flags
other
public org.jruby.runtime.builtin.IRubyObject op_cmp(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.jruby.ext.pathname.RubyPathname
ifeq 2
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
aload 2
checkcast org.jruby.ext.pathname.RubyPathname
invokevirtual org.jruby.ext.pathname.RubyPathname.cmp:(Lorg/jruby/ext/pathname/RubyPathname;)I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
2: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/pathname/RubyPathname;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 other Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"<=>"})
MethodParameters:
Name Flags
context
other
public org.jruby.RubyFixnum hash(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyFixnum;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ext.pathname.RubyPathname.getPath:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.hash:()Lorg/jruby/RubyFixnum;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/pathname/RubyPathname;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"hash"})
MethodParameters:
Name Flags
context
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ext.pathname.RubyPathname.getPath:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/pathname/RubyPathname;
public org.jruby.runtime.builtin.IRubyObject to_s(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ext.pathname.RubyPathname.getPath:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.dup:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/pathname/RubyPathname;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject inspect(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "<Pathname:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.jruby.ext.pathname.RubyPathname.getPath:()Lorg/jruby/RubyString;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/pathname/RubyPathname;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject sub(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic org.jruby.ext.pathname.RubyPathname.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$PathnameSites;
getfield org.jruby.runtime.JavaSites$PathnameSites.sub:Lorg/jruby/runtime/CallSite;
aload 1
aload 0
aload 0
invokevirtual org.jruby.ext.pathname.RubyPathname.getPath:()Lorg/jruby/RubyString;
aload 2
aload 3
invokevirtual org.jruby.runtime.CallSite.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 1: aload 1
aload 4
invokestatic org.jruby.ext.pathname.RubyPathname.newInstance:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/ext/pathname/RubyPathname;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/pathname/RubyPathname;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 2 3 block Lorg/jruby/runtime/Block;
1 2 4 result Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(required = 1, optional = 1, reads = {org.jruby.anno.FrameField.BACKREF:Lorg/jruby/anno/FrameField;}, writes = {org.jruby.anno.FrameField.BACKREF:Lorg/jruby/anno/FrameField;})
MethodParameters:
Name Flags
context
args
block
public org.jruby.runtime.builtin.IRubyObject sub_ext(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getFile:()Lorg/jruby/RubyClass;
aload 1
ldc "extname"
aload 0
invokevirtual org.jruby.ext.pathname.RubyPathname.getPath:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyClass.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 1: aload 0
invokevirtual org.jruby.ext.pathname.RubyPathname.getPath:()Lorg/jruby/RubyString;
aload 1
aload 3
invokevirtual org.jruby.RubyString.chomp:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
aload 1
ldc "+"
aload 2
invokevirtual org.jruby.RubyString.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 2: aload 1
aload 4
invokestatic org.jruby.ext.pathname.RubyPathname.newInstance:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/ext/pathname/RubyPathname;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/pathname/RubyPathname;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 newExt Lorg/jruby/runtime/builtin/IRubyObject;
1 3 3 ext Lorg/jruby/runtime/builtin/IRubyObject;
2 3 4 newPath Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
newExt
public org.jruby.runtime.builtin.IRubyObject fnmatch(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
iconst_1
invokevirtual org.jruby.ext.pathname.RubyPathname.insertPath:([Lorg/jruby/runtime/builtin/IRubyObject;I)[Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getFile:()Lorg/jruby/RubyClass;
aload 1
ldc "fnmatch?"
aload 2
invokevirtual org.jruby.RubyClass.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/pathname/RubyPathname;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(alias = {"fnmatch?"}, required = 1, optional = 1)
MethodParameters:
Name Flags
context
args
public org.jruby.runtime.builtin.IRubyObject make_link(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iconst_2
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 0
invokevirtual org.jruby.ext.pathname.RubyPathname.getPath:()Lorg/jruby/RubyString;
aastore
astore 3
start local 3 1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getFile:()Lorg/jruby/RubyClass;
aload 1
ldc "link"
aload 3
invokevirtual org.jruby.RubyClass.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/pathname/RubyPathname;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 old Lorg/jruby/runtime/builtin/IRubyObject;
1 2 3 args [Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
old
public org.jruby.runtime.builtin.IRubyObject make_symlink(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iconst_2
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 0
invokevirtual org.jruby.ext.pathname.RubyPathname.getPath:()Lorg/jruby/RubyString;
aastore
astore 3
start local 3 1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getFile:()Lorg/jruby/RubyClass;
aload 1
ldc "symlink"
aload 3
invokevirtual org.jruby.RubyClass.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/pathname/RubyPathname;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 old Lorg/jruby/runtime/builtin/IRubyObject;
1 2 3 args [Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
old
public org.jruby.runtime.builtin.IRubyObject each_line(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getIO:()Lorg/jruby/RubyClass;
aload 1
ldc "foreach"
aload 0
aload 2
invokevirtual org.jruby.ext.pathname.RubyPathname.unshiftPath:([Lorg/jruby/runtime/builtin/IRubyObject;)[Lorg/jruby/runtime/builtin/IRubyObject;
aload 3
invokevirtual org.jruby.RubyClass.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/pathname/RubyPathname;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(optional = 3)
MethodParameters:
Name Flags
context
args
block
public static org.jruby.runtime.builtin.IRubyObject getwd(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getDir:()Lorg/jruby/RubyClass;
ldc "getwd"
invokevirtual org.jruby.RubyClass.callMethod:(Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.ext.pathname.RubyPathname.newInstance:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/ext/pathname/RubyPathname;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(alias = {"pwd"}, meta = true)
MethodParameters:
Name Flags
context
recv
public static org.jruby.runtime.builtin.IRubyObject glob(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
checkcast org.jruby.RubyClass
1: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getDir:()Lorg/jruby/RubyClass;
aload 0
ldc "glob"
aload 2
invokevirtual org.jruby.RubyClass.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
2: invokestatic org.jruby.ext.pathname.RubyPathname.mapToPathnames:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
astore 4
start local 4 3: aload 3
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifeq 6
4: aload 4
aload 0
aload 3
invokevirtual org.jruby.RubyArray.each:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
5: aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
6: StackMap locals: org.jruby.RubyArray
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 context Lorg/jruby/runtime/ThreadContext;
0 7 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 7 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 7 3 block Lorg/jruby/runtime/Block;
3 7 4 files Lorg/jruby/RubyArray;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(required = 1, optional = 1, meta = true)
MethodParameters:
Name Flags
context
recv
args
block
public org.jruby.runtime.builtin.IRubyObject glob(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=14, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 4
start local 4 1: iconst_3
anewarray org.jruby.runtime.builtin.IRubyObject
astore 5
start local 5 2: aload 3
invokevirtual org.jruby.runtime.Block.isGiven:()Z
istore 6
start local 6 3: aload 5
iconst_0
aload 2
iconst_0
aaload
aastore
4: aload 2
arraylength
iconst_1
if_icmpne 7
5: aload 5
iconst_1
aload 4
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
aastore
6: goto 8
7: StackMap locals: org.jruby.Ruby org.jruby.runtime.builtin.IRubyObject[] int
StackMap stack:
aload 5
iconst_1
aload 2
iconst_1
aaload
aastore
8: StackMap locals:
StackMap stack:
aload 5
iconst_2
aload 4
invokestatic org.jruby.RubyHash.newSmallHash:(Lorg/jruby/Ruby;)Lorg/jruby/RubyHash;
aastore
9: aload 5
iconst_2
aaload
checkcast org.jruby.RubyHash
aload 4
ldc "base"
invokevirtual org.jruby.Ruby.newSymbol:(Ljava/lang/String;)Lorg/jruby/RubySymbol;
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getFile:()Lorg/jruby/RubyClass;
aload 1
ldc "realpath"
aload 0
invokevirtual org.jruby.ext.pathname.RubyPathname.getPath:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyClass.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.RubyHash.fastASetSmall:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
10: aload 1
invokestatic org.jruby.ext.pathname.RubyPathname.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$PathnameSites;
astore 7
start local 7 11: aload 7
getfield org.jruby.runtime.JavaSites$PathnameSites.glob:Lorg/jruby/runtime/CallSite;
astore 8
start local 8 12: aload 8
aload 1
aload 0
aload 4
invokevirtual org.jruby.Ruby.getDir:()Lorg/jruby/RubyClass;
aload 5
invokevirtual org.jruby.runtime.CallSite.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToArray:()Lorg/jruby/RubyArray;
astore 9
start local 9 13: aload 7
getfield org.jruby.runtime.JavaSites$PathnameSites.op_plus:Lorg/jruby/runtime/CallSite;
astore 12
start local 12 14: lconst_0
lstore 10
start local 10 15: goto 21
16: StackMap locals: org.jruby.ext.pathname.RubyPathname org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject[] org.jruby.runtime.Block org.jruby.Ruby org.jruby.runtime.builtin.IRubyObject[] int org.jruby.runtime.JavaSites$PathnameSites org.jruby.runtime.CallSite org.jruby.RubyArray long org.jruby.runtime.CallSite
StackMap stack:
aload 9
lload 10
invokevirtual org.jruby.RubyArray.eltOk:(J)Lorg/jruby/runtime/builtin/IRubyObject;
astore 13
start local 13 17: aload 12
aload 1
aload 0
aload 0
aload 13
invokevirtual org.jruby.runtime.CallSite.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 13
18: aload 9
lload 10
aload 13
invokevirtual org.jruby.RubyArray.eltSetOk:(JLorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
19: iload 6
ifeq 20
aload 3
aload 1
aload 13
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
end local 13 20: StackMap locals:
StackMap stack:
lload 10
lconst_1
ladd
lstore 10
StackMap locals:
StackMap stack:
21: lload 10
aload 9
invokevirtual org.jruby.RubyArray.size:()I
i2l
lcmp
iflt 16
22: iload 6
ifeq 23
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
goto 24
StackMap locals:
StackMap stack:
23: aload 9
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
24: areturn
end local 12 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/jruby/ext/pathname/RubyPathname;
0 25 1 context Lorg/jruby/runtime/ThreadContext;
0 25 2 _args [Lorg/jruby/runtime/builtin/IRubyObject;
0 25 3 block Lorg/jruby/runtime/Block;
1 25 4 runtime Lorg/jruby/Ruby;
2 25 5 args [Lorg/jruby/runtime/builtin/IRubyObject;
3 25 6 blockGiven Z
11 25 7 sites Lorg/jruby/runtime/JavaSites$PathnameSites;
12 25 8 glob Lorg/jruby/runtime/CallSite;
13 25 9 ary Lorg/jruby/RubyArray;
15 25 10 i J
14 25 12 op_plus Lorg/jruby/runtime/CallSite;
17 20 13 elt Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(required = 1, optional = 1)
MethodParameters:
Name Flags
context
_args
block
public org.jruby.runtime.builtin.IRubyObject opendir(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getDir:()Lorg/jruby/RubyClass;
aload 1
ldc "open"
iconst_1
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 0
invokevirtual org.jruby.ext.pathname.RubyPathname.getPath:()Lorg/jruby/RubyString;
aastore
1: aload 2
2: invokevirtual org.jruby.RubyClass.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/pathname/RubyPathname;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
block
public org.jruby.runtime.builtin.IRubyObject each_entry(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifeq 4
1: aload 0
aload 1
ldc "entries"
invokevirtual org.jruby.ext.pathname.RubyPathname.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToArray:()Lorg/jruby/RubyArray;
astore 3
start local 3 2: aload 3
aload 1
aload 2
invokevirtual org.jruby.RubyArray.each:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
3: aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 4: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getDir:()Lorg/jruby/RubyClass;
aload 1
ldc "foreach"
invokevirtual org.jruby.RubyClass.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/ext/pathname/RubyPathname;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 block Lorg/jruby/runtime/Block;
2 4 3 entries Lorg/jruby/RubyArray;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
block
public org.jruby.runtime.builtin.IRubyObject unlink(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getGlobalVariables:()Lorg/jruby/internal/runtime/GlobalVariables;
ldc "$!"
invokevirtual org.jruby.internal.runtime.GlobalVariables.get:(Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
start local 2 1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getDir:()Lorg/jruby/RubyClass;
aload 1
ldc "unlink"
aload 0
invokevirtual org.jruby.ext.pathname.RubyPathname.getPath:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyClass.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
2: areturn
3: StackMap locals: org.jruby.ext.pathname.RubyPathname org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject
StackMap stack: org.jruby.exceptions.RaiseException
astore 3
start local 3 4: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getErrno:()Lorg/jruby/RubyModule;
ldc "ENOTDIR"
invokevirtual org.jruby.RubyModule.getClass:(Ljava/lang/String;)Lorg/jruby/RubyClass;
aload 3
invokevirtual org.jruby.exceptions.RaiseException.getException:()Lorg/jruby/RubyException;
invokevirtual org.jruby.RubyClass.isInstance:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 6
5: aload 3
athrow
6: StackMap locals: org.jruby.exceptions.RaiseException
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getGlobalVariables:()Lorg/jruby/internal/runtime/GlobalVariables;
ldc "$!"
aload 2
invokevirtual org.jruby.internal.runtime.GlobalVariables.set:(Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
7: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getFile:()Lorg/jruby/RubyClass;
aload 1
ldc "unlink"
aload 0
invokevirtual org.jruby.ext.pathname.RubyPathname.getPath:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyClass.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/ext/pathname/RubyPathname;
0 8 1 context Lorg/jruby/runtime/ThreadContext;
1 8 2 oldExc Lorg/jruby/runtime/builtin/IRubyObject;
4 8 3 ex Lorg/jruby/exceptions/RaiseException;
Exception table:
from to target type
1 2 3 Class org.jruby.exceptions.RaiseException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"unlink", "delete"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject empty_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getFileTest:()Lorg/jruby/RubyModule;
astore 2
start local 2 1: aload 2
aload 1
ldc "directory?"
aload 0
invokevirtual org.jruby.ext.pathname.RubyPathname.getPath:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyModule.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ifeq 3
2: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getDir:()Lorg/jruby/RubyClass;
aload 1
ldc "empty?"
aload 0
invokevirtual org.jruby.ext.pathname.RubyPathname.getPath:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyClass.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
3: StackMap locals: org.jruby.RubyModule
StackMap stack:
aload 2
aload 1
ldc "empty?"
aload 0
invokevirtual org.jruby.ext.pathname.RubyPathname.getPath:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyModule.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ext/pathname/RubyPathname;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
1 4 2 fileTest Lorg/jruby/RubyModule;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"empty?"})
MethodParameters:
Name Flags
context
private org.jruby.runtime.builtin.IRubyObject[] insertPath(org.jruby.runtime.builtin.IRubyObject[], int);
descriptor: ([Lorg/jruby/runtime/builtin/IRubyObject;I)[Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
iload 2
aload 0
invokevirtual org.jruby.ext.pathname.RubyPathname.getPath:()Lorg/jruby/RubyString;
invokestatic org.jruby.ext.pathname.RubyPathname.insert:([Lorg/jruby/runtime/builtin/IRubyObject;ILorg/jruby/runtime/builtin/IRubyObject;)[Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/pathname/RubyPathname;
0 1 1 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 i I
MethodParameters:
Name Flags
args
i
private org.jruby.runtime.builtin.IRubyObject[] unshiftPath(org.jruby.runtime.builtin.IRubyObject[]);
descriptor: ([Lorg/jruby/runtime/builtin/IRubyObject;)[Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
iconst_0
aload 0
invokevirtual org.jruby.ext.pathname.RubyPathname.getPath:()Lorg/jruby/RubyString;
invokestatic org.jruby.ext.pathname.RubyPathname.insert:([Lorg/jruby/runtime/builtin/IRubyObject;ILorg/jruby/runtime/builtin/IRubyObject;)[Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/pathname/RubyPathname;
0 1 1 args [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
args
private static org.jruby.runtime.builtin.IRubyObject[] insert(org.jruby.runtime.builtin.IRubyObject[], int, org.jruby.runtime.builtin.IRubyObject);
descriptor: ([Lorg/jruby/runtime/builtin/IRubyObject;ILorg/jruby/runtime/builtin/IRubyObject;)[Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
arraylength
iconst_1
iadd
anewarray org.jruby.runtime.builtin.IRubyObject
astore 3
start local 3 1: iload 1
ifle 3
2: aload 0
iconst_0
aload 3
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: StackMap locals: org.jruby.runtime.builtin.IRubyObject[]
StackMap stack:
aload 3
iload 1
aload 2
aastore
4: aload 0
arraylength
iload 1
if_icmple 6
5: aload 0
iload 1
aload 3
iload 1
iconst_1
iadd
aload 0
arraylength
iload 1
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 old [Lorg/jruby/runtime/builtin/IRubyObject;
0 7 1 i I
0 7 2 obj Lorg/jruby/runtime/builtin/IRubyObject;
1 7 3 ary [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
old
i
obj
private static org.jruby.RubyArray mapToPathnames(org.jruby.runtime.ThreadContext, org.jruby.RubyClass, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToArray:()Lorg/jruby/RubyArray;
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 6
3: StackMap locals: org.jruby.RubyArray int
StackMap stack:
aload 3
iload 4
i2l
invokevirtual org.jruby.RubyArray.eltOk:(J)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
astore 5
start local 5 4: aload 3
iload 4
i2l
aload 0
aload 1
aload 5
invokestatic org.jruby.ext.pathname.RubyPathname.newInstance:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/ext/pathname/RubyPathname;
invokevirtual org.jruby.RubyArray.store:(JLorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
end local 5 5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
aload 3
invokevirtual org.jruby.RubyArray.size:()I
if_icmplt 3
end local 4 7: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 context Lorg/jruby/runtime/ThreadContext;
0 8 1 clazz Lorg/jruby/RubyClass;
0 8 2 ary Lorg/jruby/runtime/builtin/IRubyObject;
1 8 3 paths Lorg/jruby/RubyArray;
2 7 4 i I
4 5 5 path Lorg/jruby/RubyString;
MethodParameters:
Name Flags
context
clazz
ary
private static org.jruby.runtime.JavaSites$PathnameSites sites(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$PathnameSites;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.ThreadContext.sites:Lorg/jruby/runtime/JavaSites;
getfield org.jruby.runtime.JavaSites.Pathname:Lorg/jruby/runtime/JavaSites$PathnameSites;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context
}
SourceFile: "RubyPathname.java"
NestMembers:
org.jruby.ext.pathname.RubyPathname$1 org.jruby.ext.pathname.RubyPathname$2 org.jruby.ext.pathname.RubyPathname$3 org.jruby.ext.pathname.RubyPathname$4 org.jruby.ext.pathname.RubyPathname$5 org.jruby.ext.pathname.RubyPathname$6 org.jruby.ext.pathname.RubyPathname$7 org.jruby.ext.pathname.RubyPathname$AddArg org.jruby.ext.pathname.RubyPathname$PathnameKernelMethods org.jruby.ext.pathname.RubyPathname$ReturnValueMapper
InnerClasses:
org.jruby.ext.pathname.RubyPathname$1
org.jruby.ext.pathname.RubyPathname$2
org.jruby.ext.pathname.RubyPathname$3
org.jruby.ext.pathname.RubyPathname$4
org.jruby.ext.pathname.RubyPathname$5
org.jruby.ext.pathname.RubyPathname$6
org.jruby.ext.pathname.RubyPathname$7
abstract AddArg = org.jruby.ext.pathname.RubyPathname$AddArg of org.jruby.ext.pathname.RubyPathname
public PathnameKernelMethods = org.jruby.ext.pathname.RubyPathname$PathnameKernelMethods of org.jruby.ext.pathname.RubyPathname
abstract ReturnValueMapper = org.jruby.ext.pathname.RubyPathname$ReturnValueMapper of org.jruby.ext.pathname.RubyPathname
public PathnameSites = org.jruby.runtime.JavaSites$PathnameSites of org.jruby.runtime.JavaSites
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyClass(name = {"Pathname"})