public class org.jruby.RubyFileTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.RubyFileTest
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 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/RubyFileTest;
public static org.jruby.RubyModule createFileTestModule(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)Lorg/jruby/RubyModule;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
ldc "FileTest"
invokevirtual org.jruby.Ruby.defineModule:(Ljava/lang/String;)Lorg/jruby/RubyModule;
astore 1
start local 1 1: aload 1
ldc Lorg/jruby/RubyFileTest;
invokevirtual org.jruby.RubyModule.defineAnnotatedMethods:(Ljava/lang/Class;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 runtime Lorg/jruby/Ruby;
1 3 1 fileTestModule Lorg/jruby/RubyModule;
MethodParameters:
Name Flags
runtime
public static org.jruby.runtime.builtin.IRubyObject blockdev_p(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.jruby.RubyFile.fileResource:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/util/FileResource;
invokeinterface org.jruby.util.FileResource.stat:()Ljnr/posix/FileStat;
astore 2
start local 2 1: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
aload 2
ifnull 2
aload 2
invokeinterface jnr.posix.FileStat.isBlockDev:()Z
ifeq 2
iconst_1
goto 3
StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject jnr.posix.FileStat
StackMap stack: org.jruby.Ruby
2: iconst_0
StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject jnr.posix.FileStat
StackMap stack: org.jruby.Ruby int
3: invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 4 1 filename Lorg/jruby/runtime/builtin/IRubyObject;
1 4 2 stat Ljnr/posix/FileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"blockdev?"}, required = 1, module = true)
MethodParameters:
Name Flags
recv
filename
public static org.jruby.runtime.builtin.IRubyObject chardev_p(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.jruby.RubyFile.fileResource:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/util/FileResource;
invokeinterface org.jruby.util.FileResource.stat:()Ljnr/posix/FileStat;
astore 2
start local 2 1: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
aload 2
ifnull 2
aload 2
invokeinterface jnr.posix.FileStat.isCharDev:()Z
ifeq 2
iconst_1
goto 3
StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject jnr.posix.FileStat
StackMap stack: org.jruby.Ruby
2: iconst_0
StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject jnr.posix.FileStat
StackMap stack: org.jruby.Ruby int
3: invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 4 1 filename Lorg/jruby/runtime/builtin/IRubyObject;
1 4 2 stat Ljnr/posix/FileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"chardev?"}, required = 1, module = true)
MethodParameters:
Name Flags
recv
filename
public static org.jruby.runtime.builtin.IRubyObject directory_p(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;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
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 0
aload 1
invokestatic org.jruby.RubyFileTest.directory_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/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 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 1 filename Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
recv
filename
public static org.jruby.runtime.builtin.IRubyObject directory_p(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 1
invokestatic org.jruby.RubyFileTest.directory_p:(Lorg/jruby/runtime/ThreadContext;Lorg/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 ruby Lorg/jruby/Ruby;
0 1 1 filename Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
ruby
filename
public static org.jruby.runtime.builtin.IRubyObject directory_p(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokestatic org.jruby.RubyFileTest.directory_p:(Lorg/jruby/runtime/ThreadContext;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 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 filename Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"directory?"}, required = 1, module = true)
MethodParameters:
Name Flags
context
recv
filename
public static org.jruby.runtime.builtin.IRubyObject directory_p(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 1
instanceof org.jruby.RubyIO
ifne 2
aload 1
ldc "to_io"
invokeinterface org.jruby.runtime.builtin.IRubyObject.respondsTo:(Ljava/lang/String;)Z
ifeq 2
1: aload 1
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getIO:()Lorg/jruby/RubyClass;
ldc "to_io"
invokestatic org.jruby.util.TypeConverter.convertToType:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 1
2: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 1
invokestatic org.jruby.RubyFile.fileResource:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/util/FileResource;
invokeinterface org.jruby.util.FileResource.isDirectory:()Z
invokestatic org.jruby.RubyBoolean.newBoolean:(Lorg/jruby/runtime/ThreadContext;Z)Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lorg/jruby/runtime/ThreadContext;
0 3 1 filename Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
filename
public static org.jruby.runtime.builtin.IRubyObject executable_p(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokestatic org.jruby.RubyFile.fileResource:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/util/FileResource;
invokeinterface org.jruby.util.FileResource.canExecute:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 1 filename Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"executable?"}, required = 1, module = true)
MethodParameters:
Name Flags
recv
filename
public static org.jruby.runtime.builtin.IRubyObject executable_real_p(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getPosix:()Ljnr/posix/POSIX;
invokeinterface jnr.posix.POSIX.isNative:()Z
ifeq 5
1: aload 1
invokestatic org.jruby.RubyFile.fileResource:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/util/FileResource;
invokeinterface org.jruby.util.FileResource.stat:()Ljnr/posix/FileStat;
astore 2
start local 2 2: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
aload 2
ifnull 3
aload 2
invokeinterface jnr.posix.FileStat.isExecutableReal:()Z
ifeq 3
iconst_1
goto 4
StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject jnr.posix.FileStat
StackMap stack: org.jruby.Ruby
3: iconst_0
StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject jnr.posix.FileStat
StackMap stack: org.jruby.Ruby int
4: invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 2 5: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic org.jruby.RubyFileTest.executable_p:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 6 1 filename Lorg/jruby/runtime/builtin/IRubyObject;
2 5 2 stat Ljnr/posix/FileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"executable_real?"}, required = 1, module = true)
MethodParameters:
Name Flags
recv
filename
public static org.jruby.runtime.builtin.IRubyObject exist_p(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;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
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 0
aload 1
invokestatic org.jruby.RubyFileTest.exist_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/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 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 1 filename Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
recv
filename
public static org.jruby.runtime.builtin.IRubyObject exist_p(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
aload 0
aload 2
invokestatic org.jruby.RubyFile.get_path:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
invokestatic org.jruby.RubyFileTest.exist:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyString;)Z
invokestatic org.jruby.RubyBoolean.newBoolean:(Lorg/jruby/runtime/ThreadContext;Z)Lorg/jruby/RubyBoolean;
areturn
end local 2 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;
0 1 2 filename Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"exist?", "exists?"}, required = 1, module = true)
MethodParameters:
Name Flags
context
recv
filename
static boolean exist(org.jruby.runtime.ThreadContext, org.jruby.RubyString);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyString;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.jruby.RubyString.decodeString:()Ljava/lang/String;
astore 2
start local 2 1: invokestatic org.jruby.Ruby.isSecurityRestricted:()Z
ifne 3
2: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
invokestatic org.jruby.util.JRubyFile.createResource:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/util/FileResource;
invokeinterface org.jruby.util.FileResource.exists:()Z
ifeq 3
iconst_1
ireturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 2
invokestatic org.jruby.RubyFileTest.existsOnClasspath:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 context Lorg/jruby/runtime/ThreadContext;
0 4 1 path Lorg/jruby/RubyString;
1 4 2 pathStr Ljava/lang/String;
MethodParameters:
Name Flags
context
path
public static org.jruby.RubyBoolean file_p(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 0
aload 1
invokestatic org.jruby.RubyFileTest.file_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 1 filename Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
recv
filename
public static org.jruby.RubyBoolean file_p(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokestatic org.jruby.RubyFile.fileResource:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/util/FileResource;
invokeinterface org.jruby.util.FileResource.isFile:()Z
invokestatic org.jruby.RubyBoolean.newBoolean:(Lorg/jruby/runtime/ThreadContext;Z)Lorg/jruby/RubyBoolean;
areturn
end local 2 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;
0 1 2 filename Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"file?"}, required = 1, module = true)
MethodParameters:
Name Flags
context
recv
filename
public static org.jruby.runtime.builtin.IRubyObject grpowned_p(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 1
invokestatic org.jruby.RubyFile.fileResource:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/util/FileResource;
invokeinterface org.jruby.util.FileResource.stat:()Ljnr/posix/FileStat;
astore 3
start local 3 2: getstatic org.jruby.platform.Platform.IS_WINDOWS:Z
ifeq 3
aload 2
invokevirtual org.jruby.Ruby.getFalse:()Lorg/jruby/RubyBoolean;
areturn
3: StackMap locals: org.jruby.Ruby jnr.posix.FileStat
StackMap stack:
aload 2
aload 3
ifnull 4
aload 3
invokeinterface jnr.posix.FileStat.isGroupOwned:()Z
ifeq 4
iconst_1
goto 5
StackMap locals:
StackMap stack: org.jruby.Ruby
4: iconst_0
StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.Ruby jnr.posix.FileStat
StackMap stack: org.jruby.Ruby int
5: invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 6 1 filename Lorg/jruby/runtime/builtin/IRubyObject;
1 6 2 runtime Lorg/jruby/Ruby;
2 6 3 stat Ljnr/posix/FileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"grpowned?"}, required = 1, module = true)
MethodParameters:
Name Flags
recv
filename
public static org.jruby.runtime.builtin.IRubyObject identical_p(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
astore 3
start local 3 1: aload 1
invokestatic org.jruby.RubyFile.fileResource:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/util/FileResource;
astore 4
start local 4 2: aload 2
invokestatic org.jruby.RubyFile.fileResource:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/util/FileResource;
astore 5
start local 5 3: getstatic org.jruby.platform.Platform.IS_WINDOWS:Z
ifne 4
aload 3
invokevirtual org.jruby.Ruby.getPosix:()Ljnr/posix/POSIX;
invokeinterface jnr.posix.POSIX.isNative:()Z
ifne 12
4: StackMap locals: org.jruby.Ruby org.jruby.util.FileResource org.jruby.util.FileResource
StackMap stack:
aload 4
invokeinterface org.jruby.util.FileResource.exists:()Z
ifeq 11
aload 5
invokeinterface org.jruby.util.FileResource.exists:()Z
ifeq 11
5: new java.io.File
dup
aload 4
invokeinterface org.jruby.util.FileResource.absolutePath:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
astore 6
start local 6 6: new java.io.File
dup
aload 5
invokeinterface org.jruby.util.FileResource.absolutePath:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
astore 7
start local 7 7: aload 3
aload 6
aload 7
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
8: areturn
end local 7 end local 6 9: StackMap locals:
StackMap stack: java.io.IOException
pop
10: aload 3
invokevirtual org.jruby.Ruby.getFalse:()Lorg/jruby/RubyBoolean;
areturn
11: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.jruby.Ruby.getFalse:()Lorg/jruby/RubyBoolean;
areturn
12: StackMap locals:
StackMap stack:
aload 4
invokeinterface org.jruby.util.FileResource.stat:()Ljnr/posix/FileStat;
astore 6
start local 6 13: aload 5
invokeinterface org.jruby.util.FileResource.stat:()Ljnr/posix/FileStat;
astore 7
start local 7 14: aload 3
aload 6
ifnull 15
aload 7
ifnull 15
aload 6
aload 7
invokeinterface jnr.posix.FileStat.isIdentical:(Ljnr/posix/FileStat;)Z
ifeq 15
iconst_1
goto 16
StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.Ruby org.jruby.util.FileResource org.jruby.util.FileResource jnr.posix.FileStat jnr.posix.FileStat
StackMap stack: org.jruby.Ruby
15: iconst_0
StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.Ruby org.jruby.util.FileResource org.jruby.util.FileResource jnr.posix.FileStat jnr.posix.FileStat
StackMap stack: org.jruby.Ruby int
16: invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
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 17 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 17 1 filename1 Lorg/jruby/runtime/builtin/IRubyObject;
0 17 2 filename2 Lorg/jruby/runtime/builtin/IRubyObject;
1 17 3 runtime Lorg/jruby/Ruby;
2 17 4 file1 Lorg/jruby/util/FileResource;
3 17 5 file2 Lorg/jruby/util/FileResource;
6 9 6 canon1 Ljava/lang/String;
7 9 7 canon2 Ljava/lang/String;
13 17 6 stat1 Ljnr/posix/FileStat;
14 17 7 stat2 Ljnr/posix/FileStat;
Exception table:
from to target type
5 8 9 Class java.io.IOException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"identical?"}, required = 2, module = true)
MethodParameters:
Name Flags
recv
filename1
filename2
public static org.jruby.runtime.builtin.IRubyObject owned_p(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.jruby.RubyFile.fileResource:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/util/FileResource;
invokeinterface org.jruby.util.FileResource.stat:()Ljnr/posix/FileStat;
astore 2
start local 2 1: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
aload 2
ifnull 2
aload 2
invokeinterface jnr.posix.FileStat.isOwned:()Z
ifeq 2
iconst_1
goto 3
StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject jnr.posix.FileStat
StackMap stack: org.jruby.Ruby
2: iconst_0
StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject jnr.posix.FileStat
StackMap stack: org.jruby.Ruby int
3: invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 4 1 filename Lorg/jruby/runtime/builtin/IRubyObject;
1 4 2 stat Ljnr/posix/FileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"owned?"}, required = 1, module = true)
MethodParameters:
Name Flags
recv
filename
public static org.jruby.runtime.builtin.IRubyObject pipe_p(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.jruby.RubyFile.fileResource:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/util/FileResource;
invokeinterface org.jruby.util.FileResource.stat:()Ljnr/posix/FileStat;
astore 2
start local 2 1: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
aload 2
ifnull 2
aload 2
invokeinterface jnr.posix.FileStat.isNamedPipe:()Z
ifeq 2
iconst_1
goto 3
StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject jnr.posix.FileStat
StackMap stack: org.jruby.Ruby
2: iconst_0
StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject jnr.posix.FileStat
StackMap stack: org.jruby.Ruby int
3: invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 4 1 filename Lorg/jruby/runtime/builtin/IRubyObject;
1 4 2 stat Ljnr/posix/FileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"pipe?"}, required = 1, module = true)
MethodParameters:
Name Flags
recv
filename
public static org.jruby.runtime.builtin.IRubyObject readable_p(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;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
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 0
aload 1
invokestatic org.jruby.RubyFileTest.readable_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/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 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 1 filename Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
recv
filename
public static org.jruby.runtime.builtin.IRubyObject readable_p(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 1: aload 2
instanceof org.jruby.RubyFile
ifne 3
2: aload 0
aload 2
invokestatic org.jruby.RubyFile.get_path:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
astore 2
3: StackMap locals: org.jruby.Ruby
StackMap stack:
aload 3
aload 2
invokestatic org.jruby.RubyFile.fileResource:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/util/FileResource;
invokeinterface org.jruby.util.FileResource.canRead:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 context Lorg/jruby/runtime/ThreadContext;
0 4 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 4 2 filename Lorg/jruby/runtime/builtin/IRubyObject;
1 4 3 runtime Lorg/jruby/Ruby;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"readable?", "readable_real?"}, required = 1, module = true)
MethodParameters:
Name Flags
context
recv
filename
public static org.jruby.runtime.builtin.IRubyObject rowned_p(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.jruby.RubyFile.fileResource:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/util/FileResource;
invokeinterface org.jruby.util.FileResource.stat:()Ljnr/posix/FileStat;
astore 2
start local 2 1: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
aload 2
ifnull 2
aload 2
invokeinterface jnr.posix.FileStat.isROwned:()Z
ifeq 2
iconst_1
goto 3
StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject jnr.posix.FileStat
StackMap stack: org.jruby.Ruby
2: iconst_0
StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject jnr.posix.FileStat
StackMap stack: org.jruby.Ruby int
3: invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 4 1 filename Lorg/jruby/runtime/builtin/IRubyObject;
1 4 2 stat Ljnr/posix/FileStat;
MethodParameters:
Name Flags
recv
filename
public static org.jruby.runtime.builtin.IRubyObject setgid_p(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.jruby.RubyFile.fileResource:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/util/FileResource;
invokeinterface org.jruby.util.FileResource.stat:()Ljnr/posix/FileStat;
astore 2
start local 2 1: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
aload 2
ifnull 2
aload 2
invokeinterface jnr.posix.FileStat.isSetgid:()Z
ifeq 2
iconst_1
goto 3
StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject jnr.posix.FileStat
StackMap stack: org.jruby.Ruby
2: iconst_0
StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject jnr.posix.FileStat
StackMap stack: org.jruby.Ruby int
3: invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 4 1 filename Lorg/jruby/runtime/builtin/IRubyObject;
1 4 2 stat Ljnr/posix/FileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"setgid?"}, required = 1, module = true)
MethodParameters:
Name Flags
recv
filename
public static org.jruby.runtime.builtin.IRubyObject setuid_p(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.jruby.RubyFile.fileResource:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/util/FileResource;
invokeinterface org.jruby.util.FileResource.stat:()Ljnr/posix/FileStat;
astore 2
start local 2 1: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
aload 2
ifnull 2
aload 2
invokeinterface jnr.posix.FileStat.isSetuid:()Z
ifeq 2
iconst_1
goto 3
StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject jnr.posix.FileStat
StackMap stack: org.jruby.Ruby
2: iconst_0
StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject jnr.posix.FileStat
StackMap stack: org.jruby.Ruby int
3: invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 4 1 filename Lorg/jruby/runtime/builtin/IRubyObject;
1 4 2 stat Ljnr/posix/FileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"setuid?"}, required = 1, module = true)
MethodParameters:
Name Flags
recv
filename
public static org.jruby.runtime.builtin.IRubyObject size(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;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
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 0
aload 1
invokestatic org.jruby.RubyFileTest.size:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/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 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 1 filename Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
recv
filename
public static org.jruby.runtime.builtin.IRubyObject size(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.jruby.RubyFile
ifne 2
aload 2
ldc "to_io"
invokeinterface org.jruby.runtime.builtin.IRubyObject.respondsTo:(Ljava/lang/String;)Z
ifeq 2
1: aload 2
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getIO:()Lorg/jruby/RubyClass;
ldc "to_io"
invokestatic org.jruby.util.TypeConverter.convertToType:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
2: StackMap locals:
StackMap stack:
aload 2
invokestatic org.jruby.RubyFile.fileResource:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/util/FileResource;
invokeinterface org.jruby.util.FileResource.stat:()Ljnr/posix/FileStat;
astore 3
start local 3 3: aload 3
ifnonnull 4
aload 2
invokestatic org.jruby.RubyFileTest.noFileError:(Lorg/jruby/runtime/builtin/IRubyObject;)V
4: StackMap locals: jnr.posix.FileStat
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 3
invokeinterface jnr.posix.FileStat.st_size:()J
invokevirtual org.jruby.Ruby.newFixnum:(J)Lorg/jruby/RubyFixnum;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 context Lorg/jruby/runtime/ThreadContext;
0 5 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 5 2 filename Lorg/jruby/runtime/builtin/IRubyObject;
3 5 3 stat Ljnr/posix/FileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"size"}, required = 1, module = true)
MethodParameters:
Name Flags
context
recv
filename
public static org.jruby.runtime.builtin.IRubyObject size_p(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;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
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 0
aload 1
invokestatic org.jruby.RubyFileTest.size_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/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 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 1 filename Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
recv
filename
public static org.jruby.runtime.builtin.IRubyObject size_p(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 1: aload 2
instanceof org.jruby.RubyFile
ifne 3
aload 2
ldc "to_io"
invokeinterface org.jruby.runtime.builtin.IRubyObject.respondsTo:(Ljava/lang/String;)Z
ifeq 3
2: aload 2
aload 3
invokevirtual org.jruby.Ruby.getIO:()Lorg/jruby/RubyClass;
ldc "to_io"
invokestatic org.jruby.util.TypeConverter.convertToType:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
3: StackMap locals: org.jruby.Ruby
StackMap stack:
aload 2
invokestatic org.jruby.RubyFile.fileResource:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/util/FileResource;
invokeinterface org.jruby.util.FileResource.stat:()Ljnr/posix/FileStat;
astore 4
start local 4 4: aload 4
ifnonnull 5
aload 3
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
5: StackMap locals: jnr.posix.FileStat
StackMap stack:
aload 4
invokeinterface jnr.posix.FileStat.st_size:()J
lstore 5
start local 5 6: lload 5
lconst_0
lcmp
ifle 7
aload 3
lload 5
invokevirtual org.jruby.Ruby.newFixnum:(J)Lorg/jruby/RubyFixnum;
goto 8
StackMap locals: long
StackMap stack:
7: aload 3
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
8: areturn
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 9 0 context Lorg/jruby/runtime/ThreadContext;
0 9 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 9 2 filename Lorg/jruby/runtime/builtin/IRubyObject;
1 9 3 runtime Lorg/jruby/Ruby;
4 9 4 stat Ljnr/posix/FileStat;
6 9 5 length J
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"size?"}, required = 1, module = true)
MethodParameters:
Name Flags
context
recv
filename
public static org.jruby.runtime.builtin.IRubyObject socket_p(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.jruby.RubyFile.fileResource:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/util/FileResource;
invokeinterface org.jruby.util.FileResource.stat:()Ljnr/posix/FileStat;
astore 2
start local 2 1: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
aload 2
ifnull 2
aload 2
invokeinterface jnr.posix.FileStat.isSocket:()Z
ifeq 2
iconst_1
goto 3
StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject jnr.posix.FileStat
StackMap stack: org.jruby.Ruby
2: iconst_0
StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject jnr.posix.FileStat
StackMap stack: org.jruby.Ruby int
3: invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 4 1 filename Lorg/jruby/runtime/builtin/IRubyObject;
1 4 2 stat Ljnr/posix/FileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"socket?"}, required = 1, module = true)
MethodParameters:
Name Flags
recv
filename
public static org.jruby.runtime.builtin.IRubyObject sticky_p(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.jruby.RubyFile.fileResource:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/util/FileResource;
invokeinterface org.jruby.util.FileResource.stat:()Ljnr/posix/FileStat;
astore 2
start local 2 1: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
aload 2
ifnull 2
aload 2
invokeinterface jnr.posix.FileStat.isSticky:()Z
ifeq 2
iconst_1
goto 3
StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject jnr.posix.FileStat
StackMap stack: org.jruby.Ruby
2: iconst_0
StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject jnr.posix.FileStat
StackMap stack: org.jruby.Ruby int
3: invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 4 1 filename Lorg/jruby/runtime/builtin/IRubyObject;
1 4 2 stat Ljnr/posix/FileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"sticky?"}, required = 1, module = true)
MethodParameters:
Name Flags
recv
filename
public static org.jruby.RubyBoolean symlink_p(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokestatic org.jruby.RubyFile.fileResource:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/util/FileResource;
invokeinterface org.jruby.util.FileResource.isSymLink:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 1 filename Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"symlink?"}, required = 1, module = true)
MethodParameters:
Name Flags
recv
filename
public static org.jruby.RubyBoolean writable_p(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokestatic org.jruby.RubyFile.fileResource:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/util/FileResource;
invokeinterface org.jruby.util.FileResource.canWrite:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 1 filename Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"writable?", "writable_real?"}, required = 1, module = true)
MethodParameters:
Name Flags
recv
filename
public static org.jruby.RubyBoolean zero_p(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 0
aload 1
invokestatic org.jruby.RubyFileTest.zero_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 1 filename Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
recv
filename
public static org.jruby.RubyBoolean zero_p(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokestatic org.jruby.RubyFile.fileResource:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/util/FileResource;
astore 3
start local 3 1: aload 3
invokeinterface org.jruby.util.FileResource.isNull:()Z
ifeq 2
aload 0
iconst_1
invokestatic org.jruby.RubyBoolean.newBoolean:(Lorg/jruby/runtime/ThreadContext;Z)Lorg/jruby/RubyBoolean;
areturn
2: StackMap locals: org.jruby.util.FileResource
StackMap stack:
aload 3
invokeinterface org.jruby.util.FileResource.stat:()Ljnr/posix/FileStat;
astore 4
start local 4 3: aload 4
ifnonnull 4
aload 0
getfield org.jruby.runtime.ThreadContext.fals:Lorg/jruby/RubyBoolean;
areturn
4: StackMap locals: jnr.posix.FileStat
StackMap stack:
aload 4
invokeinterface jnr.posix.FileStat.isDirectory:()Z
ifeq 5
aload 0
getstatic org.jruby.platform.Platform.IS_WINDOWS:Z
invokestatic org.jruby.RubyBoolean.newBoolean:(Lorg/jruby/runtime/ThreadContext;Z)Lorg/jruby/RubyBoolean;
areturn
5: StackMap locals:
StackMap stack:
aload 0
aload 4
invokeinterface jnr.posix.FileStat.st_size:()J
lconst_0
lcmp
ifne 6
iconst_1
goto 7
StackMap locals:
StackMap stack: org.jruby.runtime.ThreadContext
6: iconst_0
StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.util.FileResource jnr.posix.FileStat
StackMap stack: org.jruby.runtime.ThreadContext int
7: invokestatic org.jruby.RubyBoolean.newBoolean:(Lorg/jruby/runtime/ThreadContext;Z)Lorg/jruby/RubyBoolean;
areturn
end local 4 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 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 8 2 filename Lorg/jruby/runtime/builtin/IRubyObject;
1 8 3 resource Lorg/jruby/util/FileResource;
3 8 4 stat Ljnr/posix/FileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"empty?", "zero?"}, required = 1, module = true)
MethodParameters:
Name Flags
context
recv
filename
public static org.jruby.runtime.builtin.IRubyObject worldReadable(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokestatic org.jruby.RubyFileTest.getRubyFileStat:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFileStat;
astore 3
start local 3 1: aload 3
ifnonnull 2
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
goto 3
StackMap locals: org.jruby.RubyFileStat
StackMap stack:
2: aload 3
aload 0
invokevirtual org.jruby.RubyFileStat.worldReadable:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
3: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 context Lorg/jruby/runtime/ThreadContext;
0 4 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 4 2 filename Lorg/jruby/runtime/builtin/IRubyObject;
1 4 3 stat Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"world_readable?"}, required = 1, module = true)
MethodParameters:
Name Flags
context
recv
filename
public static org.jruby.runtime.builtin.IRubyObject worldWritable(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokestatic org.jruby.RubyFileTest.getRubyFileStat:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFileStat;
astore 3
start local 3 1: aload 3
ifnonnull 2
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
goto 3
StackMap locals: org.jruby.RubyFileStat
StackMap stack:
2: aload 3
aload 0
invokevirtual org.jruby.RubyFileStat.worldWritable:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
3: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 context Lorg/jruby/runtime/ThreadContext;
0 4 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 4 2 filename Lorg/jruby/runtime/builtin/IRubyObject;
1 4 3 stat Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"world_writable?"}, required = 1, module = true)
MethodParameters:
Name Flags
context
recv
filename
private static org.jruby.RubyFileStat getRubyFileStat(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFileStat;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 2
start local 2 1: aconst_null
astore 3
start local 3 2: aload 1
instanceof org.jruby.RubyFile
ifne 8
3: aload 0
aload 1
invokestatic org.jruby.RubyFile.get_path:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
astore 4
start local 4 4: aload 2
aload 4
invokevirtual org.jruby.RubyString.getUnicodeValue:()Ljava/lang/String;
invokestatic org.jruby.util.JRubyFile.createResource:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/util/FileResource;
astore 5
start local 5 5: aload 5
invokeinterface org.jruby.util.FileResource.exists:()Z
ifeq 9
6: aload 2
aload 5
invokeinterface org.jruby.util.FileResource.absolutePath:()Ljava/lang/String;
iconst_0
invokevirtual org.jruby.Ruby.newFileStat:(Ljava/lang/String;Z)Lorg/jruby/RubyFileStat;
astore 3
end local 5 end local 4 7: goto 9
8: StackMap locals: org.jruby.Ruby org.jruby.RubyFileStat
StackMap stack:
aload 1
checkcast org.jruby.RubyFile
aload 0
invokevirtual org.jruby.RubyFile.stat:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyFileStat
astore 3
9: 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 10 0 context Lorg/jruby/runtime/ThreadContext;
0 10 1 filename Lorg/jruby/runtime/builtin/IRubyObject;
1 10 2 runtime Lorg/jruby/Ruby;
2 10 3 stat Lorg/jruby/RubyFileStat;
4 7 4 path Lorg/jruby/RubyString;
5 7 5 file Lorg/jruby/util/FileResource;
MethodParameters:
Name Flags
context
filename
private static boolean existsOnClasspath(org.jruby.runtime.ThreadContext, java.lang.String);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ldc "classpath:/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 12
1: aload 1
ldc "classpath:/"
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 1
2: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getJRubyClassLoader:()Lorg/jruby/util/JRubyClassLoader;
astore 2
start local 2 3: aload 2
ifnonnull 5
invokestatic org.jruby.Ruby.isSecurityRestricted:()Z
ifeq 5
4: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getInstanceConfig:()Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getLoader:()Ljava/lang/ClassLoader;
astore 2
5: StackMap locals: java.lang.ClassLoader
StackMap stack:
aload 2
aload 1
invokevirtual java.lang.ClassLoader.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
astore 3
start local 3 6: aload 3
ifnull 12
7: aload 3
invokevirtual java.io.InputStream.close:()V
8: goto 11
StackMap locals: org.jruby.runtime.ThreadContext java.lang.String java.lang.ClassLoader java.io.InputStream
StackMap stack: java.io.IOException
9: pop
goto 11
10: StackMap locals:
StackMap stack: java.lang.NullPointerException
pop
11: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 3 end local 2 12: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 context Lorg/jruby/runtime/ThreadContext;
0 13 1 path Ljava/lang/String;
3 12 2 classLoader Ljava/lang/ClassLoader;
6 12 3 is Ljava/io/InputStream;
Exception table:
from to target type
7 8 9 Class java.io.IOException
7 8 10 Class java.lang.NullPointerException
MethodParameters:
Name Flags
context
path
private static void noFileError(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "No such file or directory - "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: invokevirtual org.jruby.Ruby.newErrnoENOENTError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 filename Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
filename
}
SourceFile: "RubyFileTest.java"
NestMembers:
org.jruby.RubyFileTest$FileTestFileMethods
InnerClasses:
public FileTestFileMethods = org.jruby.RubyFileTest$FileTestFileMethods of org.jruby.RubyFileTest
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyModule(name = {"FileTest"})