public class org.jruby.RubyFileStat extends org.jruby.RubyObject
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.RubyFileStat
super_class: org.jruby.RubyObject
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int S_IRUGO;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 292
private static final int S_IWUGO;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 146
private static final int S_IXUGO;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 73
public static final int BILLION;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1000000000
private org.jruby.util.FileResource file;
descriptor: Lorg/jruby/util/FileResource;
flags: (0x0002) ACC_PRIVATE
private jnr.posix.FileStat stat;
descriptor: Ljnr/posix/FileStat;
flags: (0x0002) ACC_PRIVATE
private static org.jruby.runtime.ObjectAllocator 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.RubyFileStat$1
dup
invokespecial org.jruby.RubyFileStat$1.<init>:()V
putstatic org.jruby.RubyFileStat.ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
1: return
LocalVariableTable:
Start End Slot Name Signature
private void checkInitialized();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
ifnonnull 1
aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
ldc "uninitialized File::Stat"
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
1: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
public static org.jruby.RubyClass createFileStatClass(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)Lorg/jruby/RubyClass;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.Ruby.getFile:()Lorg/jruby/RubyClass;
ldc "Stat"
aload 0
invokevirtual org.jruby.Ruby.getObject:()Lorg/jruby/RubyClass;
getstatic org.jruby.RubyFileStat.ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
invokevirtual org.jruby.RubyClass.defineClassUnder:(Ljava/lang/String;Lorg/jruby/RubyClass;Lorg/jruby/runtime/ObjectAllocator;)Lorg/jruby/RubyClass;
astore 1
start local 1 1: aload 0
aload 1
invokevirtual org.jruby.Ruby.setFileStat:(Lorg/jruby/RubyClass;)V
2: aload 1
aload 0
ldc "Comparable"
invokevirtual org.jruby.Ruby.getModule:(Ljava/lang/String;)Lorg/jruby/RubyModule;
invokevirtual org.jruby.RubyClass.includeModule:(Lorg/jruby/runtime/builtin/IRubyObject;)V
3: aload 1
ldc Lorg/jruby/RubyFileStat;
invokevirtual org.jruby.RubyClass.defineAnnotatedMethods:(Ljava/lang/Class;)V
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 runtime Lorg/jruby/Ruby;
1 5 1 fileStatClass Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
protected void <init>(org.jruby.Ruby, org.jruby.RubyClass);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
flags: (0x0004) ACC_PROTECTED
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/RubyFileStat;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 clazz Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
clazz
public static org.jruby.RubyFileStat newFileStat(org.jruby.Ruby, java.lang.String, boolean);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/String;Z)Lorg/jruby/RubyFileStat;
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.RubyFileStat
dup
aload 0
aload 0
invokevirtual org.jruby.Ruby.getFileStat:()Lorg/jruby/RubyClass;
invokespecial org.jruby.RubyFileStat.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
astore 3
start local 3 1: aload 3
aload 1
iload 2
invokevirtual org.jruby.RubyFileStat.setup:(Ljava/lang/String;Z)V
2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 runtime Lorg/jruby/Ruby;
0 3 1 filename Ljava/lang/String;
0 3 2 lstat Z
1 3 3 stat Lorg/jruby/RubyFileStat;
MethodParameters:
Name Flags
runtime
filename
lstat
public static org.jruby.RubyFileStat newFileStat(org.jruby.Ruby, java.io.FileDescriptor);
descriptor: (Lorg/jruby/Ruby;Ljava/io/FileDescriptor;)Lorg/jruby/RubyFileStat;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new org.jruby.RubyFileStat
dup
aload 0
aload 0
invokevirtual org.jruby.Ruby.getFileStat:()Lorg/jruby/RubyClass;
invokespecial org.jruby.RubyFileStat.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
astore 2
start local 2 1: aload 2
aload 1
invokevirtual org.jruby.RubyFileStat.setup:(Ljava/io/FileDescriptor;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 runtime Lorg/jruby/Ruby;
0 3 1 descriptor Ljava/io/FileDescriptor;
1 3 2 stat Lorg/jruby/RubyFileStat;
MethodParameters:
Name Flags
runtime
descriptor
public static org.jruby.RubyFileStat newFileStat(org.jruby.Ruby, int);
descriptor: (Lorg/jruby/Ruby;I)Lorg/jruby/RubyFileStat;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new org.jruby.RubyFileStat
dup
aload 0
aload 0
invokevirtual org.jruby.Ruby.getFileStat:()Lorg/jruby/RubyClass;
invokespecial org.jruby.RubyFileStat.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
astore 2
start local 2 1: aload 2
iload 1
invokevirtual org.jruby.RubyFileStat.setup:(I)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 runtime Lorg/jruby/Ruby;
0 3 1 fileno I
1 3 2 stat Lorg/jruby/RubyFileStat;
MethodParameters:
Name Flags
runtime
fileno
private void setup(java.io.FileDescriptor);
descriptor: (Ljava/io/FileDescriptor;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getPosix:()Ljnr/posix/POSIX;
aload 1
invokeinterface jnr.posix.POSIX.fstat:(Ljava/io/FileDescriptor;)Ljnr/posix/FileStat;
putfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
0 2 1 descriptor Ljava/io/FileDescriptor;
MethodParameters:
Name Flags
descriptor
private void setup(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getPosix:()Ljnr/posix/POSIX;
iload 1
invokeinterface jnr.posix.POSIX.fstat:(I)Ljnr/posix/FileStat;
putfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
0 2 1 fileno I
MethodParameters:
Name Flags
fileno
private void setup(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
astore 3
start local 3 1: getstatic jnr.posix.util.Platform.IS_WINDOWS:Z
ifeq 4
aload 1
invokevirtual java.lang.String.length:()I
iconst_2
if_icmpne 4
2: aload 1
iconst_1
invokevirtual java.lang.String.charAt:(I)C
bipush 58
if_icmpne 4
aload 1
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isLetter:(C)Z
ifeq 4
3: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
4: StackMap locals: org.jruby.Ruby
StackMap stack:
aload 0
aload 3
aload 1
invokestatic org.jruby.util.JRubyFile.createResource:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/util/FileResource;
putfield org.jruby.RubyFileStat.file:Lorg/jruby/util/FileResource;
5: aload 0
iload 2
ifeq 6
aload 0
getfield org.jruby.RubyFileStat.file:Lorg/jruby/util/FileResource;
invokeinterface org.jruby.util.FileResource.lstat:()Ljnr/posix/FileStat;
goto 7
StackMap locals:
StackMap stack: org.jruby.RubyFileStat
6: aload 0
getfield org.jruby.RubyFileStat.file:Lorg/jruby/util/FileResource;
invokeinterface org.jruby.util.FileResource.stat:()Ljnr/posix/FileStat;
StackMap locals: org.jruby.RubyFileStat java.lang.String int org.jruby.Ruby
StackMap stack: org.jruby.RubyFileStat jnr.posix.FileStat
7: putfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
8: aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
ifnonnull 9
aload 3
aload 0
getfield org.jruby.RubyFileStat.file:Lorg/jruby/util/FileResource;
invokeinterface org.jruby.util.FileResource.errno:()I
aload 1
invokevirtual org.jruby.Ruby.newErrnoFromInt:(ILjava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
9: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/jruby/RubyFileStat;
0 10 1 filename Ljava/lang/String;
0 10 2 lstat Z
1 10 3 runtime Lorg/jruby/Ruby;
MethodParameters:
Name Flags
filename
lstat
public org.jruby.runtime.builtin.IRubyObject initialize(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)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 1
aload 2
invokevirtual org.jruby.RubyFileStat.initialize19:(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 1 0 this Lorg/jruby/RubyFileStat;
0 1 1 fname Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 unusedBlock Lorg/jruby/runtime/Block;
MethodParameters:
Name Flags
fname
unusedBlock
public org.jruby.runtime.builtin.IRubyObject initialize19(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
astore 3
start local 3 1: aload 3
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
astore 4
start local 4 2: aload 3
aload 4
aload 1
invokestatic org.jruby.RubyFile.get_path:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
invokestatic org.jruby.util.StringSupport.checkEmbeddedNulls:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
astore 5
start local 5 3: aload 0
aload 5
invokevirtual org.jruby.RubyString.convertToString:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.toString:()Ljava/lang/String;
iconst_0
invokevirtual org.jruby.RubyFileStat.setup:(Ljava/lang/String;Z)V
4: aload 0
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 5 0 this Lorg/jruby/RubyFileStat;
0 5 1 fname Lorg/jruby/runtime/builtin/IRubyObject;
0 5 2 unusedBlock Lorg/jruby/runtime/Block;
1 5 3 runtime Lorg/jruby/Ruby;
2 5 4 context Lorg/jruby/runtime/ThreadContext;
3 5 5 path Lorg/jruby/RubyString;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"initialize"}, required = 1, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
MethodParameters:
Name Flags
fname
unusedBlock
public org.jruby.runtime.builtin.IRubyObject atime();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
instanceof jnr.posix.NanosecondFileStat
ifeq 3
2: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.atime:()J
ldc 1000000000
lmul
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
checkcast jnr.posix.NanosecondFileStat
invokeinterface jnr.posix.NanosecondFileStat.aTimeNanoSecs:()J
ladd
invokestatic org.jruby.RubyTime.newTimeFromNanoseconds:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyTime;
areturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.atime:()J
ldc 1000
lmul
invokevirtual org.jruby.Ruby.newTime:(J)Lorg/jruby/RubyTime;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"atime"})
public org.jruby.runtime.builtin.IRubyObject blockSize(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: getstatic jnr.posix.util.Platform.IS_WINDOWS:Z
ifeq 2
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.blockSize:()J
invokevirtual org.jruby.Ruby.newFixnum:(J)Lorg/jruby/RubyFixnum;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyFileStat;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"blksize"})
MethodParameters:
Name Flags
context
public org.jruby.RubyFixnum blksize();
descriptor: ()Lorg/jruby/RubyFixnum;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.blockSize:()J
invokevirtual org.jruby.Ruby.newFixnum:(J)Lorg/jruby/RubyFixnum;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public org.jruby.runtime.builtin.IRubyObject blockdev_p();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.isBlockDev:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"blockdev?"})
public org.jruby.runtime.builtin.IRubyObject blocks();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: getstatic jnr.posix.util.Platform.IS_WINDOWS:Z
ifeq 2
aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.blocks:()J
invokevirtual org.jruby.Ruby.newFixnum:(J)Lorg/jruby/RubyFixnum;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"blocks"})
public org.jruby.runtime.builtin.IRubyObject chardev_p();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.isCharDev:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"chardev?"})
public org.jruby.runtime.builtin.IRubyObject cmp(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 1
instanceof org.jruby.RubyFileStat
ifne 2
aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.mtime:()J
lstore 2
start local 2 3: aload 1
checkcast org.jruby.RubyFileStat
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.mtime:()J
lstore 4
start local 4 4: lload 2
lload 4
lcmp
ifne 6
5: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
iconst_0
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
6: StackMap locals: long long
StackMap stack:
lload 2
lload 4
lcmp
ifge 8
7: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
iconst_m1
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
iconst_1
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/RubyFileStat;
0 9 1 other Lorg/jruby/runtime/builtin/IRubyObject;
3 9 2 time1 J
4 9 4 time2 J
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"<=>"}, required = 1)
MethodParameters:
Name Flags
other
public org.jruby.runtime.builtin.IRubyObject ctime();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
instanceof jnr.posix.NanosecondFileStat
ifeq 3
2: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.ctime:()J
ldc 1000000000
lmul
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
checkcast jnr.posix.NanosecondFileStat
invokeinterface jnr.posix.NanosecondFileStat.cTimeNanoSecs:()J
ladd
invokestatic org.jruby.RubyTime.newTimeFromNanoseconds:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyTime;
areturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.ctime:()J
ldc 1000
lmul
invokevirtual org.jruby.Ruby.newTime:(J)Lorg/jruby/RubyTime;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"ctime"})
public org.jruby.runtime.builtin.IRubyObject birthtime();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aconst_null
astore 1
start local 1 2: aload 0
getfield org.jruby.RubyFileStat.file:Lorg/jruby/util/FileResource;
ifnull 3
aload 0
getfield org.jruby.RubyFileStat.file:Lorg/jruby/util/FileResource;
invokeinterface org.jruby.util.FileResource.absolutePath:()Ljava/lang/String;
invokestatic org.jruby.RubyFile.getBirthtimeWithNIO:(Ljava/lang/String;)Ljava/nio/file/attribute/FileTime;
dup
astore 1
ifnonnull 4
3: StackMap locals: java.nio.file.attribute.FileTime
StackMap stack:
aload 0
invokevirtual org.jruby.RubyFileStat.ctime:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokevirtual java.nio.file.attribute.FileTime.toMillis:()J
invokevirtual org.jruby.Ruby.newTime:(J)Lorg/jruby/RubyTime;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/RubyFileStat;
2 5 1 btime Ljava/nio/file/attribute/FileTime;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"birthtime"})
public org.jruby.runtime.builtin.IRubyObject dev();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.dev:()J
invokevirtual org.jruby.Ruby.newFixnum:(J)Lorg/jruby/RubyFixnum;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"dev"})
public org.jruby.runtime.builtin.IRubyObject devMajor();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: getstatic jnr.posix.util.Platform.IS_WINDOWS:Z
ifeq 2
aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.dev:()J
invokeinterface jnr.posix.FileStat.major:(J)I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"dev_major"})
public org.jruby.runtime.builtin.IRubyObject devMinor();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: getstatic jnr.posix.util.Platform.IS_WINDOWS:Z
ifeq 2
aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.dev:()J
invokeinterface jnr.posix.FileStat.minor:(J)I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"dev_minor"})
public org.jruby.RubyBoolean directory_p();
descriptor: ()Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.isDirectory:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"directory?"})
public org.jruby.runtime.builtin.IRubyObject executable_p();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.isExecutable:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"executable?"})
public org.jruby.runtime.builtin.IRubyObject executableReal_p();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.isExecutableReal:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"executable_real?"})
public org.jruby.RubyBoolean file_p();
descriptor: ()Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.isFile:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"file?"})
public org.jruby.RubyString ftype();
descriptor: ()Lorg/jruby/RubyString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.ftype:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"ftype"})
public org.jruby.runtime.builtin.IRubyObject gid();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.gid:()I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"gid"})
public org.jruby.runtime.builtin.IRubyObject group_owned_p();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: getstatic jnr.posix.util.Platform.IS_WINDOWS:Z
ifeq 2
aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getFalse:()Lorg/jruby/RubyBoolean;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.isGroupOwned:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"grpowned?"})
public org.jruby.runtime.builtin.IRubyObject initialize_copy(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.RubyFileStat
ifne 2
1: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
ldc "wrong argument class"
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.RubyFileStat.checkFrozen:()V
3: aload 1
checkcast org.jruby.RubyFileStat
astore 2
start local 2 4: aload 0
aload 2
getfield org.jruby.RubyFileStat.file:Lorg/jruby/util/FileResource;
putfield org.jruby.RubyFileStat.file:Lorg/jruby/util/FileResource;
5: aload 0
aload 2
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
putfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
6: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/RubyFileStat;
0 7 1 original Lorg/jruby/runtime/builtin/IRubyObject;
4 7 2 originalFileStat Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"initialize_copy"}, required = 1, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
MethodParameters:
Name Flags
original
public org.jruby.runtime.builtin.IRubyObject ino();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
getfield org.jruby.RubyFileStat.metaClass:Lorg/jruby/RubyClass;
getfield org.jruby.RubyClass.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.ino:()J
invokevirtual org.jruby.Ruby.newFixnum:(J)Lorg/jruby/RubyFixnum;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"ino"})
public org.jruby.runtime.builtin.IRubyObject inspect();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "#<"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual org.jruby.RubyFileStat.getMetaClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.getRealClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
ifnonnull 5
3: aload 1
ldc ": uninitialized"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: goto 62
5: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 0
getfield org.jruby.RubyFileStat.metaClass:Lorg/jruby/RubyClass;
getfield org.jruby.RubyClass.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
astore 2
start local 2 6: aload 1
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
7: aload 1
ldc "dev=0x"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.dev:()J
invokestatic java.lang.Long.toHexString:(J)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: goto 12
StackMap locals: org.jruby.RubyFileStat java.lang.StringBuilder org.jruby.runtime.ThreadContext
StackMap stack: java.lang.Exception
9: pop
10: aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
goto 13
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 3
aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
aload 3
athrow
StackMap locals:
StackMap stack:
12: aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: StackMap locals:
StackMap stack:
aload 1
ldc "ino="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.ino:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
14: goto 18
StackMap locals:
StackMap stack: java.lang.Exception
15: pop
16: aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
goto 19
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 3
aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
aload 3
athrow
StackMap locals:
StackMap stack:
18: aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
19: StackMap locals:
StackMap stack:
aload 1
ldc "mode=0"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.mode:()I
invokestatic java.lang.Integer.toOctalString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
20: aload 1
ldc "nlink="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.nlink:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
21: goto 25
StackMap locals:
StackMap stack: java.lang.Exception
22: pop
23: aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
goto 26
StackMap locals:
StackMap stack: java.lang.Throwable
24: astore 3
aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
aload 3
athrow
StackMap locals:
StackMap stack:
25: aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
26: StackMap locals:
StackMap stack:
aload 1
ldc "uid="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.uid:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
27: goto 31
StackMap locals:
StackMap stack: java.lang.Exception
28: pop
29: aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
goto 32
StackMap locals:
StackMap stack: java.lang.Throwable
30: astore 3
aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
aload 3
athrow
StackMap locals:
StackMap stack:
31: aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
32: StackMap locals:
StackMap stack:
aload 1
ldc "gid="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.gid:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
33: goto 37
StackMap locals:
StackMap stack: java.lang.Exception
34: pop
35: aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
goto 38
StackMap locals:
StackMap stack: java.lang.Throwable
36: astore 3
aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
aload 3
athrow
StackMap locals:
StackMap stack:
37: aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
38: StackMap locals:
StackMap stack:
aload 1
ldc "rdev=0x"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.rdev:()J
invokestatic java.lang.Long.toHexString:(J)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
39: goto 43
StackMap locals:
StackMap stack: java.lang.Exception
40: pop
41: aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
goto 44
StackMap locals:
StackMap stack: java.lang.Throwable
42: astore 3
aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
aload 3
athrow
StackMap locals:
StackMap stack:
43: aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
44: StackMap locals:
StackMap stack:
aload 1
ldc "size="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.jruby.RubyFileStat.sizeInternal:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
45: aload 1
ldc "blksize="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
aload 2
invokevirtual org.jruby.RubyFileStat.blockSize:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.inspect:()Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
46: goto 50
StackMap locals:
StackMap stack: java.lang.Exception
47: pop
48: aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
goto 51
StackMap locals:
StackMap stack: java.lang.Throwable
49: astore 3
aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
aload 3
athrow
StackMap locals:
StackMap stack:
50: aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
51: StackMap locals:
StackMap stack:
aload 1
ldc "blocks="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.jruby.RubyFileStat.blocks:()Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.inspect:()Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
52: goto 56
StackMap locals:
StackMap stack: java.lang.Exception
53: pop
54: aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
goto 57
StackMap locals:
StackMap stack: java.lang.Throwable
55: astore 3
aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
aload 3
athrow
StackMap locals:
StackMap stack:
56: aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
57: StackMap locals:
StackMap stack:
aload 1
ldc "atime="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.jruby.RubyFileStat.atime:()Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
58: aload 1
ldc "mtime="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.jruby.RubyFileStat.mtime:()Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
59: aload 1
ldc "ctime="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.jruby.RubyFileStat.ctime:()Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
60: getstatic jnr.posix.util.Platform.IS_BSD:Z
ifne 61
getstatic jnr.posix.util.Platform.IS_MAC:Z
ifeq 62
61: StackMap locals:
StackMap stack:
aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "birthtime="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.jruby.RubyFileStat.birthtime:()Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
end local 2 62: StackMap locals:
StackMap stack:
aload 1
bipush 62
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
63: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 1
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 64 0 this Lorg/jruby/RubyFileStat;
1 64 1 buf Ljava/lang/StringBuilder;
6 62 2 context Lorg/jruby/runtime/ThreadContext;
Exception table:
from to target type
7 8 9 Class java.lang.Exception
7 10 11 any
13 14 15 Class java.lang.Exception
13 16 17 any
20 21 22 Class java.lang.Exception
20 23 24 any
26 27 28 Class java.lang.Exception
26 29 30 any
32 33 34 Class java.lang.Exception
32 35 36 any
38 39 40 Class java.lang.Exception
38 41 42 any
45 46 47 Class java.lang.Exception
45 48 49 any
51 52 53 Class java.lang.Exception
51 54 55 any
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"inspect"})
public org.jruby.runtime.builtin.IRubyObject uid();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.uid:()I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"uid"})
public org.jruby.runtime.builtin.IRubyObject mode();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.mode:()I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"mode"})
public org.jruby.runtime.builtin.IRubyObject mtime();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
instanceof jnr.posix.NanosecondFileStat
ifeq 3
2: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.mtime:()J
ldc 1000000000
lmul
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
checkcast jnr.posix.NanosecondFileStat
invokeinterface jnr.posix.NanosecondFileStat.mTimeNanoSecs:()J
ladd
invokestatic org.jruby.RubyTime.newTimeFromNanoseconds:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyTime;
areturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.mtime:()J
ldc 1000
lmul
invokevirtual org.jruby.Ruby.newTime:(J)Lorg/jruby/RubyTime;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"mtime"})
public org.jruby.runtime.builtin.IRubyObject mtimeEquals(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)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 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.toString:()Ljava/lang/String;
iconst_0
invokestatic org.jruby.RubyFileStat.newFileStat:(Lorg/jruby/Ruby;Ljava/lang/String;Z)Lorg/jruby/RubyFileStat;
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
astore 2
start local 2 1: aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.mtime:()J
aload 2
invokeinterface jnr.posix.FileStat.mtime:()J
lcmp
ifne 2
iconst_1
goto 3
StackMap locals: jnr.posix.FileStat
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 3
start local 3 4: aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
instanceof jnr.posix.NanosecondFileStat
ifeq 8
aload 2
instanceof jnr.posix.NanosecondFileStat
ifeq 8
5: iload 3
ifeq 6
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
checkcast jnr.posix.NanosecondFileStat
invokeinterface jnr.posix.NanosecondFileStat.mTimeNanoSecs:()J
aload 2
checkcast jnr.posix.NanosecondFileStat
invokeinterface jnr.posix.NanosecondFileStat.mTimeNanoSecs:()J
lcmp
ifne 6
iconst_1
goto 7
StackMap locals: int
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: istore 3
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
iload 3
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 9 0 this Lorg/jruby/RubyFileStat;
0 9 1 other Lorg/jruby/runtime/builtin/IRubyObject;
1 9 2 otherStat Ljnr/posix/FileStat;
4 9 3 equal Z
MethodParameters:
Name Flags
other
public org.jruby.runtime.builtin.IRubyObject mtimeGreaterThan(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.toString:()Ljava/lang/String;
iconst_0
invokestatic org.jruby.RubyFileStat.newFileStat:(Lorg/jruby/Ruby;Ljava/lang/String;Z)Lorg/jruby/RubyFileStat;
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
astore 2
start local 2 1: aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
instanceof jnr.posix.NanosecondFileStat
ifeq 8
aload 2
instanceof jnr.posix.NanosecondFileStat
ifeq 8
2: aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.mtime:()J
ldc 1000000000
lmul
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
checkcast jnr.posix.NanosecondFileStat
invokeinterface jnr.posix.NanosecondFileStat.mTimeNanoSecs:()J
ladd
3: aload 2
invokeinterface jnr.posix.FileStat.mtime:()J
ldc 1000000000
lmul
aload 2
checkcast jnr.posix.NanosecondFileStat
invokeinterface jnr.posix.NanosecondFileStat.mTimeNanoSecs:()J
ladd
4: lcmp
ifle 5
iconst_1
goto 6
StackMap locals: jnr.posix.FileStat
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: istore 3
start local 3 7: goto 11
end local 3 8: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.mtime:()J
aload 2
invokeinterface jnr.posix.FileStat.mtime:()J
lcmp
ifle 9
iconst_1
goto 10
StackMap locals:
StackMap stack:
9: iconst_0
StackMap locals:
StackMap stack: int
10: istore 3
start local 3 11: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
iload 3
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 12 0 this Lorg/jruby/RubyFileStat;
0 12 1 other Lorg/jruby/runtime/builtin/IRubyObject;
1 12 2 otherStat Ljnr/posix/FileStat;
7 8 3 gt Z
11 12 3 gt Z
MethodParameters:
Name Flags
other
public org.jruby.runtime.builtin.IRubyObject mtimeLessThan(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.toString:()Ljava/lang/String;
iconst_0
invokestatic org.jruby.RubyFileStat.newFileStat:(Lorg/jruby/Ruby;Ljava/lang/String;Z)Lorg/jruby/RubyFileStat;
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
astore 2
start local 2 1: aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
instanceof jnr.posix.NanosecondFileStat
ifeq 8
aload 2
instanceof jnr.posix.NanosecondFileStat
ifeq 8
2: aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.mtime:()J
ldc 1000000000
lmul
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
checkcast jnr.posix.NanosecondFileStat
invokeinterface jnr.posix.NanosecondFileStat.mTimeNanoSecs:()J
ladd
3: aload 2
invokeinterface jnr.posix.FileStat.mtime:()J
ldc 1000000000
lmul
aload 2
checkcast jnr.posix.NanosecondFileStat
invokeinterface jnr.posix.NanosecondFileStat.mTimeNanoSecs:()J
ladd
4: lcmp
ifge 5
iconst_1
goto 6
StackMap locals: jnr.posix.FileStat
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: istore 3
start local 3 7: goto 11
end local 3 8: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.mtime:()J
aload 2
invokeinterface jnr.posix.FileStat.mtime:()J
lcmp
ifge 9
iconst_1
goto 10
StackMap locals:
StackMap stack:
9: iconst_0
StackMap locals:
StackMap stack: int
10: istore 3
start local 3 11: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
iload 3
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 12 0 this Lorg/jruby/RubyFileStat;
0 12 1 other Lorg/jruby/runtime/builtin/IRubyObject;
1 12 2 otherStat Ljnr/posix/FileStat;
7 8 3 lt Z
11 12 3 lt Z
MethodParameters:
Name Flags
other
public org.jruby.runtime.builtin.IRubyObject nlink();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.nlink:()I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"nlink"})
public org.jruby.runtime.builtin.IRubyObject owned_p();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.isOwned:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"owned?"})
public org.jruby.runtime.builtin.IRubyObject pipe_p();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.isNamedPipe:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"pipe?"})
public org.jruby.runtime.builtin.IRubyObject rdev();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.rdev:()J
invokevirtual org.jruby.Ruby.newFixnum:(J)Lorg/jruby/RubyFixnum;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"rdev"})
public org.jruby.runtime.builtin.IRubyObject rdevMajor();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: getstatic jnr.posix.util.Platform.IS_WINDOWS:Z
ifeq 2
aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.rdev:()J
invokeinterface jnr.posix.FileStat.major:(J)I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"rdev_major"})
public org.jruby.runtime.builtin.IRubyObject rdevMinor();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: getstatic jnr.posix.util.Platform.IS_WINDOWS:Z
ifeq 2
aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.rdev:()J
invokeinterface jnr.posix.FileStat.minor:(J)I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"rdev_minor"})
public org.jruby.runtime.builtin.IRubyObject readable_p();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.isReadable:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"readable?"})
public org.jruby.runtime.builtin.IRubyObject readableReal_p();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.isReadableReal:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"readable_real?"})
public org.jruby.runtime.builtin.IRubyObject setgid_p();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.isSetgid:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"setgid?"})
public org.jruby.runtime.builtin.IRubyObject setuid_p();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.isSetuid:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"setuid?"})
private long sizeInternal();
descriptor: ()J
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: getstatic jnr.posix.util.Platform.IS_WINDOWS:Z
ifeq 6
aload 0
getfield org.jruby.RubyFileStat.file:Lorg/jruby/util/FileResource;
ifnull 6
2: aload 0
getfield org.jruby.RubyFileStat.file:Lorg/jruby/util/FileResource;
invokeinterface org.jruby.util.FileResource.length:()J
3: lreturn
4: StackMap locals:
StackMap stack: java.lang.SecurityException
pop
5: lconst_0
lreturn
6: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.st_size:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/RubyFileStat;
Exception table:
from to target type
2 3 4 Class java.lang.SecurityException
public org.jruby.runtime.builtin.IRubyObject size();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.RubyFileStat.sizeInternal:()J
invokevirtual org.jruby.Ruby.newFixnum:(J)Lorg/jruby/RubyFixnum;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"size"})
public org.jruby.runtime.builtin.IRubyObject size_p();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.sizeInternal:()J
lstore 1
start local 1 1: lload 1
lconst_0
lcmp
ifne 2
aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals: long
StackMap stack:
aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
lload 1
invokevirtual org.jruby.Ruby.newFixnum:(J)Lorg/jruby/RubyFixnum;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyFileStat;
1 3 1 size J
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"size?"})
public org.jruby.runtime.builtin.IRubyObject socket_p();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.isSocket:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"socket?"})
public org.jruby.runtime.builtin.IRubyObject sticky_p();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
astore 1
start local 1 2: aload 1
invokevirtual org.jruby.Ruby.getPosix:()Ljnr/posix/POSIX;
invokeinterface jnr.posix.POSIX.isNative:()Z
ifeq 4
3: aload 1
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.isSticky:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
4: StackMap locals: org.jruby.Ruby
StackMap stack:
aload 1
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/RubyFileStat;
2 5 1 runtime Lorg/jruby/Ruby;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"sticky?"})
public org.jruby.runtime.builtin.IRubyObject symlink_p();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.isSymlink:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"symlink?"})
public org.jruby.runtime.builtin.IRubyObject writable_p();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.isWritable:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"writable?"})
public org.jruby.runtime.builtin.IRubyObject writableReal_p();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.isWritableReal:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"writable_real?"})
public org.jruby.runtime.builtin.IRubyObject zero_p();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
invokevirtual org.jruby.RubyFileStat.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.isEmpty:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyFileStat;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"zero?"})
public org.jruby.runtime.builtin.IRubyObject worldReadable(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_4
invokevirtual org.jruby.RubyFileStat.getWorldMode:(Lorg/jruby/runtime/ThreadContext;I)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyFileStat;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"world_readable?"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject worldWritable(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_2
invokevirtual org.jruby.RubyFileStat.getWorldMode:(Lorg/jruby/runtime/ThreadContext;I)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyFileStat;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"world_writable?"})
MethodParameters:
Name Flags
context
private org.jruby.runtime.builtin.IRubyObject getWorldMode(org.jruby.runtime.ThreadContext, int);
descriptor: (Lorg/jruby/runtime/ThreadContext;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 0
invokevirtual org.jruby.RubyFileStat.checkInitialized:()V
1: aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.mode:()I
iload 2
iand
iload 2
if_icmpne 5
2: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
3: aload 0
getfield org.jruby.RubyFileStat.stat:Ljnr/posix/FileStat;
invokeinterface jnr.posix.FileStat.mode:()I
sipush 511
iand
i2l
4: invokestatic org.jruby.RubyNumeric.int2fix:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyNumeric;
areturn
5: 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 6 0 this Lorg/jruby/RubyFileStat;
0 6 1 context Lorg/jruby/runtime/ThreadContext;
0 6 2 mode I
MethodParameters:
Name Flags
context
mode
}
SourceFile: "RubyFileStat.java"
NestMembers:
org.jruby.RubyFileStat$1
InnerClasses:
org.jruby.RubyFileStat$1
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyClass(name = {"File::Stat"}, include = {"Comparable"})