public abstract class org.jruby.lexer.LexerSource
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.jruby.lexer.LexerSource
super_class: java.lang.Object
{
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int lineOffset;
descriptor: I
flags: (0x0002) ACC_PRIVATE
protected org.jruby.RubyArray scriptLines;
descriptor: Lorg/jruby/RubyArray;
flags: (0x0004) ACC_PROTECTED
public void <init>(java.lang.String, int, org.jruby.RubyArray);
descriptor: (Ljava/lang/String;ILorg/jruby/RubyArray;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.jruby.lexer.LexerSource.name:Ljava/lang/String;
2: aload 0
iload 2
putfield org.jruby.lexer.LexerSource.lineOffset:I
3: aload 0
aload 3
putfield org.jruby.lexer.LexerSource.scriptLines:Lorg/jruby/RubyArray;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/lexer/LexerSource;
0 5 1 sourceName Ljava/lang/String;
0 5 2 lineOffset I
0 5 3 scriptLines Lorg/jruby/RubyArray;
MethodParameters:
Name Flags
sourceName
lineOffset
scriptLines
public java.lang.String getFilename();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.lexer.LexerSource.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/lexer/LexerSource;
public int getLineOffset();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.lexer.LexerSource.lineOffset:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/lexer/LexerSource;
public void encodeExistingScriptLines(org.jcodings.Encoding);
descriptor: (Lorg/jcodings/Encoding;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.lexer.LexerSource.scriptLines:Lorg/jruby/RubyArray;
ifnonnull 1
return
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.lexer.LexerSource.scriptLines:Lorg/jruby/RubyArray;
invokevirtual org.jruby.RubyArray.getLength:()I
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 7
4: StackMap locals: int int
StackMap stack:
aload 0
getfield org.jruby.lexer.LexerSource.scriptLines:Lorg/jruby/RubyArray;
lconst_0
invokevirtual org.jruby.RubyArray.eltOk:(J)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyString
astore 4
start local 4 5: aload 4
aload 1
invokevirtual org.jruby.RubyString.setEncoding:(Lorg/jcodings/Encoding;)V
end local 4 6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 2
if_icmplt 4
end local 3 8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/lexer/LexerSource;
0 9 1 encoding Lorg/jcodings/Encoding;
2 9 2 length I
3 8 3 i I
5 6 4 line Lorg/jruby/RubyString;
MethodParameters:
Name Flags
encoding
public abstract org.jcodings.Encoding getEncoding();
descriptor: ()Lorg/jcodings/Encoding;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void setEncoding(org.jcodings.Encoding);
descriptor: (Lorg/jcodings/Encoding;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
encoding
public abstract org.jruby.util.ByteList gets();
descriptor: ()Lorg/jruby/util/ByteList;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract int getOffset();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.nio.channels.Channel getRemainingAsChannel();
descriptor: ()Ljava/nio/channels/Channel;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract org.jruby.runtime.builtin.IRubyObject getRemainingAsIO();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
}
SourceFile: "LexerSource.java"