public class org.jruby.RubyArgsFile extends org.jruby.RubyObject
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.RubyArgsFile
super_class: org.jruby.RubyObject
{
private static final org.jruby.runtime.ObjectAllocator ARGF_ALLOCATOR;
descriptor: Lorg/jruby/runtime/ObjectAllocator;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.jruby.RubyArgsFile$1
dup
invokespecial org.jruby.RubyArgsFile$1.<init>:()V
putstatic org.jruby.RubyArgsFile.ARGF_ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.jruby.Ruby, org.jruby.RubyClass);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyArgsFile;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 metaClass Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
metaClass
public static void initArgsFile(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
ldc "ARGFClass"
aload 0
invokevirtual org.jruby.Ruby.getObject:()Lorg/jruby/RubyClass;
getstatic org.jruby.RubyArgsFile.ARGF_ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
invokevirtual org.jruby.Ruby.defineClass:(Ljava/lang/String;Lorg/jruby/RubyClass;Lorg/jruby/runtime/ObjectAllocator;)Lorg/jruby/RubyClass;
astore 1
start local 1 1: aload 1
aload 0
invokevirtual org.jruby.Ruby.getEnumerable:()Lorg/jruby/RubyModule;
invokevirtual org.jruby.RubyClass.includeModule:(Lorg/jruby/runtime/builtin/IRubyObject;)V
2: aload 1
ldc Lorg/jruby/RubyArgsFile;
invokevirtual org.jruby.RubyClass.defineAnnotatedMethods:(Ljava/lang/Class;)V
3: aload 1
aload 0
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
iconst_1
anewarray org.jruby.runtime.builtin.IRubyObject
aconst_null
invokevirtual org.jruby.RubyClass.newInstance:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
start local 2 4: aload 0
aload 2
invokevirtual org.jruby.Ruby.setArgsFile:(Lorg/jruby/runtime/builtin/IRubyObject;)V
5: aload 0
invokevirtual org.jruby.Ruby.getGlobalVariables:()Lorg/jruby/internal/runtime/GlobalVariables;
ldc "$<"
new org.jruby.RubyArgsFile$ArgsFileAccessor
dup
aload 0
invokespecial org.jruby.RubyArgsFile$ArgsFileAccessor.<init>:(Lorg/jruby/Ruby;)V
getstatic org.jruby.internal.runtime.GlobalVariable$Scope.GLOBAL:Lorg/jruby/internal/runtime/GlobalVariable$Scope;
invokevirtual org.jruby.internal.runtime.GlobalVariables.defineReadonly:(Ljava/lang/String;Lorg/jruby/runtime/IAccessor;Lorg/jruby/internal/runtime/GlobalVariable$Scope;)V
6: aload 0
ldc "ARGF"
aload 2
invokevirtual org.jruby.Ruby.defineGlobalConstant:(Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)V
7: aload 0
ldc "$FILENAME"
aload 0
ldc "-"
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
getstatic org.jruby.internal.runtime.GlobalVariable$Scope.GLOBAL:Lorg/jruby/internal/runtime/GlobalVariable$Scope;
invokevirtual org.jruby.Ruby.defineReadonlyVariable:(Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/internal/runtime/GlobalVariable$Scope;)V
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 runtime Lorg/jruby/Ruby;
1 9 1 argfClass Lorg/jruby/RubyClass;
4 9 2 argsFile Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
runtime final
public org.jruby.runtime.builtin.IRubyObject initialize(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 1: aload 2
arraylength
iconst_1
if_icmpne 4
aload 2
iconst_0
aaload
ifnonnull 4
2: aload 3
invokevirtual org.jruby.Ruby.getObject:()Lorg/jruby/RubyClass;
ldc "ARGV"
invokevirtual org.jruby.RubyClass.getConstant:(Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToArray:()Lorg/jruby/RubyArray;
astore 4
start local 4 3: goto 5
end local 4 4: StackMap locals: org.jruby.Ruby
StackMap stack:
aload 3
aload 2
invokevirtual org.jruby.Ruby.newArray:([Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
astore 4
start local 4 5: StackMap locals: org.jruby.RubyArray
StackMap stack:
aload 3
invokevirtual org.jruby.Ruby.getArgsFile:()Lorg/jruby/runtime/builtin/IRubyObject;
ifnonnull 8
6: aload 0
new org.jruby.RubyArgsFile$ArgsFileData
dup
aload 3
aload 4
invokespecial org.jruby.RubyArgsFile$ArgsFileData.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyArray;)V
invokevirtual org.jruby.RubyArgsFile.dataWrapStruct:(Ljava/lang/Object;)V
7: goto 11
8: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.jruby.Ruby.getArgsFile:()Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.dataGetStruct:()Ljava/lang/Object;
checkcast org.jruby.RubyArgsFile$ArgsFileData
astore 5
start local 5 9: aload 0
aload 5
invokevirtual org.jruby.RubyArgsFile.dataWrapStruct:(Ljava/lang/Object;)V
10: aload 5
aload 4
invokevirtual org.jruby.RubyArgsFile$ArgsFileData.setArgs:(Lorg/jruby/RubyArray;)V
end local 5 11: StackMap locals:
StackMap stack:
aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/jruby/RubyArgsFile;
0 12 1 context Lorg/jruby/runtime/ThreadContext;
0 12 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 12 3 runtime Lorg/jruby/Ruby;
3 4 4 argv Lorg/jruby/RubyArray;
5 12 4 argv Lorg/jruby/RubyArray;
9 11 5 data Lorg/jruby/RubyArgsFile$ArgsFileData;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"initialize"}, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;, rest = true)
MethodParameters:
Name Flags
context
args
public static void setCurrentLineNumber(org.jruby.runtime.builtin.IRubyObject, int);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;I)V
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;
iload 1
invokevirtual org.jruby.Ruby.setCurrentLine:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 2 1 newLineNumber I
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
recv
newLineNumber
public static org.jruby.runtime.builtin.IRubyObject argv(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=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyArgsFile$ArgsFileData.getArgsFileData:(Lorg/jruby/Ruby;)Lorg/jruby/RubyArgsFile$ArgsFileData;
getfield org.jruby.RubyArgsFile$ArgsFileData.argv:Lorg/jruby/RubyArray;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"argv"})
MethodParameters:
Name Flags
context
recv
public static org.jruby.runtime.builtin.IRubyObject fileno(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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "no stream"
invokestatic org.jruby.RubyArgsFile.getCurrentDataFile:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/RubyIO;
aload 0
invokevirtual org.jruby.RubyIO.fileno:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyFixnum;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"fileno", "to_i"})
MethodParameters:
Name Flags
context
recv
public static org.jruby.runtime.builtin.IRubyObject to_io(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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "no stream"
invokestatic org.jruby.RubyArgsFile.getCurrentDataFile:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/RubyIO;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"to_io"})
MethodParameters:
Name Flags
context
recv
public static org.jruby.runtime.builtin.IRubyObject set_encoding(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=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc "no stream to set encoding"
invokestatic org.jruby.RubyArgsFile.getCurrentDataFile:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/RubyIO;
aload 0
aload 2
invokevirtual org.jruby.RubyIO.set_encoding:(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 encoding Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
recv
encoding
public static org.jruby.runtime.builtin.IRubyObject set_encoding(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, 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;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ldc "no stream to set encoding"
invokestatic org.jruby.RubyArgsFile.getCurrentDataFile:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/RubyIO;
aload 0
aload 2
aload 3
invokevirtual org.jruby.RubyIO.set_encoding:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 encoding Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 internalEncoding Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
recv
encoding
internalEncoding
public static org.jruby.runtime.builtin.IRubyObject set_encoding(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, 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;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
ldc "no stream to set encoding"
invokestatic org.jruby.RubyArgsFile.getCurrentDataFile:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/RubyIO;
aload 0
aload 2
aload 3
aload 4
invokevirtual org.jruby.RubyIO.set_encoding:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 4 end local 3 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 encoding Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 internalEncoding Lorg/jruby/runtime/builtin/IRubyObject;
0 1 4 options Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
recv
encoding
internalEncoding
options
public static org.jruby.runtime.builtin.IRubyObject internal_encoding(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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "no stream to set encoding"
invokestatic org.jruby.RubyArgsFile.getCurrentDataFile:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/RubyIO;
aload 0
invokevirtual org.jruby.RubyIO.internal_encoding:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
recv
public static org.jruby.runtime.builtin.IRubyObject external_encoding(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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "no stream to set encoding"
invokestatic org.jruby.RubyArgsFile.getCurrentDataFile:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/RubyIO;
aload 0
invokevirtual org.jruby.RubyIO.external_encoding:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
recv
private static org.jruby.runtime.builtin.IRubyObject argf_getline(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: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyArgsFile$ArgsFileData.getArgsFileData:(Lorg/jruby/Ruby;)Lorg/jruby/RubyArgsFile$ArgsFileData;
astore 3
start local 3 1: StackMap locals: org.jruby.RubyArgsFile$ArgsFileData
StackMap stack:
aload 3
aload 0
invokevirtual org.jruby.RubyArgsFile$ArgsFileData.next_argv:(Lorg/jruby/runtime/ThreadContext;)Z
ifne 2
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
aload 3
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
ldc "gets"
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 3: aload 4
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 7
aload 3
getfield org.jruby.RubyArgsFile$ArgsFileData.next_p:I
iconst_m1
if_icmpeq 7
4: aload 0
aload 3
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyArgsFile.argf_close:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)V
5: aload 3
iconst_1
putfield org.jruby.RubyArgsFile$ArgsFileData.next_p:I
6: goto 1
7: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 context Lorg/jruby/runtime/ThreadContext;
0 8 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 8 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 8 3 data Lorg/jruby/RubyArgsFile$ArgsFileData;
3 8 4 line Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
recv
args
public static org.jruby.runtime.builtin.IRubyObject gets(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 1
aload 2
invokestatic org.jruby.RubyArgsFile.argf_getline:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.runtime.ThreadContext.setLastLine:(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 args [Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"gets"}, optional = 1, writes = {org.jruby.anno.FrameField.LASTLINE:Lorg/jruby/anno/FrameField;})
MethodParameters:
Name Flags
context
recv
args
public static org.jruby.runtime.builtin.IRubyObject readline(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 0
aload 1
aload 2
invokestatic org.jruby.RubyArgsFile.gets:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 1: aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 2
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.newEOFError:()Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lorg/jruby/runtime/ThreadContext;
0 3 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 3 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 3 3 line Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"readline"}, optional = 1)
MethodParameters:
Name Flags
context
recv
args
public static org.jruby.runtime.builtin.IRubyObject readlines(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 3
invokestatic org.jruby.RubyArgsFile$ArgsFileData.getArgsFileData:(Lorg/jruby/Ruby;)Lorg/jruby/RubyArgsFile$ArgsFileData;
astore 4
start local 4 2: aload 4
aload 0
invokevirtual org.jruby.RubyArgsFile$ArgsFileData.next_argv:(Lorg/jruby/runtime/ThreadContext;)Z
ifne 3
aload 3
invokevirtual org.jruby.Ruby.newEmptyArray:()Lorg/jruby/RubyArray;
areturn
3: StackMap locals: org.jruby.Ruby org.jruby.RubyArgsFile$ArgsFileData
StackMap stack:
aload 4
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
instanceof org.jruby.RubyIO
ifne 4
aload 4
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
ldc "readlines"
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.jruby.Ruby.newArray:()Lorg/jruby/RubyArray;
astore 5
start local 5 5: goto 7
start local 6 6: StackMap locals: org.jruby.RubyArray org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 5
aload 6
invokevirtual org.jruby.RubyArray.append:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
pop
end local 6 7: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokestatic org.jruby.RubyArgsFile.argf_getline:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
dup
astore 6
start local 6 8: invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 6
9: aload 5
areturn
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 10 0 context Lorg/jruby/runtime/ThreadContext;
0 10 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 10 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 10 3 runtime Lorg/jruby/Ruby;
2 10 4 data Lorg/jruby/RubyArgsFile$ArgsFileData;
5 10 5 ary Lorg/jruby/RubyArray;
6 7 6 line Lorg/jruby/runtime/builtin/IRubyObject;
8 10 6 line Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(optional = 1)
MethodParameters:
Name Flags
context
recv
args
public static org.jruby.runtime.builtin.IRubyObject to_a(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 3
invokestatic org.jruby.RubyArgsFile$ArgsFileData.getArgsFileData:(Lorg/jruby/Ruby;)Lorg/jruby/RubyArgsFile$ArgsFileData;
astore 4
start local 4 2: aload 4
aload 0
invokevirtual org.jruby.RubyArgsFile$ArgsFileData.next_argv:(Lorg/jruby/runtime/ThreadContext;)Z
ifne 3
aload 3
invokevirtual org.jruby.Ruby.newEmptyArray:()Lorg/jruby/RubyArray;
areturn
3: StackMap locals: org.jruby.Ruby org.jruby.RubyArgsFile$ArgsFileData
StackMap stack:
aload 4
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
instanceof org.jruby.RubyIO
ifne 4
aload 4
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
ldc "to_a"
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.jruby.Ruby.newArray:()Lorg/jruby/RubyArray;
astore 5
start local 5 5: goto 7
start local 6 6: StackMap locals: org.jruby.RubyArray org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 5
aload 6
invokevirtual org.jruby.RubyArray.append:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
pop
end local 6 7: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokestatic org.jruby.RubyArgsFile.argf_getline:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
dup
astore 6
start local 6 8: aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 6
9: aload 5
areturn
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 10 0 context Lorg/jruby/runtime/ThreadContext;
0 10 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 10 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 10 3 runtime Lorg/jruby/Ruby;
2 10 4 data Lorg/jruby/RubyArgsFile$ArgsFileData;
5 10 5 ary Lorg/jruby/RubyArray;
6 7 6 line Lorg/jruby/runtime/builtin/IRubyObject;
8 10 6 line Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(optional = 1)
MethodParameters:
Name Flags
context
recv
args
public static org.jruby.runtime.builtin.IRubyObject each_byte(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (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
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifne 2
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
ldc "each_byte"
invokestatic org.jruby.RubyEnumerator.enumeratorize:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
start local 3 1: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 2
aload 0
aload 3
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
end local 3 2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic org.jruby.RubyArgsFile.getc:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
dup
astore 3
start local 3 3: aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 1
4: aload 1
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 block Lorg/jruby/runtime/Block;
1 2 3 bt Lorg/jruby/runtime/builtin/IRubyObject;
3 5 3 bt Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context final
recv
block final
public static org.jruby.runtime.builtin.IRubyObject each_byte(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifeq 1
aload 0
aload 1
aload 3
invokestatic org.jruby.RubyArgsFile.each_byte:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
ldc "each_byte"
invokestatic org.jruby.RubyEnumerator.enumeratorize:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
2: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lorg/jruby/runtime/ThreadContext;
0 3 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 3 2 arg Lorg/jruby/runtime/builtin/IRubyObject;
0 3 3 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context final
recv
arg
block final
public static org.jruby.runtime.builtin.IRubyObject bytes(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifeq 1
aload 0
aload 1
aload 3
invokestatic org.jruby.RubyArgsFile.each_byte:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
ldc "bytes"
invokestatic org.jruby.RubyEnumerator.enumeratorize:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
2: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lorg/jruby/runtime/ThreadContext;
0 3 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 3 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 3 3 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(optional = 1)
MethodParameters:
Name Flags
context final
recv
args
block final
public static org.jruby.runtime.builtin.IRubyObject each_char(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifeq 1
aload 0
aload 1
aload 2
invokestatic org.jruby.RubyArgsFile.each_charCommon:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
ldc "each_char"
invokestatic org.jruby.RubyEnumerator.enumeratorize:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
2: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lorg/jruby/runtime/ThreadContext;
0 3 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 3 2 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context final
recv
block
public static org.jruby.runtime.builtin.IRubyObject chars(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifeq 1
aload 0
aload 1
aload 2
invokestatic org.jruby.RubyArgsFile.each_charCommon:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
ldc "chars"
invokestatic org.jruby.RubyEnumerator.enumeratorize:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
2: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lorg/jruby/runtime/ThreadContext;
0 3 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 3 2 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context final
recv
block
public static org.jruby.runtime.builtin.IRubyObject each_charCommon(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=11, 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 3
invokestatic org.jruby.RubyArgsFile$ArgsFileData.getArgsFileData:(Lorg/jruby/Ruby;)Lorg/jruby/RubyArgsFile$ArgsFileData;
astore 4
start local 4 2: goto 25
start local 5 3: StackMap locals: org.jruby.Ruby org.jruby.RubyArgsFile$ArgsFileData org.jruby.runtime.builtin.IRubyObject
StackMap stack:
iconst_1
istore 6
start local 6 4: goto 24
5: StackMap locals: int
StackMap stack:
iconst_0
istore 6
6: aload 5
invokestatic org.jruby.RubyNumeric.fix2int:(Lorg/jruby/runtime/builtin/IRubyObject;)I
i2b
istore 7
start local 7 7: aload 3
invokevirtual org.jruby.Ruby.getKCode:()Lorg/jruby/util/KCode;
invokevirtual org.jruby.util.KCode.getEncoding:()Lorg/jcodings/Encoding;
iload 7
invokevirtual org.jcodings.Encoding.length:(B)I
istore 8
start local 8 8: aload 4
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
astore 9
start local 9 9: aload 3
invokevirtual org.jruby.Ruby.newString:()Lorg/jruby/RubyString;
astore 10
start local 10 10: aload 10
iconst_1
invokevirtual org.jruby.RubyString.setTaint:(Z)V
11: aload 10
iload 7
invokevirtual org.jruby.RubyString.cat:(B)Lorg/jruby/RubyString;
pop
12: goto 22
13: StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.Block org.jruby.Ruby org.jruby.RubyArgsFile$ArgsFileData org.jruby.runtime.builtin.IRubyObject int int int org.jruby.runtime.builtin.IRubyObject org.jruby.RubyString
StackMap stack:
aload 0
aload 1
invokestatic org.jruby.RubyArgsFile.getc:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
dup
astore 5
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 16
14: aload 2
aload 0
aload 10
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
15: aload 1
areturn
16: StackMap locals:
StackMap stack:
aload 4
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
aload 9
if_acmpeq 20
17: aload 2
aload 0
aload 10
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
18: iconst_1
istore 6
19: goto 22
20: StackMap locals:
StackMap stack:
aload 5
invokestatic org.jruby.RubyNumeric.fix2int:(Lorg/jruby/runtime/builtin/IRubyObject;)I
i2b
istore 7
21: aload 10
iload 7
invokevirtual org.jruby.RubyString.cat:(B)Lorg/jruby/RubyString;
pop
22: StackMap locals:
StackMap stack:
iinc 8 -1
iload 8
ifgt 13
23: aload 2
aload 0
aload 10
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
end local 10 end local 9 end local 8 end local 7 24: StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.Block org.jruby.Ruby org.jruby.RubyArgsFile$ArgsFileData org.jruby.runtime.builtin.IRubyObject int
StackMap stack:
iload 6
ifne 5
end local 6 end local 5 25: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic org.jruby.RubyArgsFile.getc:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
dup
astore 5
start local 5 26: aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 3
27: aload 1
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 28 0 context Lorg/jruby/runtime/ThreadContext;
0 28 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 28 2 block Lorg/jruby/runtime/Block;
1 28 3 runtime Lorg/jruby/Ruby;
2 28 4 data Lorg/jruby/RubyArgsFile$ArgsFileData;
3 25 5 ch Lorg/jruby/runtime/builtin/IRubyObject;
26 28 5 ch Lorg/jruby/runtime/builtin/IRubyObject;
4 25 6 cont Z
7 24 7 c B
8 24 8 n I
9 24 9 file Lorg/jruby/runtime/builtin/IRubyObject;
10 24 10 str Lorg/jruby/RubyString;
MethodParameters:
Name Flags
context
recv
block
public static org.jruby.runtime.builtin.IRubyObject each_codepoint(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifne 1
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
ldc "each_line"
invokestatic org.jruby.RubyEnumerator.enumeratorize:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyArgsFile$ArgsFileData.getArgsFileData:(Lorg/jruby/Ruby;)Lorg/jruby/RubyArgsFile$ArgsFileData;
astore 3
start local 3 2: aload 0
invokestatic org.jruby.RubyArgsFile.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$ArgfSites;
getfield org.jruby.runtime.JavaSites$ArgfSites.each_codepoint:Lorg/jruby/runtime/CallSite;
astore 4
start local 4 3: goto 5
4: StackMap locals: org.jruby.RubyArgsFile$ArgsFileData org.jruby.runtime.CallSite
StackMap stack:
aload 4
aload 0
aload 1
aload 3
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
aload 2
invokevirtual org.jruby.runtime.CallSite.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
5: StackMap locals:
StackMap stack:
aload 3
aload 0
invokevirtual org.jruby.RubyArgsFile$ArgsFileData.next_argv:(Lorg/jruby/runtime/ThreadContext;)Z
ifne 4
6: aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 context Lorg/jruby/runtime/ThreadContext;
0 7 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 7 2 block Lorg/jruby/runtime/Block;
2 7 3 data Lorg/jruby/RubyArgsFile$ArgsFileData;
3 7 4 each_codepoint Lorg/jruby/runtime/CallSite;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
recv
block
public static org.jruby.runtime.builtin.IRubyObject codepoints(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getWarnings:()Lorg/jruby/common/RubyWarnings;
ldc "ARGF#codepoints is deprecated; use #each_codepoint instead"
invokevirtual org.jruby.common.RubyWarnings.warn:(Ljava/lang/String;)V
1: aload 2
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifne 2
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
ldc "each_line"
invokestatic org.jruby.RubyEnumerator.enumeratorize:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokestatic org.jruby.RubyArgsFile.each_codepoint:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lorg/jruby/runtime/ThreadContext;
0 3 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 3 2 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
recv
block
public static org.jruby.runtime.builtin.IRubyObject each_line(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifne 1
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
ldc "each_line"
aload 2
invokestatic org.jruby.RubyEnumerator.enumeratorize:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyArgsFile$ArgsFileData.getArgsFileData:(Lorg/jruby/Ruby;)Lorg/jruby/RubyArgsFile$ArgsFileData;
astore 4
start local 4 2: aload 4
aload 0
invokevirtual org.jruby.RubyArgsFile$ArgsFileData.next_argv:(Lorg/jruby/runtime/ThreadContext;)Z
ifne 3
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
3: StackMap locals: org.jruby.RubyArgsFile$ArgsFileData
StackMap stack:
aload 4
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
instanceof org.jruby.RubyIO
ifne 9
4: aload 4
aload 0
invokevirtual org.jruby.RubyArgsFile$ArgsFileData.next_argv:(Lorg/jruby/runtime/ThreadContext;)Z
ifne 5
aload 1
areturn
5: StackMap locals:
StackMap stack:
aload 4
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
ldc "each"
getstatic org.jruby.RubyArgsFile.NULL_ARRAY:[Lorg/jruby/runtime/builtin/IRubyObject;
aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
6: aload 4
iconst_1
putfield org.jruby.RubyArgsFile$ArgsFileData.next_p:I
7: goto 9
start local 5 8: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 3
aload 0
aload 5
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
end local 5 9: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokestatic org.jruby.RubyArgsFile.argf_getline:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
dup
astore 5
start local 5 10: aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 8
11: aload 1
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 12 0 context Lorg/jruby/runtime/ThreadContext;
0 12 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 12 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 12 3 block Lorg/jruby/runtime/Block;
2 12 4 data Lorg/jruby/RubyArgsFile$ArgsFileData;
8 9 5 str Lorg/jruby/runtime/builtin/IRubyObject;
10 12 5 str Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"each_line"}, optional = 1)
MethodParameters:
Name Flags
context
recv
args
block
public static org.jruby.runtime.builtin.IRubyObject lines(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifne 1
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
ldc "each_line"
invokestatic org.jruby.RubyEnumerator.enumeratorize:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokestatic org.jruby.RubyArgsFile.each_line:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lorg/jruby/runtime/ThreadContext;
0 2 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 2 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 2 3 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
org.jruby.anno.JRubyMethod(optional = 1)
MethodParameters:
Name Flags
context
recv
args
block
public static org.jruby.runtime.builtin.IRubyObject each_line19(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokestatic org.jruby.RubyArgsFile.each_line:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context final
recv
args
block final
public static org.jruby.runtime.builtin.IRubyObject each(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifeq 1
aload 0
aload 1
aload 2
aload 3
invokestatic org.jruby.RubyArgsFile.each_line:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
ldc "each"
aload 2
invokestatic org.jruby.RubyEnumerator.enumeratorize:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
2: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lorg/jruby/runtime/ThreadContext;
0 3 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 3 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 3 3 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"each"}, optional = 1)
MethodParameters:
Name Flags
context final
recv
args
block final
public static org.jruby.runtime.builtin.IRubyObject each19(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokestatic org.jruby.RubyArgsFile.each:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context final
recv
args
block final
public static org.jruby.runtime.builtin.IRubyObject file(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=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyArgsFile$ArgsFileData.getArgsFileData:(Lorg/jruby/Ruby;)Lorg/jruby/RubyArgsFile$ArgsFileData;
astore 2
start local 2 1: aload 2
aload 0
invokevirtual org.jruby.RubyArgsFile$ArgsFileData.next_argv:(Lorg/jruby/runtime/ThreadContext;)Z
pop
2: aload 2
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lorg/jruby/runtime/ThreadContext;
0 3 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
1 3 2 data Lorg/jruby/RubyArgsFile$ArgsFileData;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"file"})
MethodParameters:
Name Flags
context
recv
public static org.jruby.runtime.builtin.IRubyObject skip(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
astore 1
start local 1 1: aload 1
invokestatic org.jruby.RubyArgsFile$ArgsFileData.getArgsFileData:(Lorg/jruby/Ruby;)Lorg/jruby/RubyArgsFile$ArgsFileData;
astore 2
start local 2 2: aload 2
getfield org.jruby.RubyArgsFile$ArgsFileData.inited:Z
ifeq 5
aload 2
getfield org.jruby.RubyArgsFile$ArgsFileData.next_p:I
ifne 5
3: aload 1
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 2
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyArgsFile.argf_close:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)V
4: aload 2
iconst_1
putfield org.jruby.RubyArgsFile$ArgsFileData.next_p:I
5: StackMap locals: org.jruby.Ruby org.jruby.RubyArgsFile$ArgsFileData
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
1 6 1 runtime Lorg/jruby/Ruby;
2 6 2 data Lorg/jruby/RubyArgsFile$ArgsFileData;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"skip"})
MethodParameters:
Name Flags
recv
public static void argf_close(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)V
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
ifeq 3
1: aload 1
checkcast org.jruby.RubyIO
aload 0
invokevirtual org.jruby.RubyIO.rbIoClose:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
2: goto 4
3: StackMap locals:
StackMap stack:
aload 1
aload 0
ldc "close"
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 context Lorg/jruby/runtime/ThreadContext;
0 5 1 file Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
file
public static org.jruby.runtime.builtin.IRubyObject close(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=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyArgsFile$ArgsFileData.getArgsFileData:(Lorg/jruby/Ruby;)Lorg/jruby/RubyArgsFile$ArgsFileData;
astore 2
start local 2 1: aload 2
aload 0
invokevirtual org.jruby.RubyArgsFile$ArgsFileData.next_argv:(Lorg/jruby/runtime/ThreadContext;)Z
pop
2: aload 2
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getGlobalVariables:()Lorg/jruby/internal/runtime/GlobalVariables;
ldc "$stdin"
invokevirtual org.jruby.internal.runtime.GlobalVariables.get:(Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 3
aload 1
areturn
3: StackMap locals: org.jruby.RubyArgsFile$ArgsFileData
StackMap stack:
aload 0
aload 2
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyArgsFile.argf_close:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)V
4: aload 2
getfield org.jruby.RubyArgsFile$ArgsFileData.next_p:I
iconst_m1
if_icmpeq 5
aload 2
iconst_1
putfield org.jruby.RubyArgsFile$ArgsFileData.next_p:I
5: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
iconst_0
invokevirtual org.jruby.Ruby.setCurrentLine:(I)V
6: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 context Lorg/jruby/runtime/ThreadContext;
0 7 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
1 7 2 data Lorg/jruby/RubyArgsFile$ArgsFileData;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"close"})
MethodParameters:
Name Flags
context
recv
public static org.jruby.runtime.builtin.IRubyObject closed_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=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyArgsFile$ArgsFileData.getArgsFileData:(Lorg/jruby/Ruby;)Lorg/jruby/RubyArgsFile$ArgsFileData;
astore 2
start local 2 1: aload 2
aload 0
invokevirtual org.jruby.RubyArgsFile$ArgsFileData.next_argv:(Lorg/jruby/runtime/ThreadContext;)Z
pop
2: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
aload 2
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyArgsFile.isClosed:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
invokestatic org.jruby.RubyBoolean.newBoolean:(Lorg/jruby/Ruby;Z)Lorg/jruby/RubyBoolean;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lorg/jruby/runtime/ThreadContext;
0 3 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
1 3 2 data Lorg/jruby/RubyArgsFile$ArgsFileData;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"closed?"})
MethodParameters:
Name Flags
context
recv
private static boolean isClosed(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.RubyIO
ifne 1
aload 1
aload 0
ldc "closed?"
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ireturn
1: StackMap locals:
StackMap stack:
aload 1
checkcast org.jruby.RubyIO
aload 0
invokevirtual org.jruby.RubyIO.closed_p:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyBoolean;
invokevirtual org.jruby.RubyBoolean.isTrue:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lorg/jruby/runtime/ThreadContext;
0 2 1 currentFile Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
currentFile
public static org.jruby.runtime.builtin.IRubyObject binmode(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=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyArgsFile$ArgsFileData.getArgsFileData:(Lorg/jruby/Ruby;)Lorg/jruby/RubyArgsFile$ArgsFileData;
astore 2
start local 2 1: aload 2
iconst_1
putfield org.jruby.RubyArgsFile$ArgsFileData.binmode:Z
2: aload 2
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpeq 3
aload 2
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyIO
invokevirtual org.jruby.RubyIO.binmode:()Lorg/jruby/runtime/builtin/IRubyObject;
pop
3: StackMap locals: org.jruby.RubyArgsFile$ArgsFileData
StackMap stack:
aload 1
areturn
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;
1 4 2 data Lorg/jruby/RubyArgsFile$ArgsFileData;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"binmode"})
MethodParameters:
Name Flags
context
recv
public static org.jruby.runtime.builtin.IRubyObject op_binmode(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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "no stream"
invokestatic org.jruby.RubyArgsFile.getCurrentDataFile:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/RubyIO;
aload 0
invokevirtual org.jruby.RubyIO.op_binmode:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"binmode?"})
MethodParameters:
Name Flags
context
recv
public static org.jruby.runtime.builtin.IRubyObject lineno(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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentLine:()I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"lineno"})
MethodParameters:
Name Flags
context
recv
public static org.jruby.runtime.builtin.IRubyObject lineno_set(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
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
invokestatic org.jruby.RubyNumeric.fix2int:(Lorg/jruby/runtime/builtin/IRubyObject;)I
invokevirtual org.jruby.Ruby.setCurrentLine:(I)V
1: aload 0
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 2 0 context Lorg/jruby/runtime/ThreadContext;
0 2 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 2 2 line Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"lineno="})
MethodParameters:
Name Flags
context
recv
line
public static org.jruby.runtime.builtin.IRubyObject tell(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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "no stream to tell"
invokestatic org.jruby.RubyArgsFile.getCurrentDataFile:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/RubyIO;
aload 0
invokevirtual org.jruby.RubyIO.pos:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyFixnum;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"tell"}, alias = {"pos"})
MethodParameters:
Name Flags
context
recv
public static org.jruby.runtime.builtin.IRubyObject rewind(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=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
ldc "no stream to rewind"
invokestatic org.jruby.RubyArgsFile.getCurrentDataFile:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/RubyIO;
astore 2
start local 2 1: aload 2
aload 0
invokevirtual org.jruby.RubyIO.rewind:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyFixnum;
astore 3
start local 3 2: aload 2
aload 0
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
iconst_0
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
invokevirtual org.jruby.RubyIO.lineno_set:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFixnum;
pop
3: aload 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;
1 4 2 currentFile Lorg/jruby/RubyIO;
2 4 3 retVal Lorg/jruby/RubyFixnum;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"rewind"})
MethodParameters:
Name Flags
context
recv
public static org.jruby.runtime.builtin.IRubyObject eof(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=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyArgsFile$ArgsFileData.getArgsFileData:(Lorg/jruby/Ruby;)Lorg/jruby/RubyArgsFile$ArgsFileData;
astore 2
start local 2 1: aload 2
getfield org.jruby.RubyArgsFile$ArgsFileData.inited:Z
ifne 2
aload 0
getfield org.jruby.runtime.ThreadContext.tru:Lorg/jruby/RubyBoolean;
areturn
2: StackMap locals: org.jruby.RubyArgsFile$ArgsFileData
StackMap stack:
aload 2
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
instanceof org.jruby.RubyIO
ifne 4
3: aload 2
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
ldc "eof"
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals:
StackMap stack:
aload 2
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyIO
aload 0
invokevirtual org.jruby.RubyIO.eof_p:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyBoolean;
areturn
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;
1 5 2 data Lorg/jruby/RubyArgsFile$ArgsFileData;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"eof"})
MethodParameters:
Name Flags
context
recv
public static org.jruby.runtime.builtin.IRubyObject eof_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=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyArgsFile$ArgsFileData.getArgsFileData:(Lorg/jruby/Ruby;)Lorg/jruby/RubyArgsFile$ArgsFileData;
astore 2
start local 2 1: aload 2
getfield org.jruby.RubyArgsFile$ArgsFileData.inited:Z
ifne 2
aload 0
getfield org.jruby.runtime.ThreadContext.tru:Lorg/jruby/RubyBoolean;
areturn
2: StackMap locals: org.jruby.RubyArgsFile$ArgsFileData
StackMap stack:
aload 2
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
instanceof org.jruby.RubyIO
ifne 4
3: aload 2
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
ldc "eof?"
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals:
StackMap stack:
aload 2
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyIO
aload 0
invokevirtual org.jruby.RubyIO.eof_p:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyBoolean;
areturn
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;
1 5 2 data Lorg/jruby/RubyArgsFile$ArgsFileData;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"eof?"})
MethodParameters:
Name Flags
context
recv
public static org.jruby.runtime.builtin.IRubyObject set_pos(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=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc "no stream to set position"
invokestatic org.jruby.RubyArgsFile.getCurrentDataFile:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/RubyIO;
aload 0
aload 2
invokevirtual org.jruby.RubyIO.pos_set:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFixnum;
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 offset Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"pos="}, required = 1)
MethodParameters:
Name Flags
context
recv
offset
public static org.jruby.runtime.builtin.IRubyObject seek(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=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc "no stream to seek"
invokestatic org.jruby.RubyArgsFile.getCurrentDataFile:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/RubyIO;
aload 0
aload 2
invokevirtual org.jruby.RubyIO.seek:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyFixnum;
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 args [Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"seek"}, required = 1, optional = 1)
MethodParameters:
Name Flags
context
recv
args
public static org.jruby.runtime.builtin.IRubyObject readchar(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=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.jruby.RubyArgsFile.getc:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
start local 2 1: aload 2
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 2
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.newEOFError:()Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lorg/jruby/runtime/ThreadContext;
0 3 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
1 3 2 c Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"readchar"})
MethodParameters:
Name Flags
context
recv
public static org.jruby.runtime.builtin.IRubyObject getbyte(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=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyArgsFile$ArgsFileData.getArgsFileData:(Lorg/jruby/Ruby;)Lorg/jruby/RubyArgsFile$ArgsFileData;
astore 2
start local 2 1: StackMap locals: org.jruby.RubyArgsFile$ArgsFileData
StackMap stack:
aload 2
aload 0
invokevirtual org.jruby.RubyArgsFile$ArgsFileData.next_argv:(Lorg/jruby/runtime/ThreadContext;)Z
ifne 2
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
aload 2
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
instanceof org.jruby.RubyFile
ifeq 5
3: aload 2
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyIO
aload 0
invokevirtual org.jruby.RubyIO.getbyte:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 4: goto 6
end local 3 5: StackMap locals:
StackMap stack:
aload 2
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
ldc "getbyte"
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 6: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 3
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpeq 7
aload 3
areturn
7: StackMap locals:
StackMap stack:
aload 0
aload 2
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyArgsFile.argf_close:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)V
8: aload 2
iconst_1
putfield org.jruby.RubyArgsFile$ArgsFileData.next_p:I
end local 3 9: goto 1
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 recv Lorg/jruby/runtime/builtin/IRubyObject;
1 10 2 data Lorg/jruby/RubyArgsFile$ArgsFileData;
4 5 3 bt Lorg/jruby/runtime/builtin/IRubyObject;
6 9 3 bt Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
recv
public static org.jruby.runtime.builtin.IRubyObject read_nonblock(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 1
aload 2
iconst_1
invokestatic org.jruby.RubyArgsFile.getPartial:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Z)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 args [Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(required = 1, optional = 2)
MethodParameters:
Name Flags
context
recv
args
public static org.jruby.runtime.builtin.IRubyObject readpartial(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 1
aload 2
iconst_0
invokestatic org.jruby.RubyArgsFile.getPartial:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Z)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 args [Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(required = 1, optional = 1)
MethodParameters:
Name Flags
context
recv
args
private static org.jruby.runtime.builtin.IRubyObject getPartial(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[], boolean);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 4
start local 4 1: iconst_0
istore 5
start local 5 2: aconst_null
astore 6
start local 6 3: aload 2
arraylength
iconst_1
if_icmple 12
4: aload 4
aload 2
aload 2
arraylength
iconst_1
isub
aaload
invokestatic org.jruby.util.TypeConverter.checkHashType:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 7
start local 7 5: aload 7
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpeq 8
6: aload 0
getfield org.jruby.runtime.ThreadContext.fals:Lorg/jruby/RubyBoolean;
aload 7
checkcast org.jruby.RubyHash
aload 0
aload 4
ldc "exception"
invokevirtual org.jruby.Ruby.newSymbol:(Ljava/lang/String;)Lorg/jruby/RubySymbol;
invokevirtual org.jruby.RubyHash.op_aref:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 8
7: iconst_1
istore 5
8: StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject[] int org.jruby.Ruby int org.jruby.RubyString org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 2
arraylength
iconst_2
if_icmpgt 9
aload 7
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 12
9: StackMap locals:
StackMap stack:
aload 2
iconst_1
aaload
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpeq 12
10: aload 2
iconst_1
aload 2
iconst_1
aaload
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
aastore
11: aload 2
iconst_1
aaload
checkcast org.jruby.RubyString
astore 6
end local 7 12: StackMap locals:
StackMap stack:
aload 4
invokestatic org.jruby.RubyArgsFile$ArgsFileData.getArgsFileData:(Lorg/jruby/Ruby;)Lorg/jruby/RubyArgsFile$ArgsFileData;
astore 7
start local 7 13: aload 7
aload 0
invokevirtual org.jruby.RubyArgsFile$ArgsFileData.next_argv:(Lorg/jruby/runtime/ThreadContext;)Z
ifne 16
14: aload 6
ifnull 15
aload 6
invokevirtual org.jruby.RubyString.clear:()Lorg/jruby/RubyString;
pop
15: StackMap locals: org.jruby.RubyArgsFile$ArgsFileData
StackMap stack:
aload 4
iload 5
invokestatic org.jruby.RubyIO.nonblockEOF:(Lorg/jruby/Ruby;Z)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
16: StackMap locals:
StackMap stack:
aload 7
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyIO
aload 0
aload 2
iload 3
iload 5
invokevirtual org.jruby.RubyIO.getPartial:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;ZZ)Lorg/jruby/runtime/builtin/IRubyObject;
astore 8
start local 8 17: aload 8
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 24
18: aload 7
getfield org.jruby.RubyArgsFile$ArgsFileData.next_p:I
iconst_m1
if_icmpne 19
aload 4
iload 5
invokestatic org.jruby.RubyIO.nonblockEOF:(Lorg/jruby/Ruby;Z)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
19: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 0
aload 7
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyArgsFile.argf_close:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)V
20: aload 7
iconst_1
putfield org.jruby.RubyArgsFile$ArgsFileData.next_p:I
21: aload 7
getfield org.jruby.RubyArgsFile$ArgsFileData.argv:Lorg/jruby/RubyArray;
invokevirtual org.jruby.RubyArray.isEmpty:()Z
ifeq 22
aload 4
iload 5
invokestatic org.jruby.RubyIO.nonblockEOF:(Lorg/jruby/Ruby;Z)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
22: StackMap locals:
StackMap stack:
aload 2
arraylength
iconst_1
if_icmple 23
aload 2
iconst_1
aaload
instanceof org.jruby.RubyString
ifeq 23
aload 2
iconst_1
aaload
areturn
23: StackMap locals:
StackMap stack:
aload 4
invokestatic org.jruby.RubyString.newEmptyString:(Lorg/jruby/Ruby;)Lorg/jruby/RubyString;
areturn
24: StackMap locals:
StackMap stack:
aload 8
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 context Lorg/jruby/runtime/ThreadContext;
0 25 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 25 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 25 3 nonBlocking Z
1 25 4 runtime Lorg/jruby/Ruby;
2 25 5 noException Z
3 25 6 str Lorg/jruby/RubyString;
5 12 7 opts Lorg/jruby/runtime/builtin/IRubyObject;
13 25 7 data Lorg/jruby/RubyArgsFile$ArgsFileData;
17 25 8 res Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
recv
args
nonBlocking
public static org.jruby.runtime.builtin.IRubyObject readbyte(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=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.jruby.RubyArgsFile.getbyte:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
start local 2 1: aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 2
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.newEOFError:()Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lorg/jruby/runtime/ThreadContext;
0 3 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
1 3 2 c Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
recv
public static org.jruby.runtime.builtin.IRubyObject getc(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=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyArgsFile$ArgsFileData.getArgsFileData:(Lorg/jruby/Ruby;)Lorg/jruby/RubyArgsFile$ArgsFileData;
astore 2
start local 2 1: StackMap locals: org.jruby.RubyArgsFile$ArgsFileData
StackMap stack:
aload 2
aload 0
invokevirtual org.jruby.RubyArgsFile$ArgsFileData.next_argv:(Lorg/jruby/runtime/ThreadContext;)Z
ifne 2
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
aload 2
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
instanceof org.jruby.RubyFile
ifeq 5
3: aload 2
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyIO
aload 0
invokevirtual org.jruby.RubyIO.getbyte:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 4: goto 6
end local 3 5: StackMap locals:
StackMap stack:
aload 2
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
ldc "getc"
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 6: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 3
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpeq 7
aload 3
areturn
7: StackMap locals:
StackMap stack:
aload 0
aload 2
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyArgsFile.argf_close:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)V
8: aload 2
iconst_1
putfield org.jruby.RubyArgsFile$ArgsFileData.next_p:I
end local 3 9: goto 1
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 recv Lorg/jruby/runtime/builtin/IRubyObject;
1 10 2 data Lorg/jruby/RubyArgsFile$ArgsFileData;
4 5 3 bt Lorg/jruby/runtime/builtin/IRubyObject;
6 9 3 bt Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"getc"})
MethodParameters:
Name Flags
context
recv
public static org.jruby.runtime.builtin.IRubyObject read(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=5, locals=11, 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 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyArgsFile$ArgsFileData.getArgsFileData:(Lorg/jruby/Ruby;)Lorg/jruby/RubyArgsFile$ArgsFileData;
astore 4
start local 4 2: lconst_0
lstore 8
start local 8 3: aload 2
arraylength
ifle 9
4: aload 2
iconst_0
aaload
astore 7
start local 7 5: aload 2
arraylength
iconst_1
if_icmple 6
aload 2
iconst_1
aaload
goto 7
StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject[] org.jruby.Ruby org.jruby.RubyArgsFile$ArgsFileData top top org.jruby.runtime.builtin.IRubyObject long
StackMap stack:
6: aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
7: astore 6
start local 6 8: goto 11
end local 7 end local 6 9: StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject[] org.jruby.Ruby org.jruby.RubyArgsFile$ArgsFileData top top top long
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
dup
astore 7
start local 7 10: astore 6
start local 6 11: StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject[] org.jruby.Ruby org.jruby.RubyArgsFile$ArgsFileData top org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject long
StackMap stack:
aload 7
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpeq 12
aload 7
invokestatic org.jruby.RubyNumeric.num2long:(Lorg/jruby/runtime/builtin/IRubyObject;)J
lstore 8
12: StackMap locals:
StackMap stack:
aload 6
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpeq 17
13: aload 6
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
astore 6
14: aload 6
checkcast org.jruby.RubyString
invokevirtual org.jruby.RubyString.modify:()V
15: aload 6
checkcast org.jruby.RubyString
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
iconst_0
invokevirtual org.jruby.util.ByteList.length:(I)V
16: aload 2
iconst_1
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
aastore
17: StackMap locals:
StackMap stack:
aload 4
aload 0
invokevirtual org.jruby.RubyArgsFile$ArgsFileData.next_argv:(Lorg/jruby/runtime/ThreadContext;)Z
ifne 18
aload 6
areturn
18: StackMap locals:
StackMap stack:
aload 4
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
instanceof org.jruby.RubyIO
ifeq 21
19: aload 4
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyIO
aload 2
invokevirtual org.jruby.RubyIO.read:([Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 20: goto 22
end local 5 21: StackMap locals:
StackMap stack:
aload 4
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
ldc "read"
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 22: StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject[] org.jruby.Ruby org.jruby.RubyArgsFile$ArgsFileData org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject long
StackMap stack:
aload 6
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 25
23: aload 5
astore 6
24: goto 27
StackMap locals:
StackMap stack:
25: aload 5
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpeq 27
26: aload 6
checkcast org.jruby.RubyString
aload 5
invokevirtual org.jruby.RubyString.append:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
pop
27: StackMap locals:
StackMap stack:
aload 5
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpeq 28
aload 7
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 32
28: StackMap locals:
StackMap stack:
aload 4
getfield org.jruby.RubyArgsFile$ArgsFileData.next_p:I
iconst_m1
if_icmpeq 38
29: aload 0
aload 4
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyArgsFile.argf_close:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)V
30: aload 4
iconst_1
putfield org.jruby.RubyArgsFile$ArgsFileData.next_p:I
31: goto 17
32: StackMap locals:
StackMap stack:
aload 2
arraylength
iconst_1
if_icmplt 38
33: aload 6
checkcast org.jruby.RubyString
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.length:()I
istore 10
start local 10 34: iload 10
i2l
lload 8
lcmp
ifge 38
35: lload 8
iload 10
i2l
lsub
lstore 8
36: aload 2
iconst_0
aload 3
lload 8
invokevirtual org.jruby.Ruby.newFixnum:(J)Lorg/jruby/RubyFixnum;
aastore
37: goto 17
end local 10 38: StackMap locals:
StackMap stack:
aload 6
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 context Lorg/jruby/runtime/ThreadContext;
0 39 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 39 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 39 3 runtime Lorg/jruby/Ruby;
2 39 4 data Lorg/jruby/RubyArgsFile$ArgsFileData;
20 21 5 tmp Lorg/jruby/runtime/builtin/IRubyObject;
22 39 5 tmp Lorg/jruby/runtime/builtin/IRubyObject;
8 9 6 str Lorg/jruby/runtime/builtin/IRubyObject;
11 39 6 str Lorg/jruby/runtime/builtin/IRubyObject;
5 9 7 length Lorg/jruby/runtime/builtin/IRubyObject;
10 39 7 length Lorg/jruby/runtime/builtin/IRubyObject;
3 39 8 len J
34 38 10 strLen I
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"read"}, optional = 2)
MethodParameters:
Name Flags
context
recv
args
public static org.jruby.runtime.builtin.IRubyObject filename(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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyArgsFile$ArgsFileData.getArgsFileData:(Lorg/jruby/Ruby;)Lorg/jruby/RubyArgsFile$ArgsFileData;
aload 0
invokevirtual org.jruby.RubyArgsFile$ArgsFileData.next_argv:(Lorg/jruby/runtime/ThreadContext;)Z
pop
1: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getGlobalVariables:()Lorg/jruby/internal/runtime/GlobalVariables;
ldc "$FILENAME"
invokevirtual org.jruby.internal.runtime.GlobalVariables.get:(Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lorg/jruby/runtime/ThreadContext;
0 2 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"filename"}, alias = {"path"})
MethodParameters:
Name Flags
context
recv
public static org.jruby.runtime.builtin.IRubyObject to_s(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
ldc "ARGF"
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"to_s"}, alias = {"inspect"})
MethodParameters:
Name Flags
recv
private static org.jruby.RubyIO getCurrentDataFile(org.jruby.runtime.ThreadContext, java.lang.String);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/RubyIO;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyArgsFile$ArgsFileData.getArgsFileData:(Lorg/jruby/Ruby;)Lorg/jruby/RubyArgsFile$ArgsFileData;
astore 2
start local 2 1: aload 2
aload 0
invokevirtual org.jruby.RubyArgsFile$ArgsFileData.next_argv:(Lorg/jruby/runtime/ThreadContext;)Z
ifne 2
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals: org.jruby.RubyArgsFile$ArgsFileData
StackMap stack:
aload 2
getfield org.jruby.RubyArgsFile$ArgsFileData.currentFile:Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyIO
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lorg/jruby/runtime/ThreadContext;
0 3 1 errorMessage Ljava/lang/String;
1 3 2 data Lorg/jruby/RubyArgsFile$ArgsFileData;
MethodParameters:
Name Flags
context
errorMessage
private static org.jruby.runtime.JavaSites$ArgfSites sites(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$ArgfSites;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.ThreadContext.sites:Lorg/jruby/runtime/JavaSites;
getfield org.jruby.runtime.JavaSites.Argf:Lorg/jruby/runtime/JavaSites$ArgfSites;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context
}
SourceFile: "RubyArgsFile.java"
NestMembers:
org.jruby.RubyArgsFile$1 org.jruby.RubyArgsFile$ArgsFileAccessor org.jruby.RubyArgsFile$ArgsFileData
InnerClasses:
org.jruby.RubyArgsFile$1
private ArgsFileAccessor = org.jruby.RubyArgsFile$ArgsFileAccessor of org.jruby.RubyArgsFile
public final ArgsFileData = org.jruby.RubyArgsFile$ArgsFileData of org.jruby.RubyArgsFile
public final Scope = org.jruby.internal.runtime.GlobalVariable$Scope of org.jruby.internal.runtime.GlobalVariable
public ArgfSites = org.jruby.runtime.JavaSites$ArgfSites of org.jruby.runtime.JavaSites